Advertisement
Guest User

FFz test

a guest
Nov 14th, 2016
40
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 249.65 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.         if not ( IsResting() ) and ( ZoneName == Z["Eversong Woods"] ) and ( ( MinimapZoneName == 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
  13.             if FinalFantasylization_InStarterAreaSunstriderIsle == false then
  14.                 if ( factionEnglish == F["Horde"] ) then
  15.                     FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  16.                     FinalFantasylization_StarterAreaSunstriderIsle()
  17.                 else
  18.                     FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
  19.                     FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
  20.                 end
  21.                 FinalFantasylization_IsPlaying = true
  22.                 FinalFantasylization_InStarterAreaSunstriderIsle = true
  23.             end
  24.             FinalFantasylization_InStarterAreaSunstriderIsle = false
  25.         end
  26. --'==========================================================================================      
  27. --' Starting Areas: Deathknell, Tirisfal Glades ( Undead Starting Area )
  28. --'==========================================================================================
  29.         if not ( IsResting() ) 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
  30.             if FinalFantasylization_InStarterAreaDeathknell == false then
  31.                 if ( factionEnglish == F["Horde"] ) then
  32.                     FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  33.                     FinalFantasylization_StarterAreaDeathknell()
  34.                 else
  35.                     FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
  36.                     FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
  37.                 end
  38.                 FinalFantasylization_IsPlaying = true
  39.                 FinalFantasylization_InStarterAreaDeathknell = true
  40.             end
  41.             FinalFantasylization_InStarterAreaDeathknell = false
  42.         end
  43. --'==========================================================================================      
  44. --' Starting Areas: Valley of Trials, Durotar ( Orc and Troll Starting Area )
  45. --'==========================================================================================
  46.         if not ( IsResting() ) 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
  47.             if FinalFantasylization_InStarterAreaValleyOfTrials == false then
  48.                 if ( factionEnglish == F["Horde"] ) then
  49.                     FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  50.                     FinalFantasylization_StarterAreaValleyOfTrials()
  51.                 else
  52.                     FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
  53.                     FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
  54.                 end
  55.                 FinalFantasylization_IsPlaying = true
  56.                 FinalFantasylization_InStarterAreaValleyOfTrials = true
  57.             end
  58.             FinalFantasylization_InStarterAreaValleyOfTrials = false
  59.         end
  60. --'==========================================================================================      
  61. --' Starting Areas: Camp Narache, Mulgore ( Tauren Starting Area )
  62. --'==========================================================================================
  63.         if not ( IsResting() ) and ( ZoneName == Z["Mulgore"] ) and ( ( SubZoneName == SZ["Camp Narache"] ) or ( SubZoneName == SZ["Red Cloud Mesa"] ) ) and FinalFantasylization_IsPlaying == false then
  64.             if FinalFantasylization_InStarterAreaCampNarache == false then
  65.                 if ( factionEnglish == F["Horde"] ) then
  66.                     FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  67.                     FinalFantasylization_StarterAreaCampNarache()
  68.                 else
  69.                     FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
  70.                     FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
  71.                 end
  72.                 FinalFantasylization_IsPlaying = true
  73.                 FinalFantasylization_InStarterAreaCampNarache = true
  74.             end
  75.             FinalFantasylization_InStarterAreaCampNarache = false
  76.         end
  77. --'==========================================================================================      
  78. --' Starting Areas: Coldridge Valley, Dun Morogh ( Dwarf and Gnome Starting Area )
  79. --'==========================================================================================
  80.         if not ( IsResting() ) and ( ZoneName == Z["Dun Morogh"] ) and ( ( SubZoneName == SZ["Coldridge Valley"] ) or ( MinimapZoneName == SZ["Anvilmar"] ) ) and FinalFantasylization_IsPlaying == false then
  81.             if FinalFantasylization_InStarterAreaColdridgeValley == false then
  82.                 if ( factionEnglish == F["Horde"] ) then
  83.                     FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  84.                     FinalFantasylization_StarterAreaColdridgeValley()
  85.                 else
  86.                     FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
  87.                     FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
  88.                 end
  89.                 FinalFantasylization_IsPlaying = true
  90.                 FinalFantasylization_InStarterAreaColdridgeValley = true
  91.             end
  92.             FinalFantasylization_InStarterAreaColdridgeValley = false
  93.         end
  94. --'==========================================================================================      
  95. --' Starting Areas: Northshire Valley, Elwynn Forest ( Human Starting Area )
  96. --'==========================================================================================
  97.         if not ( IsResting() ) 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
  98.             if FinalFantasylization_InStarterAreaNorthshireValley == false then
  99.                 if ( factionEnglish == F["Alliance"] ) then
  100.                     FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  101.                     FinalFantasylization_StarterAreaNorthshireValley()
  102.                 else
  103.                     FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
  104.                     FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
  105.                 end
  106.                 FinalFantasylization_IsPlaying = true
  107.                 FinalFantasylization_InStarterAreaNorthshireValley = true
  108.             end
  109.             FinalFantasylization_InStarterAreaNorthshireValley = false
  110.         end
  111. --'==========================================================================================      
  112. --' Starting Areas: Ammen Vale, Azuremyst Isle ( Draenei Starting Area )
  113. --'==========================================================================================
  114.         if not ( IsResting() ) 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
  115.             if FinalFantasylization_InStarterAreaAmmenVale == false then
  116.                 if ( factionEnglish == F["Alliance"] ) then
  117.                     FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  118.                     FinalFantasylization_StarterAreaAmmenVale()
  119.                 else
  120.                     FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
  121.                     FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
  122.                 end
  123.                 FinalFantasylization_IsPlaying = true
  124.                 FinalFantasylization_InStarterAreaAmmenVale = true
  125.             end
  126.             FinalFantasylization_InStarterAreaAmmenVale = false
  127.         end
  128. --'==========================================================================================      
  129. --' Starting Areas: Shadowglen, Teldrassil ( Night Elf Starting Area )
  130. --'==========================================================================================
  131.         if not ( IsResting() ) and ( ZoneName == Z["Teldrassil"] ) and ( ( SubZoneName == SZ["Shadowglen"] ) or ( SubZoneName == SZ["Aldrassil"] ) ) and FinalFantasylization_IsPlaying == false then
  132.             if FinalFantasylization_InStarterAreaShadowglen == false then
  133.                 if ( factionEnglish == F["Alliance"] ) then
  134.                     FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  135.                     FinalFantasylization_StarterAreaShadowglen()
  136.                 else
  137.                     FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
  138.                     FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
  139.                 end
  140.                 FinalFantasylization_IsPlaying = true
  141.                 FinalFantasylization_InStarterAreaShadowglen = true
  142.             end
  143.             FinalFantasylization_InStarterAreaShadowglen = false
  144.         end
  145. --'==========================================================================================      
  146. --' Starting Areas: Acherus: The Ebon Hold : DEATH KNIGHTS STARTING AREA
  147. --'==========================================================================================
  148.         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
  149.             if FinalFantasylization_InMiscEbonHold == false then
  150.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  151.                 FinalFantasylization_EbonHoldSong()
  152.             end
  153.             FinalFantasylization_IsPlaying = true
  154.             FinalFantasylization_InMiscEbonHold = true
  155.         else
  156.             FinalFantasylization_InMiscEbonHold = false
  157.         end
  158. --'==========================================================================================      
  159. --' Starting Areas: Plaguelands: Scarlet Enclave ( Death Knight Starting Area )
  160. --'==========================================================================================
  161.         if ( ZoneName == Z["Plaguelands: The Scarlet Enclave"] ) and FinalFantasylization_IsPlaying == false then
  162.             if FinalFantasylization_InStarterAreaScarletEnclave == false then
  163.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  164.                 FinalFantasylization_StarterAreaScarletEnclave()
  165.             end
  166.             FinalFantasylization_IsPlaying = true
  167.             FinalFantasylization_InStarterAreaScarletEnclave = true
  168.         else
  169.             FinalFantasylization_InStarterAreaScarletEnclave = false
  170.         end
  171.    
  172. --###########################################################################################
  173. --###########################################################################################
  174. --##
  175. --##            HORDE CAPITAL CITIES
  176. --##
  177. --###########################################################################################
  178. --###########################################################################################
  179.  
  180. --'==========================================================================================      
  181. --' Horde Capital Cities: Orgrimmar
  182. --'==========================================================================================
  183.         if ( ZoneName == Z["Orgrimmar"] ) and FinalFantasylizationOptions.Capital == true and FinalFantasylization_IsPlaying == false then
  184.             if FinalFantasylization_InCityOrgrimmar == false then
  185.                 if ( factionEnglish == F["Horde"] ) then
  186.                     FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  187.                     FinalFantasylization_OrgrimmarSong()
  188.                 else
  189.                     FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
  190.                     FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
  191.                 end
  192.                 FinalFantasylization_IsPlaying = true
  193.                 FinalFantasylization_InCityOrgrimmar = true
  194.             end
  195.             FinalFantasylization_InCityOrgrimmar = false
  196.         end
  197. --'==========================================================================================      
  198. --' Horde Capital Cities: Silvermoon City
  199. --'==========================================================================================
  200.         if ( ( ZoneName == Z["Silvermoon City"] ) or ( SubZoneName == SZ["The Shepherd's Gate"] ) ) and FinalFantasylizationOptions.Capital == true and FinalFantasylization_IsPlaying == false then
  201.             if FinalFantasylization_InCitySilvermoonCity == false then
  202.                 if ( factionEnglish == F["Horde"] ) then
  203.                     FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  204.                     FinalFantasylization_SilvermoonCitySong()
  205.                 else
  206.                     FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
  207.                     FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
  208.                 end
  209.                 FinalFantasylization_IsPlaying = true
  210.                 FinalFantasylization_InCitySilvermoonCity = true
  211.             end
  212.             FinalFantasylization_InCitySilvermoonCity = false
  213.         end
  214. --'==========================================================================================      
  215. --' Horde Capital Cities: Thunder Bluff
  216. --'==========================================================================================
  217.         if ( ZoneName == Z["Thunder Bluff"] ) and FinalFantasylizationOptions.Capital == true and FinalFantasylization_IsPlaying == false then
  218.             if FinalFantasylization_InCityThunderBluff == false then
  219.                 if ( factionEnglish == F["Horde"] ) then
  220.                     FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  221.                     FinalFantasylization_ThunderBluffSong()
  222.                 else
  223.                     FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
  224.                     FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
  225.                 end
  226.                 FinalFantasylization_IsPlaying = true
  227.                 FinalFantasylization_InCityThunderBluff = true
  228.             end
  229.             FinalFantasylization_InCityThunderBluff = false
  230.         end
  231. --'==========================================================================================      
  232. --' Horde Capital Cities: Undercity
  233. --'==========================================================================================
  234.         if ( ( ZoneName == Z["Undercity"] ) or ( SubZoneName == SZ["Ruins of Lordaeron"] ) ) and FinalFantasylizationOptions.Capital == true and FinalFantasylization_IsPlaying == false then
  235.             if FinalFantasylization_InCityUndercity == false then
  236.                 if ( factionEnglish == F["Horde"] ) then
  237.                     FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  238.                     FinalFantasylization_UndercitySong()
  239.                 else
  240.                     FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
  241.                     FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
  242.                 end
  243.                 FinalFantasylization_IsPlaying = true
  244.                 FinalFantasylization_InCityUndercity = true
  245.             end
  246.             FinalFantasylization_InCityUndercity = false
  247.         end
  248.  
  249. --###########################################################################################
  250. --###########################################################################################
  251. --##
  252. --##            ALLIANCE CAPITAL CITIES
  253. --##
  254. --###########################################################################################
  255. --###########################################################################################
  256.  
  257. --'==========================================================================================      
  258. --' Alliance Capital Cities: Darnassus
  259. --'==========================================================================================
  260.         if ( ZoneName == Z["Darnassus"] ) and FinalFantasylizationOptions.Capital == true and FinalFantasylization_IsPlaying == false then
  261.             if FinalFantasylization_InCityDarnassus == false then
  262.                 if ( factionEnglish == F["Alliance"] ) then
  263.                     FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  264.                     FinalFantasylization_DarnassusSong()
  265.                 else
  266.                     FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
  267.                     FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
  268.                 end
  269.                 FinalFantasylization_IsPlaying = true
  270.                 FinalFantasylization_InCityDarnassus = true
  271.             end
  272.             FinalFantasylization_InCityDarnassus = false
  273.         end
  274. --'==========================================================================================      
  275. --' Alliance Capital Cities: Ironforge
  276. --'==========================================================================================
  277.         if ( ( ZoneName == Z["Ironforge"] ) or ( SubZoneName == SZ["Gates of Ironforge"] ) ) and FinalFantasylizationOptions.Capital == true and FinalFantasylization_IsPlaying == false then
  278.             if FinalFantasylization_InCityIronforge == false then
  279.                 if ( factionEnglish == F["Alliance"] ) then
  280.                     FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  281.                     FinalFantasylization_IronforgeSong()
  282.                 else
  283.                     FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
  284.                     FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
  285.                 end
  286.                 FinalFantasylization_IsPlaying = true
  287.                 FinalFantasylization_InCityIronforge = true
  288.             end
  289.             FinalFantasylization_InCityIronforge = false
  290.         end
  291. --'==========================================================================================      
  292. --' Alliance Capital Cities: Stormwind City
  293. --'==========================================================================================
  294.         if ( ZoneName == Z["Stormwind City"] ) and FinalFantasylizationOptions.Capital == true and FinalFantasylization_IsPlaying == false then
  295.             if FinalFantasylization_InCityStormwind == false then
  296.                 if ( factionEnglish == F["Alliance"] ) then
  297.                     FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  298.                     FinalFantasylization_StormwindCitySong()
  299.                 else
  300.                     FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
  301.                     FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
  302.                 end
  303.                 FinalFantasylization_IsPlaying = true
  304.                 FinalFantasylization_InCityStormwind = true
  305.        
  306.             end
  307.             FinalFantasylization_InCityStormwind = false
  308.         end
  309. --'==========================================================================================      
  310. --' Alliance Capital Cities: The Exodar
  311. --'==========================================================================================
  312.         if ( ZoneName == Z["The Exodar"] ) and FinalFantasylizationOptions.Capital == true and FinalFantasylization_IsPlaying == false then
  313.             if FinalFantasylization_InCityExodar == false then
  314.                 if ( factionEnglish == F["Alliance"] ) then
  315.                     FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  316.                     FinalFantasylization_ExodarSong()
  317.                 else
  318.                     FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
  319.                     FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
  320.                 end
  321.                 FinalFantasylization_IsPlaying = true
  322.                 FinalFantasylization_InCityExodar = true
  323.             end
  324.             FinalFantasylization_InCityExodar = false
  325.         end
  326. --###########################################################################################
  327. --###########################################################################################
  328. --##
  329. --##            NEUTRAL CAPITAL CITIES
  330. --##
  331. --###########################################################################################
  332. --###########################################################################################
  333.  
  334. --'==========================================================================================      
  335. --' Neutral Capital Cities: Area 52, Netherstorm
  336. --'==========================================================================================
  337.         if not ( IsResting() ) and ( ZoneName == Z["Netherstorm"] ) and ( SubZoneName ==Z["Area 52"] ) and FinalFantasylizationOptions.Capital == true and FinalFantasylization_IsPlaying == false then
  338.             if FinalFantasylization_InCityArea52 == false then
  339.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName)
  340.                 FinalFantasylization_CityArea52()
  341.             end
  342.             FinalFantasylization_IsPlaying = true
  343.             FinalFantasylization_InCityArea52 = true
  344.         else
  345.             FinalFantasylization_InCityArea52 = false
  346.         end
  347. --'==========================================================================================      
  348. --' Neutral Capital Cities: Booty Bay, Stranglethorn Vale
  349. --'==========================================================================================
  350.         if not ( IsResting() ) and ( ZoneName == Z["Stranglethorn Vale"] ) and ( SubZoneName == SZ["Booty Bay"] ) and FinalFantasylizationOptions.Capital == true and FinalFantasylization_IsPlaying == false then
  351.             if FinalFantasylization_InCityBootyBay == false then
  352.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName)
  353.                 FinalFantasylization_CityBootyBay()
  354.             end
  355.             FinalFantasylization_IsPlaying = true
  356.             FinalFantasylization_InCityBootyBay = true
  357.         else
  358.             FinalFantasylization_InCityBootyBay = false
  359.         end
  360. --'==========================================================================================      
  361. --' Neutral Capital Cities: Dalaran
  362. --'==========================================================================================
  363.         if ( ZoneName == Z["Dalaran"] ) and FinalFantasylizationOptions.Capital == true and FinalFantasylization_IsPlaying == false then
  364.             if FinalFantasylization_InCityDalaran == false then
  365.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  366.                 FinalFantasylization_DalaranSong()
  367.             end
  368.             FinalFantasylization_IsPlaying = true
  369.             FinalFantasylization_InCityDalaran = true
  370.         else
  371.             FinalFantasylization_InCityDalaran = false
  372.         end
  373. --'==========================================================================================      
  374. --' Neutral Capital Cities: Acherus: The Ebon Hold
  375. --'==========================================================================================
  376.         if ( ZoneName == Z["Eastern Plaguelands"] ) and ( SubZoneName == SZ["Acherus: The Ebon Hold"] ) and FinalFantasylizationOptions.Capital == true and FinalFantasylization_IsPlaying == false then
  377.             if FinalFantasylization_InCityEbonHold == false then
  378.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName)
  379.                 FinalFantasylization_EbonHoldSong()
  380.             end
  381.             FinalFantasylization_IsPlaying = true
  382.             FinalFantasylization_InCityEbonHold = true
  383.         else
  384.             FinalFantasylization_InCityEbonHold = false
  385.         end
  386. --'==========================================================================================      
  387. --' Neutral Capital Cities: Everlook, Winterspring
  388. --'==========================================================================================
  389.         if not ( IsResting() ) and ( ZoneName == Z["Winterspring"] ) and ( SubZoneName == SZ["Everlook"] ) and FinalFantasylizationOptions.Capital == true and FinalFantasylization_IsPlaying == false then
  390.             if FinalFantasylization_InCityEverlook == false then
  391.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName)
  392.                 FinalFantasylization_CityEverlook()
  393.             end
  394.             FinalFantasylization_IsPlaying = true
  395.             FinalFantasylization_InCityEverlook = true
  396.         else
  397.             FinalFantasylization_InCityEverlook = false
  398.         end
  399. --'==========================================================================================      
  400. --' Neutral Capital Cities: Gadgetzan, Tanaris
  401. --'==========================================================================================
  402.         if not ( IsResting() ) and ( ZoneName == Z["Tanaris"] ) and ( SubZoneName == SZ["Gadgetzan"] ) and FinalFantasylizationOptions.Capital == true and FinalFantasylization_IsPlaying == false then
  403.             if FinalFantasylization_InCityGadgetzan == false then
  404.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName)
  405.                 FinalFantasylization_CityGadgetzan()
  406.             end
  407.             FinalFantasylization_IsPlaying = true
  408.             FinalFantasylization_InCityGadgetzan = true
  409.         else
  410.             FinalFantasylization_InCityGadgetzan = false
  411.         end
  412. --'==========================================================================================      
  413. --' Neutral Capital Cities: Ratchet, The Barrens
  414. --'==========================================================================================
  415.         if not ( IsResting() ) and ( ZoneName == Z["The Barrens"] ) and ( SubZoneName == SZ["Ratchet"] ) and FinalFantasylizationOptions.Capital == true and FinalFantasylization_IsPlaying == false then
  416.             if FinalFantasylization_InCityRatchet == false then
  417.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName)
  418.                 FinalFantasylization_CityRatchet()
  419.             end
  420.             FinalFantasylization_IsPlaying = true
  421.             FinalFantasylization_InCityRatchet = true
  422.         else
  423.             FinalFantasylization_InCityRatchet = false
  424.         end
  425. --'==========================================================================================      
  426. --' Neutral Capital Cities: Shattrath City
  427. --'==========================================================================================
  428.         if ( ( ZoneName == Z["Shattrath City"] ) or ( SubZoneName == SZ["Lower City"] ) ) and FinalFantasylizationOptions.Capital == true and FinalFantasylization_IsPlaying == false then
  429.             if FinalFantasylization_InCityShattrathCity == false then
  430.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  431.                 FinalFantasylization_ShattrathCitySong()
  432.             end
  433.             FinalFantasylization_IsPlaying = true
  434.             FinalFantasylization_InCityShattrathCity = true
  435.         else
  436.             FinalFantasylization_InCityShattrathCity = false
  437.         end
  438.  
  439. --###########################################################################################
  440. --###########################################################################################
  441. --##
  442. --##            HORDE TOWNS
  443. --##
  444. --###########################################################################################
  445. --###########################################################################################
  446.  
  447. --'==========================================================================================      
  448. --' Horde Towns: Agmar's Hammer, Dragonblight
  449. --'==========================================================================================
  450.         if not ( IsResting() ) and ( ZoneName ==Z["Dragonblight"] ) and ( SubZoneName == SZ["Agmar's Hammer"] ) and FinalFantasylization_IsPlaying == false then
  451.             if FinalFantasylization_InHordeTownAgmarsHammer == false then
  452.                 if ( factionEnglish == F["Horde"] ) then
  453.                     FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  454.                     FinalFantasylization_HordeTownAgmarsHammer()
  455.                 else
  456.                     FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
  457.                     FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
  458.                 end
  459.                 FinalFantasylization_IsPlaying = true
  460.                 FinalFantasylization_InHordeTownAgmarsHammer = true
  461.             end
  462.             FinalFantasylization_InHordeTownAgmarsHammer = false
  463.         end
  464. --'==========================================================================================      
  465. --' Horde Towns: Apothecary Camp, Howling Fjord
  466. --'==========================================================================================
  467.         if not ( IsResting() ) and ( ZoneName == Z["Howling Fjord"] ) and ( SubZoneName == SZ["Apothecary Camp"] ) and FinalFantasylization_IsPlaying == false then
  468.             if FinalFantasylization_InHordeTownApothecaryCamp == false then
  469.                 if ( factionEnglish == F["Horde"] ) then
  470.                     FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  471.                     FinalFantasylization_HordeTownApothecaryCamp()
  472.                 else
  473.                     FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
  474.                     FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
  475.                 end
  476.                 FinalFantasylization_IsPlaying = true
  477.                 FinalFantasylization_InHordeTownApothecaryCamp = true
  478.             end
  479.             FinalFantasylization_InHordeTownApothecaryCamp = false
  480.         end
  481. --'==========================================================================================      
  482. --' Horde Towns: Bloodhoof Village, Mulgore : HORDE TERRITORY
  483. --'==========================================================================================
  484.         if not ( IsResting() ) and ( ZoneName == Z["Mulgore"] ) and ( SubZoneName == SZ["Bloodhoof Village"] ) and FinalFantasylization_IsPlaying == false then
  485.             if FinalFantasylization_InHordeTownBloodhoofVillage == false then
  486.                 if ( factionEnglish == F["Horde"] ) then
  487.                     FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  488.                     FinalFantasylization_HordeTownBloodhoofVillage()
  489.                 else
  490.                     FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
  491.                     FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
  492.                 end
  493.                 FinalFantasylization_IsPlaying = true
  494.                 FinalFantasylization_InHordeTownBloodhoofVillage = true
  495.             end
  496.             FinalFantasylization_InHordeTownBloodhoofVillage = false
  497.         end
  498. --'==========================================================================================      
  499. --' Horde Towns: Bloodvenom Post, Felwood
  500. --'==========================================================================================
  501.         if not ( IsResting() ) and ( ZoneName == Z["Felwood"] ) and ( SubZoneName == SZ["Bloodvenom Post"] ) and FinalFantasylization_IsPlaying == false then
  502.             if FinalFantasylization_InHordeTownBloodvenomPost == false then
  503.                 if ( factionEnglish == F["Horde"] ) then
  504.                     FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  505.                     FinalFantasylization_HordeTownBloodvenomPost()
  506.                 else
  507.                     FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
  508.                     FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
  509.                 end
  510.                 FinalFantasylization_IsPlaying = true
  511.                 FinalFantasylization_InHordeTownBloodvenomPost = true
  512.             end
  513.             FinalFantasylization_InHordeTownBloodvenomPost = false
  514.         end
  515. --'==========================================================================================      
  516. --' Horde Towns: Brackenwall Village, Dustwallow Marsh
  517. --'==========================================================================================
  518.         if not ( IsResting() ) and ( ZoneName == Z["Dustwallow Marsh"] ) and ( SubZoneName == SZ["Brackenwall Village"] ) and FinalFantasylization_IsPlaying == false then
  519.             if FinalFantasylization_InHordeTownBrackenwallVillage == false then
  520.                 if ( factionEnglish == F["Horde"] ) then
  521.                     FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  522.                     FinalFantasylization_HordeTownBrackenwallVillage()
  523.                 else
  524.                     FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
  525.                     FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
  526.                 end
  527.                 FinalFantasylization_IsPlaying = true
  528.                 FinalFantasylization_InHordeTownBrackenwallVillage = true
  529.             end
  530.             FinalFantasylization_InHordeTownBrackenwallVillage = false
  531.         end
  532. --'==========================================================================================      
  533. --' Horde Towns: Brill, Tirisfal Glades : HORDE TERRITORY
  534. --'==========================================================================================
  535.         if not ( IsResting() ) and ( ZoneName == Z["Tirisfal Glades"] ) and ( ( SubZoneName == SZ["Brill"] ) or ( SubZoneName == SZ["Brill Town Hall"] ) )and FinalFantasylization_IsPlaying == false then
  536.             if FinalFantasylization_InHordeTownBrill == false then
  537.                 if ( factionEnglish == F["Horde"] ) then
  538.                     FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  539.                     FinalFantasylization_HordeTownBrill()
  540.                 else
  541.                     FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
  542.                     FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
  543.                 end
  544.                 FinalFantasylization_IsPlaying = true
  545.                 FinalFantasylization_InHordeTownBrill = true
  546.             end
  547.             FinalFantasylization_InHordeTownBrill = false
  548.         end
  549. --'==========================================================================================      
  550. --' Horde Towns: Bor'gorok Outpost, Borean Tundra
  551. --'==========================================================================================
  552.         if not ( IsResting() ) and ( ZoneName == Z["Borean Tundra"] ) and ( ( SubZoneName == SZ["Bor'Gorok Outpost"] ) or ( SubZoneName == SZ["Bor'gorok Outpost"] ) ) and FinalFantasylization_IsPlaying == false then
  553.             if FinalFantasylization_InHordeTownBorgorokOutpost == false then
  554.                 if ( factionEnglish == F["Horde"] ) then
  555.                     FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  556.                     FinalFantasylization_HordeTownBorgorokOutpost()
  557.                 else
  558.                     FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
  559.                     FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
  560.                 end
  561.                 FinalFantasylization_IsPlaying = true
  562.                 FinalFantasylization_InHordeTownBorgorokOutpost = true
  563.             end
  564.             FinalFantasylization_InHordeTownBorgorokOutpost = false
  565.         end
  566. --'==========================================================================================      
  567. --' Horde Towns: Camp Mojache, Feralas
  568. --'==========================================================================================
  569.         if not ( IsResting() ) and ( ZoneName == Z["Feralas"] ) and ( SubZoneName == SZ["Camp Mojache"] ) and FinalFantasylization_IsPlaying == false then
  570.             if FinalFantasylization_InHordeTownCampMojache == false then
  571.                 if ( factionEnglish == F["Horde"] ) then
  572.                     FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  573.                     FinalFantasylization_HordeTownCampMojache()
  574.                 else
  575.                     FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
  576.                     FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
  577.                 end
  578.                 FinalFantasylization_IsPlaying = true
  579.                 FinalFantasylization_InHordeTownCampMojache = true
  580.             end
  581.             FinalFantasylization_InHordeTownCampMojache = false
  582.         end
  583. --'==========================================================================================      
  584. --' Horde Towns: Camp Oneqwah, Grizzly Hills
  585. --'==========================================================================================
  586.         if not ( IsResting() ) and ( ZoneName == Z["Grizzly Hills"] ) and ( ( SubZoneName == SZ["Camp Oneqwah"] ) or ( SubZoneName == SZ["Camp One'Qwah"] ) ) and FinalFantasylization_IsPlaying == false then
  587.             if FinalFantasylization_InHordeTownCampOneqwah == false then
  588.                 if ( factionEnglish == F["Horde"] ) then
  589.                     FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  590.                     FinalFantasylization_HordeTownCampOneqwah()
  591.                 else
  592.                     FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
  593.                     FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
  594.                 end
  595.                 FinalFantasylization_IsPlaying = true
  596.                 FinalFantasylization_InHordeTownCampOneqwah = true
  597.             end
  598.             FinalFantasylization_InHordeTownCampOneqwah = false
  599.         end
  600. --'==========================================================================================      
  601. --' Horde Towns: Camp Taurajo, The Barrens : HORDE TERRITORY
  602. --'==========================================================================================
  603.         if not ( IsResting() ) and ( ZoneName == Z["The Barrens"] ) and ( SubZoneName == SZ["Camp Taurajo"] ) and FinalFantasylization_IsPlaying == false then
  604.             if FinalFantasylization_InHordeTownCampTaurajo == false then
  605.                 if ( factionEnglish == F["Horde"] ) then
  606.                     FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  607.                     FinalFantasylization_HordeTownCampTaurajo()
  608.                 else
  609.                     FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
  610.                     FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
  611.                 end
  612.                 FinalFantasylization_IsPlaying = true
  613.                 FinalFantasylization_InHordeTownCampTaurajo = true
  614.             end
  615.             FinalFantasylization_InHordeTownCampTaurajo = false
  616.         end
  617. --'==========================================================================================      
  618. --' Horde Towns: Camp Tunka'lo, The Storm Peaks
  619. --'==========================================================================================
  620.         if not ( IsResting() ) and ( ZoneName == Z["The Storm Peaks"] ) and ( SubZoneName == SZ["Camp Tunka'lo"] ) and FinalFantasylization_IsPlaying == false then
  621.             if FinalFantasylization_InHordeTownCampTunkalo == false then
  622.                 if ( factionEnglish == F["Horde"] ) then
  623.                     FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  624.                     FinalFantasylization_HordeTownCampTunkalo()
  625.                 else
  626.                     FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
  627.                     FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
  628.                 end
  629.                 FinalFantasylization_IsPlaying = true
  630.                 FinalFantasylization_InHordeTownCampTunkalo = true
  631.             end
  632.             FinalFantasylization_InHordeTownCampTunkalo = false
  633.         end
  634. --'==========================================================================================      
  635. --' Horde Towns: Camp Winterhoof, Howling Fjord
  636. --'==========================================================================================
  637.         if not ( IsResting() ) and ( ZoneName == Z["Howling Fjord"] ) and ( SubZoneName == SZ["Camp Winterhoof"] ) and FinalFantasylization_IsPlaying == false then
  638.             if FinalFantasylization_InHordeTownCampWinterhoof == false then
  639.                 if ( factionEnglish == F["Horde"] ) then
  640.                     FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  641.                     FinalFantasylization_HordeTownCampWinterhoof()
  642.                 else
  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_InHordeTownCampWinterhoof = true
  648.             end
  649.             FinalFantasylization_InHordeTownCampWinterhoof = false
  650.         end
  651. --'==========================================================================================      
  652. --' Horde Towns: Conquest Hold, Grizzly Hills
  653. --'==========================================================================================
  654.         if not ( IsResting() ) and ( ZoneName == Z["Grizzly Hills"] ) and ( SubZoneName == SZ["Conquest Hold"] ) and FinalFantasylization_IsPlaying == false then
  655.             if FinalFantasylization_InHordeTownConquestHold == false then
  656.                 if ( factionEnglish == F["Horde"] ) then
  657.                     FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  658.                     FinalFantasylization_HordeTownConquestHold()
  659.                 else
  660.                     FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
  661.                     FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
  662.                 end
  663.                 FinalFantasylization_IsPlaying = true
  664.                 FinalFantasylization_InHordeTownConquestHold = true
  665.             end
  666.             FinalFantasylization_InHordeTownConquestHold = false
  667.         end
  668. --'==========================================================================================      
  669. --' Horde Towns: Fairbreeze Village, Eversong Woods : HORDE TERRITORY
  670. --'==========================================================================================
  671.         if not ( IsResting() ) and ( ZoneName == Z["Eversong Woods"] ) and ( SubZoneName == SZ["Fairbreeze Village"] ) and FinalFantasylization_IsPlaying == false then
  672.             if FinalFantasylization_InHordeTownFairbreezeVillage == false then
  673.                 if ( factionEnglish == F["Horde"] ) then
  674.                     FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  675.                     FinalFantasylization_HordeTownFairbreezeVillage()
  676.                 else
  677.                     FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
  678.                     FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
  679.                 end
  680.                 FinalFantasylization_IsPlaying = true
  681.                 FinalFantasylization_InHordeTownFairbreezeVillage = true
  682.             end
  683.             FinalFantasylization_InHordeTownFairbreezeVillage = false
  684.         end
  685. --'==========================================================================================      
  686. --' Horde Towns: Falcon Watch, Hellfire Peninsula
  687. --'==========================================================================================
  688.         if not ( IsResting() ) and ( ZoneName == Z["Hellfire Peninsula"] ) and ( SubZoneName == SZ["Falcon Watch"] ) and FinalFantasylization_IsPlaying == false then
  689.             if FinalFantasylization_InHordeTownFalconWatch == false then
  690.                 if ( factionEnglish == F["Horde"] ) then
  691.                     FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  692.                     FinalFantasylization_HordeTownFalconWatch()
  693.                 else
  694.                     FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
  695.                     FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
  696.                 end
  697.                 FinalFantasylization_IsPlaying = true
  698.                 FinalFantasylization_InHordeTownFalconWatch = true
  699.             end
  700.             FinalFantasylization_InHordeTownFalconWatch = false
  701.         end
  702. --'==========================================================================================      
  703. --' Horde Towns: Falconwing Square, Eversong Woods : HORDE TERRITORY
  704. --'==========================================================================================
  705.         if not ( IsResting() ) and ( ZoneName == Z["Eversong Woods"] ) and ( SubZoneName == SZ["Falconwing Square"] ) and FinalFantasylization_IsPlaying == false then
  706.             if FinalFantasylization_InHordeTownFalconwingSquare == false then
  707.                 if ( factionEnglish == F["Horde"] ) then
  708.                     FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  709.                     FinalFantasylization_HordeTownFalconwingSquare()
  710.                 else
  711.                     FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
  712.                     FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
  713.                 end
  714.                 FinalFantasylization_IsPlaying = true
  715.                 FinalFantasylization_InHordeTownFalconwingSquare = true
  716.             end
  717.             FinalFantasylization_InHordeTownFalconwingSquare = false
  718.         end
  719. --'==========================================================================================      
  720. --' Horde Towns: Flame Crest, Burning Steppes
  721. --'==========================================================================================
  722.         if not ( IsResting() ) and ( ZoneName == Z["Burning Steppes"] ) and ( SubZoneName == SZ["Flame Crest"] ) and FinalFantasylization_IsPlaying == false then
  723.             if FinalFantasylization_InHordeTownFlameCrest == false then
  724.                 if ( factionEnglish == F["Horde"] ) then
  725.                     FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  726.                     FinalFantasylization_HordeTownFlameCrest()
  727.                 else
  728.                     FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
  729.                     FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
  730.                 end
  731.                 FinalFantasylization_IsPlaying = true
  732.                 FinalFantasylization_InHordeTownFlameCrest = true
  733.             end
  734.             FinalFantasylization_InHordeTownFlameCrest = false
  735.         end
  736. --'==========================================================================================      
  737. --' Horde Towns: Freewind Post, Thousand Needles
  738. --'==========================================================================================
  739.         if not ( IsResting() ) and ( ZoneName == Z["Thousand Needles"] ) and ( SubZoneName == SZ["Freewind Post"] ) and FinalFantasylization_IsPlaying == false then
  740.             if FinalFantasylization_InHordeTownFreewindPost == false then
  741.                 if ( factionEnglish == F["Horde"] ) then
  742.                     FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  743.                     FinalFantasylization_HordeTownFreewindPost()
  744.                 else
  745.                     FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
  746.                     FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
  747.                 end
  748.                 FinalFantasylization_IsPlaying = true
  749.                 FinalFantasylization_InHordeTownFreewindPost = true
  750.             end
  751.             FinalFantasylization_InHordeTownFreewindPost = false
  752.         end
  753. --'==========================================================================================      
  754. --' Horde Towns: Garadar, Nagrand
  755. --'==========================================================================================
  756.         if not ( IsResting() ) and ( ZoneName == Z["Nagrand"] ) and ( SubZoneName == SZ["Garadar"] ) and FinalFantasylization_IsPlaying == false then
  757.             if FinalFantasylization_InHordeTownGaradar == false then
  758.                 if ( factionEnglish == F["Horde"] ) then
  759.                     FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  760.                     FinalFantasylization_HordeTownGaradar()
  761.                 else
  762.                     FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
  763.                     FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
  764.                 end
  765.                 FinalFantasylization_IsPlaying = true
  766.                 FinalFantasylization_InHordeTownGaradar = true
  767.             end
  768.             FinalFantasylization_InHordeTownGaradar = false
  769.         end
  770. --'==========================================================================================      
  771. --' Horde Towns: Ghost Walker Post, Desolace
  772. --'==========================================================================================
  773.         if not ( IsResting() ) and ( ZoneName == Z["Desolace"] ) and ( SubZoneName == SZ["Ghost Walker Post"] ) and FinalFantasylization_IsPlaying == false then
  774.             if FinalFantasylization_InHordeTownGhostWalkerPost == false then
  775.                 if ( factionEnglish == F["Horde"] ) then
  776.                     FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  777.                     FinalFantasylization_HordeTownGhostWalkerPost()
  778.                 else
  779.                     FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
  780.                     FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
  781.                 end
  782.                 FinalFantasylization_IsPlaying = true
  783.                 FinalFantasylization_InHordeTownGhostWalkerPost = true
  784.             end
  785.             FinalFantasylization_InHordeTownGhostWalkerPost = false
  786.         end
  787. --'==========================================================================================      
  788. --' Horde Towns: Grom'arsh Crash-Site, The Storm Peaks
  789. --'==========================================================================================
  790.         if not ( IsResting() ) and ( ZoneName == Z["The Storm Peaks"] ) and ( SubZoneName == SZ["Grom'arsh Crash-Site"] ) and FinalFantasylization_IsPlaying == false then
  791.             if FinalFantasylization_InHordeTownGromarshCrashSite == false then
  792.                 if ( factionEnglish == F["Horde"] ) then
  793.                     FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  794.                     FinalFantasylization_HordeTownGromarshCrashSite()
  795.                 else
  796.                     FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
  797.                     FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
  798.                 end
  799.                 FinalFantasylization_IsPlaying = true
  800.                 FinalFantasylization_InHordeTownGromarshCrashSite = true
  801.             end
  802.             FinalFantasylization_InHordeTownGromarshCrashSite = false
  803.         end
  804. --'==========================================================================================      
  805. --' Horde Towns: Grom'gol Base Camp, Stranglethorn Vale
  806. --'==========================================================================================
  807.         if not ( IsResting() ) and ( ZoneName == Z["Stranglethorn Vale"] ) and ( ( SubZoneName == SZ["Grom'gol Base Camp"] ) or ( SubZoneName == SZ["Grom'Gol Base Camp"] ) ) and FinalFantasylization_IsPlaying == false then
  808.             if FinalFantasylization_InHordeTownGromgolBaseCamp == false then
  809.                 if ( factionEnglish == F["Horde"] ) then
  810.                     FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  811.                     FinalFantasylization_HordeTownGromgolBaseCamp()
  812.                 else
  813.                     FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
  814.                     FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
  815.                 end
  816.                 FinalFantasylization_IsPlaying = true
  817.                 FinalFantasylization_InHordeTownGromgolBaseCamp = true
  818.             end
  819.             FinalFantasylization_InHordeTownGromgolBaseCamp = false
  820.         end
  821. --'==========================================================================================      
  822. --' Horde Towns: Hammerfall, Arathi Highlands
  823. --'==========================================================================================
  824.         if not ( IsResting() ) and ( ZoneName == Z["Arathi Highlands"] ) and ( SubZoneName == SZ["Hammerfall"] ) and FinalFantasylization_IsPlaying == false then
  825.             if FinalFantasylization_InHordeTownHammerfall == false then
  826.                 if ( factionEnglish == F["Horde"] ) then
  827.                     FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  828.                     FinalFantasylization_HordeTownHammerfall()
  829.                 else
  830.                     FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
  831.                     FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
  832.                 end
  833.                 FinalFantasylization_IsPlaying = true
  834.                 FinalFantasylization_InHordeTownHammerfall = true
  835.             end
  836.             FinalFantasylization_InHordeTownHammerfall = false
  837.         end
  838. --'==========================================================================================      
  839. --' Horde Towns: Kargath, Badlands
  840. --'==========================================================================================
  841.         if not ( IsResting() ) and ( ZoneName == Z["Badlands"] ) and ( SubZoneName == SZ["Kargath"] ) and FinalFantasylization_IsPlaying == false then
  842.             if FinalFantasylization_InHordeTownKargath == false then
  843.                 if ( factionEnglish == F["Horde"] ) then
  844.                     FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  845.                     FinalFantasylization_HordeTownKargath()
  846.                 else
  847.                     FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
  848.                     FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
  849.                 end
  850.                 FinalFantasylization_IsPlaying = true
  851.                 FinalFantasylization_InHordeTownKargath = true
  852.             end
  853.             FinalFantasylization_InHordeTownKargath = false
  854.         end
  855. --'==========================================================================================      
  856. --' Horde Towns: Kor'kron Vanguard, Dragonblight
  857. --'==========================================================================================
  858.         if not ( IsResting() ) and ( ZoneName ==Z["Dragonblight"] ) and ( ( SubZoneName == SZ["Kor'kron Vanguard"] ) or ( SubZoneName == SZ["Kor'Kron Vanguard"] ) ) and FinalFantasylization_IsPlaying == false then
  859.             if FinalFantasylization_InHordeTownKorkronVanguard == false then
  860.                 if ( factionEnglish == F["Horde"] ) then
  861.                     FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  862.                     FinalFantasylization_HordeTownKorkronVanguard()
  863.                 else
  864.                     FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
  865.                     FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
  866.                 end
  867.                 FinalFantasylization_IsPlaying = true
  868.                 FinalFantasylization_InHordeTownKorkronVanguard = true
  869.             end
  870.             FinalFantasylization_InHordeTownKorkronVanguard = false
  871.         end
  872. --'==========================================================================================      
  873. --' Horde Towns: Mok'Nathal Village, Blade's Edge Mountains
  874. --'==========================================================================================
  875.         if not ( IsResting() ) and ( ZoneName == Z["Blade's Edge Mountains"] ) and ( SubZoneName == SZ["Mok'Nathal Village"] ) and FinalFantasylization_IsPlaying == false then
  876.             if FinalFantasylization_InHordeTownMokNathalVillage == false then
  877.                 if ( factionEnglish == F["Horde"] ) then
  878.                     FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  879.                     FinalFantasylization_HordeTownMokNathalVillage()
  880.                 else
  881.                     FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
  882.                     FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
  883.                 end
  884.                 FinalFantasylization_IsPlaying = true
  885.                 FinalFantasylization_InHordeTownMokNathalVillage = true
  886.             end
  887.             FinalFantasylization_InHordeTownMokNathalVillage = false
  888.         end
  889. --'==========================================================================================      
  890. --' Horde Towns: New Agamand, Howling Fjord
  891. --'==========================================================================================
  892.         if not ( IsResting() ) and ( ZoneName == Z["Howling Fjord"] ) and ( SubZoneName == SZ["New Agamand"] ) and FinalFantasylization_IsPlaying == false then
  893.             if FinalFantasylization_InHordeTownNewAgamand == false then
  894.                 if ( factionEnglish == F["Horde"] ) then
  895.                     FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  896.                     FinalFantasylization_HordeTownNewAgamand()
  897.                 else
  898.                     FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
  899.                     FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
  900.                 end
  901.                 FinalFantasylization_IsPlaying = true
  902.                 FinalFantasylization_InHordeTownNewAgamand = true
  903.             end
  904.             FinalFantasylization_InHordeTownNewAgamand = false
  905.         end
  906. --'==========================================================================================      
  907. --' Horde Towns: Razor Hill, Durotar : HORDE TERRITORY
  908. --'==========================================================================================
  909.         if not ( IsResting() ) and ( ZoneName == Z["Durotar"] ) and ( SubZoneName == SZ["Razor Hill"] ) and FinalFantasylization_IsPlaying == false then
  910.             if FinalFantasylization_InHordeTownRazorHill == false then
  911.                 if ( factionEnglish == F["Horde"] ) then
  912.                     FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  913.                     FinalFantasylization_HordeTownRazorHill()
  914.                 else
  915.                     FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
  916.                     FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
  917.                 end
  918.                 FinalFantasylization_IsPlaying = true
  919.                 FinalFantasylization_InHordeTownRazorHill = true
  920.             end
  921.             FinalFantasylization_InHordeTownRazorHill = false
  922.         end
  923. --'==========================================================================================      
  924. --' Horde Towns: Revantusk Village, The Hinterlands
  925. --'==========================================================================================
  926.         if not ( IsResting() ) and ( ZoneName == Z["The Hinterlands"] ) and ( SubZoneName == SZ["Revantusk Village"] ) and FinalFantasylization_IsPlaying == false then
  927.             if FinalFantasylization_InHordeTownRevantuskVillage == false then
  928.                 if ( factionEnglish == F["Horde"] ) then
  929.                     FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  930.                     FinalFantasylization_HordeTownRevantuskVillage()
  931.                 else
  932.                     FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
  933.                     FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
  934.                 end
  935.                 FinalFantasylization_IsPlaying = true
  936.                 FinalFantasylization_InHordeTownRevantuskVillage = true
  937.             end
  938.             FinalFantasylization_InHordeTownRevantuskVillage = false
  939.         end
  940. --'==========================================================================================      
  941. --' Horde Towns: Sen'jin Village, Durotar : HORDE TERRITORY
  942. --'==========================================================================================
  943.         if not ( IsResting() ) and ( ZoneName == Z["Durotar"] ) and ( SubZoneName == SZ["Sen'jin Village"] ) and FinalFantasylization_IsPlaying == false then
  944.             if FinalFantasylization_InHordeTownSenjinVillage == false then
  945.                 if ( factionEnglish == F["Horde"] ) then
  946.                     FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  947.                     FinalFantasylization_HordeTownSenjinVillage()
  948.                 else
  949.                     FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
  950.                     FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
  951.                 end
  952.                 FinalFantasylization_IsPlaying = true
  953.                 FinalFantasylization_InHordeTownSenjinVillage = true
  954.             end
  955.             FinalFantasylization_InHordeTownSenjinVillage = false
  956.         end
  957. --'==========================================================================================      
  958. --' Horde Towns: Sepulcher, Silverpine Forest : HORDE TERRITORY
  959. --'==========================================================================================
  960.         if not ( IsResting() ) and ( ZoneName == Z["Silverpine Forest"] ) and ( SubZoneName == SZ["The Sepulcher"] ) and FinalFantasylization_IsPlaying == false then
  961.             if FinalFantasylization_InHordeTownSepulcher == false then
  962.                 if ( factionEnglish == F["Horde"] ) then
  963.                     FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  964.                     FinalFantasylization_HordeTownSepulcher()
  965.                 else
  966.                     FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
  967.                     FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
  968.                 end
  969.                 FinalFantasylization_IsPlaying = true
  970.                 FinalFantasylization_InHordeTownSepulcher = true
  971.             end
  972.             FinalFantasylization_InHordeTownSepulcher = false
  973.         end
  974. --'==========================================================================================      
  975. --' Horde Towns: Shadowmoon Village, Shadowmoon Valley
  976. --'==========================================================================================
  977.         if not ( IsResting() ) and ( factionEnglish == F["Horde"] ) and ( ZoneName == Z["Shadowmoon Valley"] ) and ( SubZoneName == SZ["Shadowmoon Village"] ) and FinalFantasylization_IsPlaying == false then
  978.             if FinalFantasylization_InHordeTownShadowmoonVillage == false then
  979.                 if ( factionEnglish == F["Horde"] ) then
  980.                     FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  981.                     FinalFantasylization_HordeTownShadowmoonVillage()
  982.                 else
  983.                     FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
  984.                     FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
  985.                 end
  986.                 FinalFantasylization_IsPlaying = true
  987.                 FinalFantasylization_InHordeTownShadowmoonVillage = true
  988.             end
  989.             FinalFantasylization_InHordeTownShadowmoonVillage = false
  990.         end
  991. --'==========================================================================================      
  992. --' Horde Towns: Shadowprey Village, Desolace
  993. --'==========================================================================================
  994.         if not ( IsResting() ) and ( ZoneName == Z["Desolace"] ) and ( SubZoneName == SZ["Shadowprey Village"] ) and FinalFantasylization_IsPlaying == false then
  995.             if FinalFantasylization_InHordeTownShadowpreyVillage == false then
  996.                 if ( factionEnglish == F["Horde"] ) then
  997.                     FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  998.                     FinalFantasylization_HordeTownShadowpreyVillage()
  999.                 else
  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_InHordeTownShadowpreyVillage = true
  1005.             end
  1006.             FinalFantasylization_InHordeTownShadowpreyVillage = false
  1007.         end
  1008. --'==========================================================================================      
  1009. --' Horde Towns: Splintertree Post, Ashenvale
  1010. --'==========================================================================================
  1011.         if not ( IsResting() ) and ( ZoneName == Z["Ashenvale"] ) and ( SubZoneName == SZ["Splintertree Post"] ) and FinalFantasylization_IsPlaying == false then
  1012.             if FinalFantasylization_InHordeTownSplintertreePost == false then
  1013.                 if ( factionEnglish == F["Horde"] ) then
  1014.                     FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  1015.                     FinalFantasylization_HordeTownSplintertreePost()
  1016.                 else
  1017.                     FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
  1018.                     FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
  1019.                 end
  1020.                 FinalFantasylization_IsPlaying = true
  1021.                 FinalFantasylization_InHordeTownSplintertreePost = true
  1022.             end
  1023.             FinalFantasylization_InHordeTownSplintertreePost = false
  1024.         end
  1025. --'==========================================================================================      
  1026. --' Horde Towns: Stonard, Swamp of Sorrows
  1027. --'==========================================================================================
  1028.         if not ( IsResting() ) and ( ZoneName == Z["Swamp of Sorrows"] ) and ( SubZoneName == SZ["Stonard"] ) and FinalFantasylization_IsPlaying == false then
  1029.             if FinalFantasylization_InHordeTownStonard == false then
  1030.                 if ( factionEnglish == F["Horde"] ) then
  1031.                     FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  1032.                     FinalFantasylization_HordeTownStonard()
  1033.                 else
  1034.                     FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
  1035.                     FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
  1036.                 end
  1037.                 FinalFantasylization_IsPlaying = true
  1038.                 FinalFantasylization_InHordeTownStonard = true
  1039.             end
  1040.             FinalFantasylization_InHordeTownStonard = false
  1041.         end
  1042. --'==========================================================================================      
  1043. --' Horde Towns: Stonebreaker Hold, Terokkar Forest
  1044. --'==========================================================================================
  1045.         if not ( IsResting() ) and ( ZoneName == Z["Terokkar Forest"] ) and ( SubZoneName == SZ["Stonebreaker Hold"] ) and FinalFantasylization_IsPlaying == false then
  1046.             if FinalFantasylization_InHordeTownStonebreakerHold == false then
  1047.                 if ( factionEnglish == F["Horde"] ) then
  1048.                     FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  1049.                     FinalFantasylization_HordeTownStonebreakerHold()
  1050.                 else
  1051.                     FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
  1052.                     FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
  1053.                 end
  1054.                 FinalFantasylization_IsPlaying = true
  1055.                 FinalFantasylization_InHordeTownStonebreakerHold = true
  1056.             end
  1057.             FinalFantasylization_InHordeTownStonebreakerHold = false
  1058.         end
  1059. --'==========================================================================================      
  1060. --' Horde Towns: Sunreaver's Command, Crystalsong Forest
  1061. --'==========================================================================================
  1062.         if not ( IsResting() ) and ( ZoneName == Z["Crystalsong Forest"] ) and ( SubZoneName == SZ["Sunreaver's Command"] ) and FinalFantasylization_IsPlaying == false then
  1063.             if FinalFantasylization_InHordeTownSunreaversCommand == false then
  1064.                 if ( factionEnglish == F["Horde"] ) then
  1065.                     FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  1066.                     FinalFantasylization_HordeTownSunreaversCommand()
  1067.                 else
  1068.                     FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
  1069.                     FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
  1070.                 end
  1071.                 FinalFantasylization_IsPlaying = true
  1072.                 FinalFantasylization_InHordeTownSunreaversCommand = true
  1073.             end
  1074.             FinalFantasylization_InHordeTownSunreaversCommand = false
  1075.         end
  1076. --'==========================================================================================      
  1077. --' Horde Towns: Sun Rock Retreat, Stonetalon Mountains
  1078. --'==========================================================================================
  1079.         if not ( IsResting() ) and ( ZoneName == Z["Stonetalon Mountains"] ) and ( SubZoneName == SZ["Sun Rock Retreat"] ) and FinalFantasylization_IsPlaying == false then
  1080.             if FinalFantasylization_InHordeTownSunRockRetreat == false then
  1081.                 if ( factionEnglish == F["Horde"] ) then
  1082.                     FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  1083.                     FinalFantasylization_HordeTownSunRockRetreat()
  1084.                 else
  1085.                     FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
  1086.                     FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
  1087.                 end
  1088.                 FinalFantasylization_IsPlaying = true
  1089.                 FinalFantasylization_InHordeTownSunRockRetreat = true
  1090.             end
  1091.             FinalFantasylization_InHordeTownSunRockRetreat = false
  1092.         end
  1093. --'==========================================================================================      
  1094. --' Horde Towns: Swamprat Post, Zangarmarsh
  1095. --'==========================================================================================
  1096.         if not ( IsResting() ) and ( ZoneName == Z["Zangarmarsh"] ) and ( SubZoneName == SZ["Swamprat Post"] ) and FinalFantasylization_IsPlaying == false then
  1097.             if FinalFantasylization_InHordeTownSwampratPost == false then
  1098.                 if ( factionEnglish == F["Horde"] ) then
  1099.                     FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  1100.                     FinalFantasylization_HordeTownSwampratPost()
  1101.                 else
  1102.                     FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
  1103.                     FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
  1104.                 end
  1105.                 FinalFantasylization_IsPlaying = true
  1106.                 FinalFantasylization_InHordeTownSwampratPost = true
  1107.             end
  1108.             FinalFantasylization_InHordeTownSwampratPost = false
  1109.         end
  1110. --'==========================================================================================      
  1111. --' Horde Towns: Tarren Mill, Hillsbrad Foothills
  1112. --'==========================================================================================
  1113.         if not ( IsResting() ) and ( ZoneName == Z["Hillsbrad Foothills"] ) and ( SubZoneName == SZ["Tarren Mill"] ) and FinalFantasylization_IsPlaying == false then
  1114.             if FinalFantasylization_InHordeTownTarrenMill == false then
  1115.                 if ( factionEnglish == F["Horde"] ) then
  1116.                     FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  1117.                     FinalFantasylization_HordeTownTarrenMill()
  1118.                 else
  1119.                     FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
  1120.                     FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
  1121.                 end
  1122.                 FinalFantasylization_IsPlaying = true
  1123.                 FinalFantasylization_InHordeTownTarrenMill = true
  1124.             end
  1125.             FinalFantasylization_InHordeTownTarrenMill = false
  1126.         end
  1127. --'==========================================================================================      
  1128. --' Horde Towns: Taunka'le Village, Borean Tundra
  1129. --'==========================================================================================
  1130.         if not ( IsResting() ) and ( ZoneName == Z["Borean Tundra"] ) and ( SubZoneName == SZ["Taunka'le Village"] ) and FinalFantasylization_IsPlaying == false then
  1131.             if FinalFantasylization_InHordeTownTaunkaleVillage == false then
  1132.                 if ( factionEnglish == F["Horde"] ) then
  1133.                     FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  1134.                     FinalFantasylization_HordeTownTaunkaleVillage()
  1135.                 else
  1136.                     FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
  1137.                     FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
  1138.                 end
  1139.                 FinalFantasylization_IsPlaying = true
  1140.                 FinalFantasylization_InHordeTownTaunkaleVillage = true
  1141.             end
  1142.             FinalFantasylization_InHordeTownTaunkaleVillage = false
  1143.         end
  1144. --'==========================================================================================      
  1145. --' Horde Towns: The Crossroads, The Barrens : HORDE TERRITORY
  1146. --'==========================================================================================
  1147.         if not ( IsResting() ) and ( ZoneName == Z["The Barrens"] ) and ( SubZoneName == SZ["The Crossroads"] ) and FinalFantasylization_IsPlaying == false then
  1148.             if FinalFantasylization_InHordeTownCrossroads == false then
  1149.                 if ( factionEnglish == F["Horde"] ) then
  1150.                     FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  1151.                     FinalFantasylization_HordeTownCrossroads()
  1152.                 else
  1153.                     FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
  1154.                     FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
  1155.                 end
  1156.                 FinalFantasylization_IsPlaying = true
  1157.                 FinalFantasylization_InHordeTownCrossroads = true
  1158.             end
  1159.             FinalFantasylization_InHordeTownCrossroads = false
  1160.         end
  1161. --'==========================================================================================      
  1162. --' Horde Towns: Thrallmar, Hellfire Peninsula
  1163. --'==========================================================================================
  1164.         if not ( IsResting() ) and ( ZoneName == Z["Hellfire Peninsula"] ) and ( SubZoneName == SZ["Thrallmar"] ) and FinalFantasylization_IsPlaying == false then
  1165.             if FinalFantasylization_InHordeTownThrallmar == false then
  1166.                 if ( factionEnglish == F["Horde"] ) then
  1167.                     FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  1168.                     FinalFantasylization_HordeTownThrallmar()
  1169.                 else
  1170.                     FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
  1171.                     FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
  1172.                 end
  1173.                 FinalFantasylization_IsPlaying = true
  1174.                 FinalFantasylization_InHordeTownThrallmar = true
  1175.             end
  1176.             FinalFantasylization_InHordeTownThrallmar = false
  1177.         end
  1178. --'==========================================================================================      
  1179. --' Horde Towns: Thunderlord Stronghold, Blade's Edge Mountains
  1180. --'==========================================================================================
  1181.         if not ( IsResting() ) and ( ZoneName == Z["Blade's Edge Mountains"] ) and ( SubZoneName == SZ["Thunderlord Stronghold"] ) and FinalFantasylization_IsPlaying == false then
  1182.             if FinalFantasylization_InHordeTownThunderlordStronghold == false then
  1183.                 if ( factionEnglish == F["Horde"] ) then
  1184.                     FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  1185.                     FinalFantasylization_HordeTownThunderlordStronghold()
  1186.                 else
  1187.                     FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
  1188.                     FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
  1189.                 end
  1190.                 FinalFantasylization_IsPlaying = true
  1191.                 FinalFantasylization_InHordeTownThunderlordStronghold = true
  1192.             end
  1193.             FinalFantasylization_InHordeTownThunderlordStronghold = false
  1194.         end
  1195. --'==========================================================================================      
  1196. --' Horde Towns: Tranquillien, Ghostlands : HORDE TERRITORY
  1197. --'==========================================================================================
  1198.         if not ( IsResting() ) and ( ZoneName == Z["Ghostlands"] ) and ( SubZoneName == SZ["Tranquillien"] ) and FinalFantasylization_IsPlaying == false then
  1199.             if FinalFantasylization_InHordeTownTranquillien == false then
  1200.                 if ( factionEnglish == F["Horde"] ) then
  1201.                     FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  1202.                     FinalFantasylization_HordeTownTranquillien()
  1203.                 else
  1204.                     FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
  1205.                     FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
  1206.                 end
  1207.                 FinalFantasylization_IsPlaying = true
  1208.                 FinalFantasylization_InHordeTownTranquillien = true
  1209.             end
  1210.             FinalFantasylization_InHordeTownTranquillien = false
  1211.         end
  1212. --'==========================================================================================      
  1213. --' Horde Towns: Valormok, Azshara
  1214. --'==========================================================================================
  1215.         if not ( IsResting() ) and ( ZoneName == Z["Azshara"] ) and ( SubZoneName == SZ["Valormok"] ) and FinalFantasylization_IsPlaying == false then
  1216.             if FinalFantasylization_InHordeTownValormok == false then
  1217.                 if ( factionEnglish == F["Horde"] ) then
  1218.                     FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  1219.                     FinalFantasylization_HordeTownValormok()
  1220.                 else
  1221.                     FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
  1222.                     FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
  1223.                 end
  1224.                 FinalFantasylization_IsPlaying = true
  1225.                 FinalFantasylization_InHordeTownValormok = true
  1226.             end
  1227.             FinalFantasylization_InHordeTownValormok = false
  1228.         end
  1229. --'==========================================================================================      
  1230. --' Horde Towns: Vengeance Landing, Howling Fjord
  1231. --'==========================================================================================
  1232.         if not ( IsResting() ) and ( ZoneName == Z["Howling Fjord"] ) and ( SubZoneName == SZ["Vengeance Landing"] ) and FinalFantasylization_IsPlaying == false then
  1233.             if FinalFantasylization_InHordeTownVengeanceLanding == false then
  1234.                 if ( factionEnglish == F["Horde"] ) then
  1235.                     FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  1236.                     FinalFantasylization_HordeTownVengeanceLanding()
  1237.                 else
  1238.                     FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
  1239.                     FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
  1240.                 end
  1241.                 FinalFantasylization_IsPlaying = true
  1242.                 FinalFantasylization_InHordeTownVengeanceLanding = true
  1243.             end
  1244.             FinalFantasylization_InHordeTownVengeanceLanding = false
  1245.         end
  1246. --'==========================================================================================      
  1247. --' Horde Towns: Venomspite, Dragonblight
  1248. --'==========================================================================================
  1249.         if not ( IsResting() ) and ( ZoneName ==Z["Dragonblight"] ) and ( SubZoneName == SZ["Venomspite"] ) and FinalFantasylization_IsPlaying == false then
  1250.             if FinalFantasylization_InHordeTownVenomspite == false then
  1251.                 if ( factionEnglish == F["Horde"] ) then
  1252.                     FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  1253.                     FinalFantasylization_HordeTownVenomspite()
  1254.                 else
  1255.                     FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
  1256.                     FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
  1257.                 end
  1258.                 FinalFantasylization_IsPlaying = true
  1259.                 FinalFantasylization_InHordeTownVenomspite = true
  1260.             end
  1261.             FinalFantasylization_InHordeTownVenomspite = false
  1262.         end
  1263. --'==========================================================================================      
  1264. --' Horde Towns: Warsong Hold, Borean Tundra
  1265. --'==========================================================================================
  1266.         if ( ZoneName == Z["Borean Tundra"] ) and ( SubZoneName == SZ["Warsong Hold"] ) and FinalFantasylization_IsPlaying == false then
  1267.             if FinalFantasylization_InHordeTownWarsongHold == false then
  1268.                 if ( factionEnglish == F["Horde"] ) then
  1269.                     FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  1270.                     FinalFantasylization_HordeTownWarsongHold()
  1271.                 else
  1272.                     FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
  1273.                     FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
  1274.                 end
  1275.                 FinalFantasylization_IsPlaying = true
  1276.                 FinalFantasylization_InHordeTownWarsongHold = true
  1277.             end
  1278.             FinalFantasylization_InHordeTownWarsongHold = false
  1279.         end
  1280. --'==========================================================================================      
  1281. --' Horde Towns: Zabra'jin, Zangarmarsh
  1282. --'==========================================================================================
  1283.         if not ( IsResting() ) and ( ZoneName == Z["Zangarmarsh"] ) and ( SubZoneName == SZ["Zabra'jin"] ) and FinalFantasylization_IsPlaying == false then
  1284.             if FinalFantasylization_InHordeTownZabrajin == false then
  1285.                 if ( factionEnglish == F["Horde"] ) then
  1286.                     FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  1287.                     FinalFantasylization_HordeTownZabrajin()
  1288.                 else
  1289.                     FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
  1290.                     FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
  1291.                 end
  1292.                 FinalFantasylization_IsPlaying = true
  1293.                 FinalFantasylization_InHordeTownZabrajin = true
  1294.             end
  1295.             FinalFantasylization_InHordeTownZabrajin = false
  1296.         end
  1297. --'==========================================================================================      
  1298. --' Horde Towns: Zoram'gar Outpost, Ashenvale
  1299. --'==========================================================================================
  1300.         if not ( IsResting() ) and ( ZoneName == Z["Ashenvale"] ) and ( SubZoneName == SZ["Zoram'gar Outpost"] ) and FinalFantasylization_IsPlaying == false then
  1301.             if FinalFantasylization_InHordeTownZoramgarOutpost == false then
  1302.                 if ( factionEnglish == F["Horde"] ) then
  1303.                     FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  1304.                     FinalFantasylization_HordeTownZoramgarOutpost()
  1305.                 else
  1306.                     FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
  1307.                     FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
  1308.                 end
  1309.                 FinalFantasylization_IsPlaying = true
  1310.                 FinalFantasylization_InHordeTownZoramgarOutpost = true
  1311.             end
  1312.             FinalFantasylization_InHordeTownZoramgarOutpost = false
  1313.         end
  1314.  
  1315. --###########################################################################################
  1316. --###########################################################################################
  1317. --##
  1318. --##            ALLIANCE TOWNS
  1319. --##
  1320. --###########################################################################################
  1321. --###########################################################################################
  1322.  
  1323. --'==========================================================================================      
  1324. --' Alliance Towns: Aerie Peak, The Hinterlands
  1325. --'==========================================================================================
  1326.         if not ( IsResting() ) and ( ZoneName == Z["The Hinterlands"] ) and ( SubZoneName == SZ["Aerie Peak"] ) and FinalFantasylization_IsPlaying == false then
  1327.             if FinalFantasylization_InAllianceTownAeriePeak == false then
  1328.                 if ( factionEnglish == F["Alliance"] ) then
  1329.                     FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  1330.                     FinalFantasylization_AllianceTownAeriePeak()
  1331.                 else
  1332.                     FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
  1333.                     FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
  1334.                 end
  1335.                 FinalFantasylization_IsPlaying = true
  1336.                 FinalFantasylization_InAllianceTownAeriePeak = true
  1337.             end
  1338.             FinalFantasylization_InAllianceTownAeriePeak = false
  1339.         end
  1340. --'==========================================================================================      
  1341. --' Alliance Towns: Allerian Stronghold, Terokkar Forest
  1342. --'==========================================================================================
  1343.         if not ( IsResting() ) and ( ZoneName == Z["Terokkar Forest"] ) and ( SubZoneName == SZ["Allerian Stronghold"] ) and FinalFantasylization_IsPlaying == false then
  1344.             if FinalFantasylization_InAllianceTownAllerianStronghold == false then
  1345.                 if ( factionEnglish == F["Alliance"] ) then
  1346.                     FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  1347.                     FinalFantasylization_AllianceTownAllerianStronghold()
  1348.                 else
  1349.                     FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
  1350.                     FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
  1351.                 end
  1352.                 FinalFantasylization_IsPlaying = true
  1353.                 FinalFantasylization_InAllianceTownAllerianStronghold = true
  1354.             end
  1355.             FinalFantasylization_InAllianceTownAllerianStronghold = false
  1356.         end
  1357. --'==========================================================================================      
  1358. --' Alliance Towns: Amberpine Lodge, Grizzly Hills
  1359. --'==========================================================================================
  1360.         if not ( IsResting() ) and ( ZoneName == Z["Grizzly Hills"] ) and ( SubZoneName == SZ["Amberpine Lodge"] ) and FinalFantasylization_IsPlaying == false then
  1361.             if FinalFantasylization_InAllianceTownAmberpineLodge == false then
  1362.                 if ( factionEnglish == F["Alliance"] ) then
  1363.                     FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  1364.                     FinalFantasylization_AllianceTownAmberpineLodge()
  1365.                 else
  1366.                     FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
  1367.                     FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
  1368.                 end
  1369.                 FinalFantasylization_IsPlaying = true
  1370.                 FinalFantasylization_InAllianceTownAmberpineLodge = true
  1371.             end
  1372.             FinalFantasylization_InAllianceTownAmberpineLodge = false
  1373.         end
  1374. --'==========================================================================================      
  1375. --' Alliance Towns: Astranaar, Ashenvale
  1376. --'==========================================================================================
  1377.         if not ( IsResting() ) and ( ZoneName == Z["Ashenvale"] ) and ( SubZoneName == SZ["Astranaar"] ) and FinalFantasylization_IsPlaying == false then
  1378.             if FinalFantasylization_InAllianceTownAstranaar == false then
  1379.                 if ( factionEnglish == F["Alliance"] ) then
  1380.                     FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  1381.                     FinalFantasylization_AllianceTownAstranaar()
  1382.                 else
  1383.                     FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
  1384.                     FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
  1385.                 end
  1386.                 FinalFantasylization_IsPlaying = true
  1387.                 FinalFantasylization_InAllianceTownAstranaar = true
  1388.             end
  1389.             FinalFantasylization_InAllianceTownAstranaar = false
  1390.         end
  1391. --'==========================================================================================      
  1392. --' Alliance Towns: Auberdine, Darkshore : ALLIANCE TERRITORY
  1393. --'==========================================================================================
  1394.         if not ( IsResting() ) and ( ZoneName == Z["Darkshore"] ) and ( SubZoneName == SZ["Auberdine"] ) and FinalFantasylization_IsPlaying == false then
  1395.             if FinalFantasylization_InAllianceTownAuberdine == false then
  1396.                 if ( factionEnglish == F["Alliance"] ) then
  1397.                     FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  1398.                     FinalFantasylization_AllianceTownAuberdine()
  1399.                 else
  1400.                     FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
  1401.                     FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
  1402.                 end
  1403.                 FinalFantasylization_IsPlaying = true
  1404.                 FinalFantasylization_InAllianceTownAuberdine = true
  1405.             end
  1406.             FinalFantasylization_InAllianceTownAuberdine = false
  1407.         end
  1408. --'==========================================================================================      
  1409. --' Alliance Towns: Azure Watch, Azuremyst Isle : ALLIANCE TERRITORY
  1410. --'==========================================================================================
  1411.         if not ( IsResting() ) and ( ZoneName == Z["Azuremyst Isle"] ) and ( SubZoneName == SZ["Azure Watch"] ) and FinalFantasylization_IsPlaying == false then
  1412.             if FinalFantasylization_InAllianceTownAzureWatch == false then
  1413.                 if ( factionEnglish == F["Alliance"] ) then
  1414.                     FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  1415.                     FinalFantasylization_AllianceTownAzureWatch()
  1416.                 else
  1417.                     FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
  1418.                     FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
  1419.                 end
  1420.                 FinalFantasylization_IsPlaying = true
  1421.                 FinalFantasylization_InAllianceTownAzureWatch = true
  1422.             end
  1423.             FinalFantasylization_InAllianceTownAzureWatch = false
  1424.         end
  1425. --'==========================================================================================      
  1426. --' Alliance Towns: Bael Modan, The Barrens
  1427. --'==========================================================================================
  1428.         if not ( IsResting() ) and ( ZoneName == Z["The Barrens"] ) and ( SubZoneName == SZ["Bael Modan"] ) and FinalFantasylization_IsPlaying == false then
  1429.             if FinalFantasylization_InAllianceTownBaelModan == false then
  1430.                 if ( factionEnglish == F["Alliance"] ) then
  1431.                     FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  1432.                     FinalFantasylization_AllianceTownBaelModan()
  1433.                 else
  1434.                     FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
  1435.                     FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
  1436.                 end
  1437.                 FinalFantasylization_IsPlaying = true
  1438.                 FinalFantasylization_InAllianceTownBaelModan = true
  1439.             end
  1440.             FinalFantasylization_InAllianceTownBaelModan = false
  1441.         end
  1442. --'==========================================================================================      
  1443. --' Alliance Towns: Blood Watch, Bloodmyst Isle : ALLIANCE TERRITORY
  1444. --'==========================================================================================
  1445.         if not ( IsResting() ) and ( ZoneName == Z["Bloodmyst Isle"] ) and ( SubZoneName == SZ["Blood Watch"] ) and FinalFantasylization_IsPlaying == false then
  1446.             if FinalFantasylization_InAllianceTownBloodWatch == false then
  1447.                 if ( factionEnglish == F["Alliance"] ) then
  1448.                     FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  1449.                     FinalFantasylization_AllianceTownBloodWatch()
  1450.                 else
  1451.                     FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
  1452.                     FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
  1453.                 end
  1454.                 FinalFantasylization_IsPlaying = true
  1455.                 FinalFantasylization_InAllianceTownBloodWatch = true
  1456.             end
  1457.             FinalFantasylization_InAllianceTownBloodWatch = false
  1458.         end
  1459. --'==========================================================================================      
  1460. --' Alliance Towns: Brewnall Village, Dun Morogh
  1461. --'==========================================================================================
  1462.         if not ( IsResting() ) and ( ZoneName == Z["Dun Morogh"] ) and ( SubZoneName == SZ["Brewnall Village"] ) and FinalFantasylization_IsPlaying == false then
  1463.             if FinalFantasylization_InAllianceTownBrewnallVillage == false then
  1464.                 if ( factionEnglish == F["Alliance"] ) then
  1465.                     FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  1466.                     FinalFantasylization_AllianceTownBrewnallVillage()
  1467.                 else
  1468.                     FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
  1469.                     FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
  1470.                 end
  1471.                 FinalFantasylization_IsPlaying = true
  1472.                 FinalFantasylization_InAllianceTownBrewnallVillage = true
  1473.             end
  1474.             FinalFantasylization_InAllianceTownBrewnallVillage = false
  1475.         end
  1476. --'==========================================================================================      
  1477. --' Alliance Towns: Chillwind Camp, Western Plaguelands
  1478. --'==========================================================================================
  1479.         if not ( IsResting() ) and ( ZoneName == Z["Western Plaguelands"] ) and ( SubZoneName == SZ["Chillwind Camp"] ) and FinalFantasylization_IsPlaying == false then
  1480.             if FinalFantasylization_InAllianceTownChillwindCamp == false then
  1481.                 if ( factionEnglish == F["Alliance"] ) then
  1482.                     FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  1483.                     FinalFantasylization_AllianceTownChillwindCamp()
  1484.                 else
  1485.                     FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
  1486.                     FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
  1487.                 end
  1488.                 FinalFantasylization_IsPlaying = true
  1489.                 FinalFantasylization_InAllianceTownChillwindCamp = true
  1490.             end
  1491.             FinalFantasylization_InAllianceTownChillwindCamp = false
  1492.         end
  1493. --'==========================================================================================      
  1494. --' Alliance Towns: Darkshire, Duskwood
  1495. --'==========================================================================================
  1496.         if not ( IsResting() ) and ( ZoneName == Z["Duskwood"] ) and ( SubZoneName == SZ["Darkshire"] ) and FinalFantasylization_IsPlaying == false then
  1497.             if FinalFantasylization_InAllianceTownDarkshire == false then
  1498.                 if ( factionEnglish == F["Alliance"] ) then
  1499.                     FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  1500.                     FinalFantasylization_AllianceTownDarkshire()
  1501.                 else
  1502.                     FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
  1503.                     FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
  1504.                 end
  1505.                 FinalFantasylization_IsPlaying = true
  1506.                 FinalFantasylization_InAllianceTownDarkshire = true
  1507.             end
  1508.             FinalFantasylization_InAllianceTownDarkshire = false
  1509.         end
  1510. --'==========================================================================================      
  1511. --' Alliance Towns: Dolanaar, Teldrassil : ALLIANCE TERRITORY
  1512. --'==========================================================================================
  1513.         if not ( IsResting() ) and ( ZoneName == Z["Teldrassil"] ) and ( SubZoneName == SZ["Dolanaar"] ) and FinalFantasylization_IsPlaying == false then
  1514.             if FinalFantasylization_InAllianceTownDolanaar == false then
  1515.                 if ( factionEnglish == F["Alliance"] ) then
  1516.                     FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  1517.                     FinalFantasylization_AllianceTownDolanaar()
  1518.                 else
  1519.                     FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
  1520.                     FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
  1521.                 end
  1522.                 FinalFantasylization_IsPlaying = true
  1523.                 FinalFantasylization_InAllianceTownDolanaar = true
  1524.             end
  1525.             FinalFantasylization_InAllianceTownDolanaar = false
  1526.         end
  1527. --'==========================================================================================      
  1528. --' Alliance Towns: Eastvale Logging Camp, Elwynn Forest
  1529. --'==========================================================================================
  1530.         if not ( IsResting() ) and ( ZoneName == Z["Elwynn Forest"] ) and ( SubZoneName == SZ["Eastvale Logging Camp"] ) and FinalFantasylization_IsPlaying == false then
  1531.             if FinalFantasylization_InAllianceTownEastvaleLoggingCamp == false then
  1532.                 if ( factionEnglish == F["Alliance"] ) then
  1533.                     FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  1534.                     FinalFantasylization_AllianceTownEastvaleLoggingCamp()
  1535.                 else
  1536.                     FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
  1537.                     FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
  1538.                 end
  1539.                 FinalFantasylization_IsPlaying = true
  1540.                 FinalFantasylization_InAllianceTownEastvaleLoggingCamp = true
  1541.             end
  1542.             FinalFantasylization_InAllianceTownEastvaleLoggingCamp = false
  1543.         end
  1544. --'==========================================================================================      
  1545. --' Alliance Towns: Explorers' League Outpost, Howling Fjord
  1546. --'==========================================================================================
  1547.         if not ( IsResting() ) and ( ZoneName == Z["Howling Fjord"] ) and ( SubZoneName == SZ["Explorers' League Outpost"] ) and FinalFantasylization_IsPlaying == false then
  1548.             if FinalFantasylization_InAllianceTownExplorersLeagueOutpost == false then
  1549.                 if ( factionEnglish == F["Alliance"] ) then
  1550.                     FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  1551.                     FinalFantasylization_AllianceTownExplorersLeagueOutpost()
  1552.                 else
  1553.                     FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
  1554.                     FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
  1555.                 end
  1556.                 FinalFantasylization_IsPlaying = true
  1557.                 FinalFantasylization_InAllianceTownExplorersLeagueOutpost = true
  1558.             end
  1559.             FinalFantasylization_InAllianceTownExplorersLeagueOutpost = false
  1560.         end
  1561. --'==========================================================================================      
  1562. --' Alliance Towns: Feathermoon Stronghold, Feralas
  1563. --'==========================================================================================
  1564.         if not ( IsResting() ) and ( ZoneName == Z["Feralas"] ) and ( SubZoneName == SZ["Feathermoon Stronghold"] ) and FinalFantasylization_IsPlaying == false then
  1565.             if FinalFantasylization_InAllianceTownFeathermoonStronghold == false then
  1566.                 if ( factionEnglish == F["Alliance"] ) then
  1567.                     FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  1568.                     FinalFantasylization_AllianceTownFeathermoonStronghold()
  1569.                 else
  1570.                     FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
  1571.                     FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
  1572.                 end
  1573.                 FinalFantasylization_IsPlaying = true
  1574.                 FinalFantasylization_InAllianceTownFeathermoonStronghold = true
  1575.             end
  1576.             FinalFantasylization_InAllianceTownFeathermoonStronghold = false
  1577.         end
  1578. --'==========================================================================================      
  1579. --' Alliance Towns: Fizzcrank Airstrip, Borean Tundra
  1580. --'==========================================================================================
  1581.         if not ( IsResting() ) and ( ZoneName == Z["Borean Tundra"] ) and ( SubZoneName == SZ["Fizzcrank Airstrip"] ) and FinalFantasylization_IsPlaying == false then
  1582.             if FinalFantasylization_InAllianceTownFizzcrankAirstrip == false then
  1583.                 if ( factionEnglish == F["Alliance"] ) then
  1584.                     FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  1585.                     FinalFantasylization_AllianceTownFizzcrankAirstrip()
  1586.                 else
  1587.                     FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
  1588.                     FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
  1589.                 end
  1590.                 FinalFantasylization_IsPlaying = true
  1591.                 FinalFantasylization_InAllianceTownFizzcrankAirstrip = true
  1592.             end
  1593.             FinalFantasylization_InAllianceTownFizzcrankAirstrip = false
  1594.         end
  1595. --'==========================================================================================      
  1596. --' Alliance Towns: Fordragon Hold, Dragonblight
  1597. --'==========================================================================================
  1598.         if not ( IsResting() ) and ( ZoneName ==Z["Dragonblight"] ) and ( SubZoneName == SZ["Fordragon Hold"] ) and FinalFantasylization_IsPlaying == false then
  1599.             if FinalFantasylization_InAllianceTownFordragonHold == false then
  1600.                 if ( factionEnglish == F["Alliance"] ) then
  1601.                     FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  1602.                     FinalFantasylization_AllianceTownFordragonHold()
  1603.                 else
  1604.                     FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
  1605.                     FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
  1606.                 end
  1607.                 FinalFantasylization_IsPlaying = true
  1608.                 FinalFantasylization_InAllianceTownFordragonHold = true
  1609.             end
  1610.             FinalFantasylization_InAllianceTownFordragonHold = false
  1611.         end
  1612. --'==========================================================================================      
  1613. --' Alliance Towns: Forest Song, Ashenvale
  1614. --'==========================================================================================
  1615.         if not ( IsResting() ) and ( ZoneName == Z["Ashenvale"] ) and ( SubZoneName == SZ["Forest Song"] ) and FinalFantasylization_IsPlaying == false then
  1616.             if FinalFantasylization_InAllianceTownForestSong == false then
  1617.                 if ( factionEnglish == F["Alliance"] ) then
  1618.                     FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  1619.                     FinalFantasylization_AllianceTownForestSong()
  1620.                 else
  1621.                     FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
  1622.                     FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
  1623.                 end
  1624.                 FinalFantasylization_IsPlaying = true
  1625.                 FinalFantasylization_InAllianceTownForestSong = true
  1626.             end
  1627.             FinalFantasylization_InAllianceTownForestSong = false
  1628.         end
  1629. --'==========================================================================================      
  1630. --' Alliance Towns: Fort Wildervar, Howling Fjord
  1631. --'==========================================================================================
  1632.         if not ( IsResting() ) and ( ZoneName == Z["Howling Fjord"] ) and ( ( SubZoneName == SZ["Fort Wildervar"] ) or ( SubZoneName == SZ["Fort Wildevar"] ) ) and FinalFantasylization_IsPlaying == false then
  1633.             if FinalFantasylization_InAllianceTownFortWildervar == false then
  1634.                 if ( factionEnglish == F["Alliance"] ) then
  1635.                     FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  1636.                     FinalFantasylization_AllianceTownFortWildervar()
  1637.                 else
  1638.                     FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
  1639.                     FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
  1640.                 end
  1641.                 FinalFantasylization_IsPlaying = true
  1642.                 FinalFantasylization_InAllianceTownFortWildervar = true
  1643.             end
  1644.             FinalFantasylization_InAllianceTownFortWildervar = false
  1645.         end
  1646. --'==========================================================================================      
  1647. --' Alliance Towns: Frosthold, The Storm Peaks
  1648. --'==========================================================================================
  1649.         if not ( IsResting() ) and ( ZoneName == Z["The Storm Peaks"] ) and ( SubZoneName == SZ["Frosthold"] ) and FinalFantasylization_IsPlaying == false then
  1650.             if FinalFantasylization_InAllianceTownFrosthold == false then
  1651.                 if ( factionEnglish == F["Alliance"] ) then
  1652.                     FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  1653.                     FinalFantasylization_AllianceTownFrosthold()
  1654.                 else
  1655.                     FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
  1656.                     FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
  1657.                 end
  1658.                 FinalFantasylization_IsPlaying = true
  1659.                 FinalFantasylization_InAllianceTownFrosthold = true
  1660.             end
  1661.             FinalFantasylization_InAllianceTownFrosthold = false
  1662.         end
  1663. --'==========================================================================================      
  1664. --' Alliance Towns: Goldshire, Elwynn Forest : ALLIANCE TERRITORY
  1665. --'==========================================================================================
  1666.         if not ( IsResting() ) and ( ZoneName == Z["Elwynn Forest"] ) and ( SubZoneName == SZ["Goldshire"] ) and FinalFantasylization_IsPlaying == false then
  1667.             if FinalFantasylization_InAllianceTownGoldshire == false then
  1668.                 if ( factionEnglish == F["Alliance"] ) then
  1669.                     FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  1670.                     FinalFantasylization_AllianceTownGoldshire()
  1671.                 else
  1672.                     FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
  1673.                     FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
  1674.                 end
  1675.                 FinalFantasylization_IsPlaying = true
  1676.                 FinalFantasylization_InAllianceTownGoldshire = true
  1677.             end
  1678.             FinalFantasylization_InAllianceTownGoldshire = false
  1679.         end
  1680. --'==========================================================================================      
  1681. --' Alliance Towns: Hillsbrad Fields, Hillsbrad Foothills
  1682. --'==========================================================================================
  1683.         if not ( IsResting() ) and ( ZoneName == Z["Hillsbrad Foothills"] ) and ( SubZoneName == SZ["Hillsbrad Fields"] ) and FinalFantasylization_IsPlaying == false then
  1684.             if FinalFantasylization_InAllianceTownHillsbradFields == false then
  1685.                 if ( factionEnglish == F["Alliance"] ) then
  1686.                     FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  1687.                     FinalFantasylization_AllianceTownHillsbradFields()
  1688.                 else
  1689.                     FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
  1690.                     FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
  1691.                 end
  1692.                 FinalFantasylization_IsPlaying = true
  1693.                 FinalFantasylization_InAllianceTownHillsbradFields = true
  1694.             end
  1695.             FinalFantasylization_InAllianceTownHillsbradFields = false
  1696.         end
  1697. --'==========================================================================================      
  1698. --' Alliance Towns: Honor Hold, Hellfire Peninsula
  1699. --'==========================================================================================
  1700.         if not ( IsResting() ) and ( ZoneName == Z["Hellfire Peninsula"] ) and ( SubZoneName == SZ["Honor Hold"] ) and FinalFantasylization_IsPlaying == false then
  1701.             if FinalFantasylization_InAllianceTownHonorHold == false then
  1702.                 if ( factionEnglish == F["Alliance"] ) then
  1703.                     FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  1704.                     FinalFantasylization_AllianceTownHonorHold()
  1705.                 else
  1706.                     FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
  1707.                     FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
  1708.                 end
  1709.                 FinalFantasylization_IsPlaying = true
  1710.                 FinalFantasylization_InAllianceTownHonorHold = true
  1711.             end
  1712.             FinalFantasylization_InAllianceTownHonorHold = false
  1713.         end
  1714. --'==========================================================================================      
  1715. --' Alliance Towns: Kharanos, Dun Morogh : ALLIANCE TERRITORY
  1716. --'==========================================================================================
  1717.         if not ( IsResting() ) and ( ZoneName == Z["Dun Morogh"] ) and ( SubZoneName == SZ["Kharanos"] ) and FinalFantasylization_IsPlaying == false then
  1718.             if FinalFantasylization_InAllianceTownKharanos == false then
  1719.                 if ( factionEnglish == F["Alliance"] ) then
  1720.                     FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  1721.                     FinalFantasylization_AllianceTownKharanos()
  1722.                 else
  1723.                     FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
  1724.                     FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
  1725.                 end
  1726.                 FinalFantasylization_IsPlaying = true
  1727.                 FinalFantasylization_InAllianceTownKharanos = true
  1728.             end
  1729.             FinalFantasylization_InAllianceTownKharanos = false
  1730.         end
  1731. --'==========================================================================================      
  1732. --' Alliance Towns: Lakeshire, Redridge Mountains
  1733. --'==========================================================================================
  1734.         if not ( IsResting() ) and ( ZoneName == Z["Redridge Mountains"] ) and ( SubZoneName == SZ["Lakeshire"] ) and FinalFantasylization_IsPlaying == false then
  1735.             if FinalFantasylization_InAllianceTownLakeshire == false then
  1736.                 if ( factionEnglish == F["Alliance"] ) then
  1737.                     FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  1738.                     FinalFantasylization_AllianceTownLakeshire()
  1739.                 else
  1740.                     FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
  1741.                     FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
  1742.                 end
  1743.                 FinalFantasylization_IsPlaying = true
  1744.                 FinalFantasylization_InAllianceTownLakeshire = true
  1745.             end
  1746.             FinalFantasylization_InAllianceTownLakeshire = false
  1747.         end
  1748. --'==========================================================================================      
  1749. --' Alliance Towns: The Maclure Vineyards, Elwynn Forest
  1750. --'==========================================================================================
  1751.         if not ( IsResting() ) and ( ZoneName == Z["Elwynn Forest"] ) and ( SubZoneName == SZ["The Maclure Vineyards"] ) and FinalFantasylization_IsPlaying == false then
  1752.             if FinalFantasylization_InAllianceTownMaclureVineyards == false then
  1753.                 if ( factionEnglish == F["Alliance"] ) then
  1754.                     FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  1755.                     FinalFantasylization_AllianceTownMaclureVineyards()
  1756.                 else
  1757.                     FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
  1758.                     FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
  1759.                 end
  1760.                 FinalFantasylization_IsPlaying = true
  1761.                 FinalFantasylization_InAllianceTownMaclureVineyards = true
  1762.             end
  1763.             FinalFantasylization_InAllianceTownMaclureVineyards = false
  1764.         end
  1765. --'==========================================================================================      
  1766. --' Alliance Towns: Menethil Harbor, Wetlands
  1767. --'==========================================================================================
  1768.         if not ( IsResting() ) and ( ZoneName == Z["Wetlands"] ) and ( SubZoneName == SZ["Menethil Harbor"] ) and FinalFantasylization_IsPlaying == false then
  1769.             if FinalFantasylization_InAllianceTownMenethilHarbor == false then
  1770.                 if ( factionEnglish == F["Alliance"] ) then
  1771.                     FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  1772.                     FinalFantasylization_AllianceTownMenethilHarbor()
  1773.                 else
  1774.                     FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
  1775.                     FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
  1776.                 end
  1777.                 FinalFantasylization_IsPlaying = true
  1778.                 FinalFantasylization_InAllianceTownMenethilHarbor = true
  1779.             end
  1780.             FinalFantasylization_InAllianceTownMenethilHarbor = false
  1781.         end
  1782. --'==========================================================================================      
  1783. --' Alliance Towns: Morgan's Vigil, Burning Steppes
  1784. --'==========================================================================================
  1785.         if not ( IsResting() ) and ( ZoneName == Z["Burning Steppes"] ) and ( SubZoneName == SZ["Morgan's Vigil"] ) and FinalFantasylization_IsPlaying == false then
  1786.             if FinalFantasylization_InAllianceTownMorgansVigil == false then
  1787.                 if ( factionEnglish == F["Alliance"] ) then
  1788.                     FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  1789.                     FinalFantasylization_AllianceTownMorgansVigil()
  1790.                 else
  1791.                     FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
  1792.                     FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
  1793.                 end
  1794.                 FinalFantasylization_IsPlaying = true
  1795.                 FinalFantasylization_InAllianceTownMorgansVigil = true
  1796.             end
  1797.             FinalFantasylization_InAllianceTownMorgansVigil = false
  1798.         end
  1799. --'==========================================================================================      
  1800. --' Alliance Towns: Nethergarde Keep, Blasted Lands
  1801. --'==========================================================================================
  1802.         if not ( IsResting() ) and ( ZoneName == Z["Blasted Lands"] ) and ( SubZoneName == SZ["Nethergarde Keep"] ) and FinalFantasylization_IsPlaying == false then
  1803.             if FinalFantasylization_InAllianceTownNethergardeKeep == false then
  1804.                 if ( factionEnglish == F["Alliance"] ) then
  1805.                     FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  1806.                     FinalFantasylization_AllianceTownNethergardeKeep()
  1807.                 else
  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_InAllianceTownNethergardeKeep = true
  1813.             end
  1814.             FinalFantasylization_InAllianceTownNethergardeKeep = false
  1815.         end
  1816. --'==========================================================================================      
  1817. --' Alliance Towns: Nijel's Point, Desolace
  1818. --'==========================================================================================
  1819.         if not ( IsResting() ) and ( ZoneName == Z["Desolace"] ) and ( SubZoneName == SZ["Nijel's Point"] ) and FinalFantasylization_IsPlaying == false then
  1820.             if FinalFantasylization_InAllianceTownNijelsPoint == false then
  1821.                 if ( factionEnglish == F["Alliance"] ) then
  1822.                     FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  1823.                     FinalFantasylization_AllianceTownNijelsPoint()
  1824.                 else
  1825.                     FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
  1826.                     FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
  1827.                 end
  1828.                 FinalFantasylization_IsPlaying = true
  1829.                 FinalFantasylization_InAllianceTownNijelsPoint = true
  1830.             end
  1831.             FinalFantasylization_InAllianceTownNijelsPoint = false
  1832.         end
  1833. --'==========================================================================================      
  1834. --' Alliance Towns: Orebor Harborage, Zangarmarsh
  1835. --'==========================================================================================
  1836.         if not ( IsResting() ) and ( ZoneName == Z["Zangarmarsh"] ) and ( SubZoneName == SZ["Orebor Harborage"] ) and FinalFantasylization_IsPlaying == false then
  1837.             if FinalFantasylization_InAllianceTownOreborHarborage == false then
  1838.                 if ( factionEnglish == F["Alliance"] ) then
  1839.                     FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  1840.                     FinalFantasylization_AllianceTownOreborHarborage()
  1841.                 else
  1842.                     FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
  1843.                     FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
  1844.                 end
  1845.                 FinalFantasylization_IsPlaying = true
  1846.                 FinalFantasylization_InAllianceTownOreborHarborage = true
  1847.             end
  1848.             FinalFantasylization_InAllianceTownOreborHarborage = false
  1849.         end
  1850. --'==========================================================================================      
  1851. --' Alliance Towns: Pyrewood Village, Silverpine Forest
  1852. --'==========================================================================================
  1853.         if not ( IsResting() ) and ( ZoneName == Z["Silverpine Forest"] ) and ( SubZoneName == SZ["Pyrewood Village"] ) and FinalFantasylization_IsPlaying == false then
  1854.             if FinalFantasylization_InAllianceTownPyrewoodVillage == false then
  1855.                 if ( factionEnglish == F["Alliance"] ) then
  1856.                     FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  1857.                     FinalFantasylization_AllianceTownPyrewoodVillage()
  1858.                 else
  1859.                     FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
  1860.                     FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
  1861.                 end
  1862.                 FinalFantasylization_IsPlaying = true
  1863.                 FinalFantasylization_InAllianceTownPyrewoodVillage = true
  1864.             end
  1865.             FinalFantasylization_InAllianceTownPyrewoodVillage = false
  1866.         end
  1867. --'==========================================================================================      
  1868. --' Alliance Towns: Rebel Camp, Stranglethorn Vale
  1869. --'==========================================================================================
  1870.         if not ( IsResting() ) and ( ZoneName == Z["Stranglethorn Vale"] ) and ( SubZoneName == SZ["Rebel Camp"] ) and FinalFantasylization_IsPlaying == false then
  1871.             if FinalFantasylization_InAllianceTownRebelCamp == false then
  1872.                 if ( factionEnglish == F["Alliance"] ) then
  1873.                     FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  1874.                     FinalFantasylization_AllianceTownRebelCamp()
  1875.                 else
  1876.                     FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
  1877.                     FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
  1878.                 end
  1879.                 FinalFantasylization_IsPlaying = true
  1880.                 FinalFantasylization_InAllianceTownRebelCamp = true
  1881.             end
  1882.             FinalFantasylization_InAllianceTownRebelCamp = false
  1883.         end
  1884. --'==========================================================================================      
  1885. --' Alliance Towns: Refuge Pointe, Arathi Highlands
  1886. --'==========================================================================================
  1887.         if not ( IsResting() ) and ( ZoneName == Z["Arathi Highlands"] ) and ( SubZoneName == SZ["Refuge Pointe"] ) and FinalFantasylization_IsPlaying == false then
  1888.             if FinalFantasylization_InAllianceTownRefugePointe == false then
  1889.                 if ( factionEnglish == F["Alliance"] ) then
  1890.                     FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  1891.                     FinalFantasylization_AllianceTownRefugePointe()
  1892.                 else
  1893.                     FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
  1894.                     FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
  1895.                 end
  1896.                 FinalFantasylization_IsPlaying = true
  1897.                 FinalFantasylization_InAllianceTownRefugePointe = true
  1898.             end
  1899.             FinalFantasylization_InAllianceTownRefugePointe = false
  1900.         end
  1901. --'==========================================================================================      
  1902. --' Alliance Towns: Rut'theran Village, Teldrassil
  1903. --'==========================================================================================
  1904.         if not ( IsResting() ) and ( ZoneName == Z["Teldrassil"] ) and ( ( SubZoneName == SZ["Rut'theran Village"] ) or ( SubZoneName == SZ["Rut'Theran Village"] ) ) and FinalFantasylization_IsPlaying == false then
  1905.             if FinalFantasylization_InAllianceTownRuttheranVillage == false then
  1906.                 if ( factionEnglish == F["Alliance"] ) then
  1907.                     FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  1908.                     FinalFantasylization_AllianceTownRuttheranVillage()
  1909.                 else
  1910.                     FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
  1911.                     FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
  1912.                 end
  1913.                 FinalFantasylization_IsPlaying = true
  1914.                 FinalFantasylization_InAllianceTownRuttheranVillage = true
  1915.             end
  1916.             FinalFantasylization_InAllianceTownRuttheranVillage = false
  1917.         end
  1918. --'==========================================================================================      
  1919. --' Alliance Towns: Sentinel Hill, Westfall : ALLIANCE TERRITORY
  1920. --'==========================================================================================
  1921.         if not ( IsResting() ) and ( ZoneName == Z["Westfall"] ) and ( SubZoneName == SZ["Sentinel Hill"] ) and FinalFantasylization_IsPlaying == false then
  1922.             if FinalFantasylization_InAllianceTownSentinelHill == false then
  1923.                 if ( factionEnglish == F["Alliance"] ) then
  1924.                     FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  1925.                     FinalFantasylization_AllianceTownSentinelHill()
  1926.                 else
  1927.                     FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
  1928.                     FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
  1929.                 end
  1930.                 FinalFantasylization_IsPlaying = true
  1931.                 FinalFantasylization_InAllianceTownSentinelHill = true
  1932.             end
  1933.             FinalFantasylization_InAllianceTownSentinelHill = false
  1934.         end
  1935. --'==========================================================================================      
  1936. --' Alliance Towns: Southshore, Hillsbrad Foothills
  1937. --'==========================================================================================
  1938.         if not ( IsResting() ) and ( ZoneName == Z["Hillsbrad Foothills"] ) and ( SubZoneName == SZ["Southshore"] ) and FinalFantasylization_IsPlaying == false then
  1939.             if FinalFantasylization_InAllianceTownSouthshore == false then
  1940.                 if ( factionEnglish == F["Alliance"] ) then
  1941.                     FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  1942.                     FinalFantasylization_AllianceTownSouthshore()
  1943.                 else
  1944.                     FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
  1945.                     FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
  1946.                 end
  1947.                 FinalFantasylization_IsPlaying = true
  1948.                 FinalFantasylization_InAllianceTownSouthshore = true
  1949.             end
  1950.             FinalFantasylization_InAllianceTownSouthshore = false
  1951.         end
  1952. --'==========================================================================================      
  1953. --' Alliance Towns: Starfall Village, Winterspring
  1954. --'==========================================================================================
  1955.         if not ( IsResting() ) and ( ZoneName == Z["Winterspring"] ) and ( SubZoneName == SZ["Starfall Village"] ) and FinalFantasylization_IsPlaying == false then
  1956.             if FinalFantasylization_InAllianceTownStarfallVillage == false then
  1957.                 if ( factionEnglish == F["Alliance"] ) then
  1958.                     FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  1959.                     FinalFantasylization_AllianceTownStarfallVillage()
  1960.                 else
  1961.                     FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
  1962.                     FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
  1963.                 end
  1964.                 FinalFantasylization_IsPlaying = true
  1965.                 FinalFantasylization_InAllianceTownStarfallVillage = true
  1966.             end
  1967.             FinalFantasylization_InAllianceTownStarfallVillage = false
  1968.         end
  1969. --'==========================================================================================      
  1970. --' Alliance Towns: Stars' Rest, Dragonblight
  1971. --'==========================================================================================
  1972.         if not ( IsResting() ) and ( ZoneName ==Z["Dragonblight"] ) and ( ( SubZoneName == SZ["Star's Rest"] ) or ( SubZoneName == SZ["Stars' Rest"] ) ) and FinalFantasylization_IsPlaying == false then
  1973.             if FinalFantasylization_InAllianceTownStarsRest == false then
  1974.                 if ( factionEnglish == F["Alliance"] ) then
  1975.                     FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  1976.                     FinalFantasylization_AllianceTownStarsRest()
  1977.                 else
  1978.                     FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
  1979.                     FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
  1980.                 end
  1981.                 FinalFantasylization_IsPlaying = true
  1982.                 FinalFantasylization_InAllianceTownStarsRest = true
  1983.             end
  1984.             FinalFantasylization_InAllianceTownStarsRest = false
  1985.         end
  1986. --'==========================================================================================      
  1987. --' Alliance Towns: Stonetalon Peak, Stonetalon Mountains
  1988. --'==========================================================================================
  1989.         if not ( IsResting() ) and ( ZoneName == Z["Stonetalon Mountains"] ) and ( SubZoneName == SZ["Stonetalon Peak"] ) and FinalFantasylization_IsPlaying == false then
  1990.             if FinalFantasylization_InAllianceTownStonetalonPeak == false then
  1991.                 if ( factionEnglish == F["Alliance"] ) then
  1992.                     FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  1993.                     FinalFantasylization_AllianceTownStonetalonPeak()
  1994.                 else
  1995.                     FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
  1996.                     FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
  1997.                 end
  1998.                 FinalFantasylization_IsPlaying = true
  1999.                 FinalFantasylization_InAllianceTownStonetalonPeak = true
  2000.             end
  2001.             FinalFantasylization_InAllianceTownStonetalonPeak = false
  2002.         end
  2003. --'==========================================================================================      
  2004. --' Alliance Towns: Sylvanaar, Blade's Edge Mountains
  2005. --'==========================================================================================
  2006.         if not ( IsResting() ) and ( ZoneName == Z["Blade's Edge Mountains"] ) and ( SubZoneName == SZ["Sylvanaar"] ) and FinalFantasylization_IsPlaying == false then
  2007.             if FinalFantasylization_InAllianceTownSylvanaar == false then
  2008.                 if ( factionEnglish == F["Alliance"] ) then
  2009.                     FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  2010.                     FinalFantasylization_AllianceTownSylvanaar()
  2011.                 else
  2012.                     FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
  2013.                     FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
  2014.                 end
  2015.                 FinalFantasylization_IsPlaying = true
  2016.                 FinalFantasylization_InAllianceTownSylvanaar = true
  2017.             end
  2018.             FinalFantasylization_InAllianceTownSylvanaar = false
  2019.         end
  2020. --'==========================================================================================      
  2021. --' Alliance Towns: Talonbranch Glade, Felwood
  2022. --'==========================================================================================
  2023.         if not ( IsResting() ) and ( ZoneName == Z["Felwood"] ) and ( SubZoneName == SZ["Talonbranch Glade"] ) and FinalFantasylization_IsPlaying == false then
  2024.             if FinalFantasylization_InAllianceTownTalonbranchGlade == false then
  2025.                 if ( factionEnglish == F["Alliance"] ) then
  2026.                     FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  2027.                     FinalFantasylization_AllianceTownTalonbranchGlade()
  2028.                 else
  2029.                     FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
  2030.                     FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
  2031.                 end
  2032.                 FinalFantasylization_IsPlaying = true
  2033.                 FinalFantasylization_InAllianceTownTalonbranchGlade = true
  2034.             end
  2035.             FinalFantasylization_InAllianceTownTalonbranchGlade = false
  2036.         end
  2037. --'==========================================================================================      
  2038. --' Alliance Towns: Talrendis Point, Azshara
  2039. --'==========================================================================================
  2040.         if not ( IsResting() ) and ( ZoneName == Z["Azshara"] ) and ( SubZoneName == SZ["Talrendis Point"] ) and FinalFantasylization_IsPlaying == false then
  2041.             if FinalFantasylization_InAllianceTownTalrendisPoint == false then
  2042.                 if ( factionEnglish == F["Alliance"] ) then
  2043.                     FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  2044.                     FinalFantasylization_AllianceTownTalrendisPoint()
  2045.                 else
  2046.                     FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
  2047.                     FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
  2048.                 end
  2049.                 FinalFantasylization_IsPlaying = true
  2050.                 FinalFantasylization_InAllianceTownTalrendisPoint = true
  2051.             end
  2052.             FinalFantasylization_InAllianceTownTalrendisPoint = false
  2053.         end
  2054. --'==========================================================================================      
  2055. --' Alliance Towns: Telaar, Nagrand
  2056. --'==========================================================================================
  2057.         if not ( IsResting() ) and ( ZoneName == Z["Nagrand"] ) and ( SubZoneName == SZ["Telaar"] ) and FinalFantasylization_IsPlaying == false then
  2058.             if FinalFantasylization_InAllianceTownTelaar == false then
  2059.                 if ( factionEnglish == F["Alliance"] ) then
  2060.                     FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  2061.                     FinalFantasylization_AllianceTownTelaar()
  2062.                 else
  2063.                     FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
  2064.                     FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
  2065.                 end
  2066.                 FinalFantasylization_IsPlaying = true
  2067.                 FinalFantasylization_InAllianceTownTelaar = true
  2068.             end
  2069.             FinalFantasylization_InAllianceTownTelaar = false
  2070.         end
  2071. --'==========================================================================================      
  2072. --' Alliance Towns: Telredor, Zangarmarsh
  2073. --'==========================================================================================
  2074.         if not ( IsResting() ) and ( ZoneName == Z["Zangarmarsh"] ) and ( SubZoneName == SZ["Telredor"] ) and FinalFantasylization_IsPlaying == false then
  2075.             if FinalFantasylization_InAllianceTownTelredor == false then
  2076.                 if ( factionEnglish == F["Alliance"] ) then
  2077.                     FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  2078.                     FinalFantasylization_AllianceTownTelredor()
  2079.                 else
  2080.                     FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
  2081.                     FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
  2082.                 end
  2083.                 FinalFantasylization_IsPlaying = true
  2084.                 FinalFantasylization_InAllianceTownTelredor = true
  2085.             end
  2086.             FinalFantasylization_InAllianceTownTelredor = false
  2087.         end
  2088. --'==========================================================================================      
  2089. --' Alliance Towns: Temple of Telhamat, Hellfire Peninsula
  2090. --'==========================================================================================
  2091.         if not ( IsResting() ) and ( ZoneName == Z["Hellfire Peninsula"] ) and ( SubZoneName == SZ["Temple of Telhamat"] ) and FinalFantasylization_IsPlaying == false then
  2092.             if FinalFantasylization_InAllianceTownTempleOfTelhamat == false then
  2093.                 if ( factionEnglish == F["Alliance"] ) then
  2094.                     FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  2095.                     FinalFantasylization_AllianceTownTempleOfTelhamat()
  2096.                 else
  2097.                     FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
  2098.                     FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
  2099.                 end
  2100.                 FinalFantasylization_IsPlaying = true
  2101.                 FinalFantasylization_InAllianceTownTempleOfTelhamat = true
  2102.             end
  2103.             FinalFantasylization_InAllianceTownTempleOfTelhamat = false
  2104.         end
  2105. --'==========================================================================================      
  2106. --' Alliance Towns: Thalanaar, Feralas
  2107. --'==========================================================================================
  2108.         if not ( IsResting() ) and ( ZoneName == Z["Feralas"] ) and ( SubZoneName == SZ["Thalanaar"] ) and FinalFantasylization_IsPlaying == false then
  2109.             if FinalFantasylization_InAllianceTownThalanaar == false then
  2110.                 if ( factionEnglish == F["Alliance"] ) then
  2111.                     FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  2112.                     FinalFantasylization_AllianceTownThalanaar()
  2113.                 else
  2114.                     FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
  2115.                     FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
  2116.                 end
  2117.                 FinalFantasylization_IsPlaying = true
  2118.                 FinalFantasylization_InAllianceTownThalanaar = true
  2119.             end
  2120.             FinalFantasylization_InAllianceTownThalanaar = false
  2121.         end
  2122. --'==========================================================================================      
  2123. --' Alliance Towns: Thelsamar, Loch Modan : ALLIANCE TERRITORY
  2124. --'==========================================================================================
  2125.         if not ( IsResting() ) and ( ZoneName == Z["Loch Modan"] ) and ( SubZoneName == SZ["Thelsamar"] ) and FinalFantasylization_IsPlaying == false then
  2126.             if FinalFantasylization_InAllianceTownThelsamar == false then
  2127.                 if ( factionEnglish == F["Alliance"] ) then
  2128.                     FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  2129.                     FinalFantasylization_AllianceTownThelsamar()
  2130.                 else
  2131.                     FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
  2132.                     FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
  2133.                 end
  2134.                 FinalFantasylization_IsPlaying = true
  2135.                 FinalFantasylization_InAllianceTownThelsamar = true
  2136.             end
  2137.             FinalFantasylization_InAllianceTownThelsamar = false
  2138.         end
  2139. --'==========================================================================================      
  2140. --' Alliance Towns: Theramore Isle, Dustwallow Marsh
  2141. --'==========================================================================================
  2142.         if not ( IsResting() ) and ( ZoneName == Z["Dustwallow Marsh"] ) and ( SubZoneName == SZ["Theramore Isle"] ) and FinalFantasylization_IsPlaying == false then
  2143.             if FinalFantasylization_InAllianceTownTheramoreIsle == false then
  2144.                 if ( factionEnglish == F["Alliance"] ) then
  2145.                     FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  2146.                     FinalFantasylization_AllianceTownTheramoreIsle()
  2147.                 else
  2148.                     FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
  2149.                     FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
  2150.                 end
  2151.                 FinalFantasylization_IsPlaying = true
  2152.                 FinalFantasylization_InAllianceTownTheramoreIsle = true
  2153.             end
  2154.             FinalFantasylization_InAllianceTownTheramoreIsle = false
  2155.         end
  2156. --'==========================================================================================      
  2157. --' Alliance Towns: Toshley's Station, Blade's Edge Mountains
  2158. --'==========================================================================================
  2159.         if not ( IsResting() ) and ( ZoneName == Z["Blade's Edge Mountains"] ) and ( SubZoneName == SZ["Toshley's Station"] ) and FinalFantasylization_IsPlaying == false then
  2160.             if FinalFantasylization_InAllianceTownToshleysStation == false then
  2161.                 if ( factionEnglish == F["Alliance"] ) then
  2162.                     FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  2163.                     FinalFantasylization_AllianceTownToshleysStation()
  2164.                 else
  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_InAllianceTownToshleysStation = true
  2170.             end
  2171.             FinalFantasylization_InAllianceTownToshleysStation = false
  2172.         end
  2173. --'==========================================================================================      
  2174. --' Alliance Towns: Valiance Keep, Borean Tundra
  2175. --'==========================================================================================
  2176.         if not ( IsResting() ) and ( ZoneName == Z["Borean Tundra"] ) and ( ( SubZoneName == SZ["Valiance Keep"] ) or ( SubZoneName == SZ["The Stormbreaker"] ) ) and FinalFantasylization_IsPlaying == false then
  2177.             if FinalFantasylization_InAllianceTownValianceKeep == false then
  2178.                 if ( factionEnglish == F["Alliance"] ) then
  2179.                     FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  2180.                     FinalFantasylization_AllianceTownValianceKeep()
  2181.                 else
  2182.                     FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
  2183.                     FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
  2184.                 end
  2185.                 FinalFantasylization_IsPlaying = true
  2186.                 FinalFantasylization_InAllianceTownValianceKeep = true
  2187.             end
  2188.             FinalFantasylization_InAllianceTownValianceKeep = false
  2189.         end
  2190. --'==========================================================================================      
  2191. --' Alliance Towns: Valgarde, Howling Fjord
  2192. --'==========================================================================================
  2193.         if not ( IsResting() ) and ( ZoneName == Z["Howling Fjord"] ) and ( SubZoneName == SZ["Valgarde"] ) and FinalFantasylization_IsPlaying == false then
  2194.             if FinalFantasylization_InAllianceTownValgarde == false then
  2195.                 if ( factionEnglish == F["Alliance"] ) then
  2196.                     FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  2197.                     FinalFantasylization_AllianceTownValgarde()
  2198.                 else
  2199.                     FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
  2200.                     FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
  2201.                 end
  2202.                 FinalFantasylization_IsPlaying = true
  2203.                 FinalFantasylization_InAllianceTownValgarde = true
  2204.             end
  2205.             FinalFantasylization_InAllianceTownValgarde = false
  2206.         end
  2207. --'==========================================================================================      
  2208. --' Alliance Towns: Westfall Brigade Encampment, Grizzly Hills
  2209. --'==========================================================================================
  2210.         if not ( IsResting() ) and ( ZoneName == Z["Grizzly Hills"] ) and ( SubZoneName == SZ["Westfall Brigade Encampment"] ) and FinalFantasylization_IsPlaying == false then
  2211.             if FinalFantasylization_InAllianceTownWestfallBrigadeEncampment == false then
  2212.                 if ( factionEnglish == F["Alliance"] ) then
  2213.                     FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  2214.                     FinalFantasylization_AllianceTownWestfallBrigadeEncampment()
  2215.                 else
  2216.                     FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
  2217.                     FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
  2218.                 end
  2219.                 FinalFantasylization_IsPlaying = true
  2220.                 FinalFantasylization_InAllianceTownWestfallBrigadeEncampment = true
  2221.             end
  2222.             FinalFantasylization_InAllianceTownWestfallBrigadeEncampment = false
  2223.         end
  2224. --'==========================================================================================      
  2225. --' Alliance Towns: Westguard Keep, Howling Fjord
  2226. --'==========================================================================================
  2227.         if not ( IsResting() ) and ( ZoneName == Z["Howling Fjord"] ) and ( SubZoneName == SZ["Westguard Keep"] ) and FinalFantasylization_IsPlaying == false then
  2228.             if FinalFantasylization_InAllianceTownWestguardKeep == false then
  2229.                 if ( factionEnglish == F["Alliance"] ) then
  2230.                     FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  2231.                     FinalFantasylization_AllianceTownWestguardKeep()
  2232.                 else
  2233.                     FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
  2234.                     FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
  2235.                 end
  2236.                 FinalFantasylization_IsPlaying = true
  2237.                 FinalFantasylization_InAllianceTownWestguardKeep = true
  2238.             end
  2239.             FinalFantasylization_InAllianceTownWestguardKeep = false
  2240.         end
  2241. --'==========================================================================================      
  2242. --' Alliance Towns: Wildhammer Stronghold, Shadowmoon Valley
  2243. --'==========================================================================================
  2244.         if not ( IsResting() ) and ( ZoneName == Z["Shadowmoon Valley"] ) and ( SubZoneName == SZ["Wildhammer Stronghold"] ) and FinalFantasylization_IsPlaying == false then
  2245.             if FinalFantasylization_InAllianceTownWildhammerStronghold == false then
  2246.                 if ( factionEnglish == F["Alliance"] ) then
  2247.                     FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  2248.                     FinalFantasylization_AllianceTownWildhammerStronghold()
  2249.                 else
  2250.                     FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
  2251.                     FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
  2252.                 end
  2253.                 FinalFantasylization_IsPlaying = true
  2254.                 FinalFantasylization_InAllianceTownWildhammerStronghold = true
  2255.             end
  2256.             FinalFantasylization_InAllianceTownWildhammerStronghold = false
  2257.         end
  2258. --'==========================================================================================      
  2259. --' Alliance Towns: Windrunner's Overlook, Crystalsong Forest
  2260. --'==========================================================================================
  2261.         if not ( IsResting() ) and ( ZoneName == Z["Crystalsong Forest"] ) and ( SubZoneName == SZ["Windrunner's Overlook"] ) and FinalFantasylization_IsPlaying == false then
  2262.             if FinalFantasylization_InAllianceTownWindrunnersOverlook == false then
  2263.                 if ( factionEnglish == F["Alliance"] ) then
  2264.                     FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  2265.                     FinalFantasylization_AllianceTownWindrunnersOverlook()
  2266.                 else
  2267.                     FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
  2268.                     FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
  2269.                 end
  2270.                 FinalFantasylization_IsPlaying = true
  2271.                 FinalFantasylization_InAllianceTownWindrunnersOverlook = true
  2272.             end
  2273.             FinalFantasylization_InAllianceTownWindrunnersOverlook = false
  2274.         end
  2275. --'==========================================================================================      
  2276. --' Alliance Towns: Wintergarde Keep, Dragonblight
  2277. --'==========================================================================================
  2278.         if not ( IsResting() ) 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
  2279.             if FinalFantasylization_InAllianceTownWintergardeKeep == false then
  2280.                 if ( factionEnglish == F["Alliance"] ) then
  2281.                     FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  2282.                     FinalFantasylization_AllianceTownWintergardeKeep()
  2283.                 else
  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_InAllianceTownWintergardeKeep = true
  2289.             end
  2290.             FinalFantasylization_InAllianceTownWintergardeKeep = false
  2291.         end
  2292.  
  2293. --###########################################################################################
  2294. --###########################################################################################
  2295. --##
  2296. --##            NEUTRAL TOWNS
  2297. --##
  2298. --###########################################################################################
  2299. --###########################################################################################
  2300.  
  2301. --'==========================================================================================      
  2302. --' Neutral Towns: Altar of Sha'tar, Shadowmoon Valley
  2303. --'==========================================================================================
  2304.         if not ( IsResting() ) and ( ZoneName == Z["Shadowmoon Valley"] ) and ( SubZoneName == SZ["Altar of Sha'tar"] ) and FinalFantasylization_IsPlaying == false then
  2305.             if FinalFantasylization_InNeutralTownAltarOfShatar == false then
  2306.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  2307.                 FinalFantasylization_NeutralTownAltarOfShatar()
  2308.             end
  2309.             FinalFantasylization_IsPlaying = true
  2310.             FinalFantasylization_InNeutralTownAltarOfShatar = true
  2311.         else
  2312.             FinalFantasylization_InNeutralTownAltarOfShatar = false
  2313.         end
  2314. --'==========================================================================================      
  2315. --' Neutral Towns: Amber Ledge, Borean Tundra
  2316. --'==========================================================================================
  2317.         if not ( IsResting() ) and ( ZoneName == Z["Borean Tundra"] ) and ( SubZoneName == SZ["Amber Ledge"] ) and FinalFantasylization_IsPlaying == false then
  2318.             if FinalFantasylization_InNeutralTownAmberLedge == false then
  2319.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  2320.                 FinalFantasylization_NeutralTownAmberLedge()
  2321.             end
  2322.             FinalFantasylization_IsPlaying = true
  2323.             FinalFantasylization_InNeutralTownAmberLedge = true
  2324.         else
  2325.             FinalFantasylization_InNeutralTownAmberLedge = false
  2326.         end
  2327. --'==========================================================================================      
  2328. --' Neutral Towns: Argent Tournament Grounds, Icecrown
  2329. --'==========================================================================================
  2330.         if not ( IsResting() ) and ( ZoneName == Z["Icecrown"] ) and ( SubZoneName == SZ["Argent Tournament Grounds"] ) and FinalFantasylization_IsPlaying == false then
  2331.             if FinalFantasylization_InNeutralTownArgentTournamentGrounds == false then
  2332.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  2333.                 FinalFantasylization_NeutralTownArgentTournamentGrounds()
  2334.             end
  2335.             FinalFantasylization_IsPlaying = true
  2336.             FinalFantasylization_InNeutralTownArgentTournamentGrounds = true
  2337.         else
  2338.             FinalFantasylization_InNeutralTownArgentTournamentGrounds = false
  2339.         end
  2340. --'==========================================================================================      
  2341. --' Neutral Towns: Argent Vanguard , Icecrown
  2342. --'==========================================================================================
  2343.         if not ( IsResting() ) and ( ZoneName == Z["Icecrown"] ) and ( SubZoneName == SZ["Argent Vanguard"] ) and FinalFantasylization_IsPlaying == false then
  2344.             if FinalFantasylization_InNeutralTownArgentVanguard == false then
  2345.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  2346.                 FinalFantasylization_NeutralTownArgentVanguard()
  2347.             end
  2348.             FinalFantasylization_IsPlaying = true
  2349.             FinalFantasylization_InNeutralTownArgentVanguard = true
  2350.         else
  2351.             FinalFantasylization_InNeutralTownArgentVanguard = false
  2352.         end
  2353. --'==========================================================================================      
  2354. --' Neutral Towns: Bouldercrag's Refuge, The Storm Peaks
  2355. --'==========================================================================================
  2356.         if not ( IsResting() ) and ( ZoneName == Z["The Storm Peaks"] ) and ( SubZoneName == SZ["Bouldercrag's Refuge"] ) and FinalFantasylization_IsPlaying == false then
  2357.             if FinalFantasylization_InNeutralTownBouldercragsRefuge == false then
  2358.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  2359.                 FinalFantasylization_NeutralTownBouldercragsRefuge()
  2360.             end
  2361.             FinalFantasylization_IsPlaying = true
  2362.             FinalFantasylization_InNeutralTownBouldercragsRefuge = true
  2363.         else
  2364.             FinalFantasylization_InNeutralTownBouldercragsRefuge = false
  2365.         end
  2366. --'==========================================================================================      
  2367. --' Neutral Towns: Cenarion Hold, Silithus
  2368. --'==========================================================================================
  2369.         if not ( IsResting() ) and ( ZoneName == Z["Silithus"] ) and ( SubZoneName == SZ["Cenarion Hold"] ) and FinalFantasylization_IsPlaying == false then
  2370.             if FinalFantasylization_InNeutralTownCenarionHold == false then
  2371.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  2372.                 FinalFantasylization_NeutralTownCenarionHold()
  2373.             end
  2374.             FinalFantasylization_IsPlaying = true
  2375.             FinalFantasylization_InNeutralTownCenarionHold = true
  2376.         else
  2377.             FinalFantasylization_InNeutralTownCenarionHold = false
  2378.         end
  2379. --'==========================================================================================      
  2380. --' Neutral Towns: Cenarion Refuge, Zangarmarsh
  2381. --'==========================================================================================
  2382.         if not ( IsResting() ) and ( ZoneName == Z["Zangarmarsh"] ) and ( SubZoneName == SZ["Cenarion Refuge"] ) and FinalFantasylization_IsPlaying == false then
  2383.             if FinalFantasylization_InNeutralTownCenarionRefuge == false then
  2384.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  2385.                 FinalFantasylization_NeutralTownCenarionRefuge()
  2386.             end
  2387.             FinalFantasylization_IsPlaying = true
  2388.             FinalFantasylization_InNeutralTownCenarionRefuge = true
  2389.         else
  2390.             FinalFantasylization_InNeutralTownCenarionRefuge = false
  2391.         end
  2392. --'==========================================================================================      
  2393. --' Neutral Towns: Cosmowrench, Netherstorm
  2394. --'==========================================================================================
  2395.         if not ( IsResting() ) and ( ZoneName == Z["Netherstorm"] ) and ( SubZoneName == SZ["Cosmowrench"] ) and FinalFantasylization_IsPlaying == false then
  2396.             if FinalFantasylization_InNeutralTownCosmowrench == false then
  2397.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  2398.                 FinalFantasylization_NeutralTownCosmowrench()
  2399.             end
  2400.             FinalFantasylization_IsPlaying = true
  2401.             FinalFantasylization_InNeutralTownCosmowrench = true
  2402.         else
  2403.             FinalFantasylization_InNeutralTownCosmowrench = false
  2404.         end
  2405. --'==========================================================================================      
  2406. --' Neutral Towns: Crusaders' Pinnacle, Icecrown
  2407. --'==========================================================================================
  2408.         if not ( IsResting() ) and ( ZoneName == Z["Icecrown"] ) and ( SubZoneName == SZ["Crusaders' Pinnacle"] ) and FinalFantasylization_IsPlaying == false then
  2409.             if FinalFantasylization_InNeutralTownCrusadersPinnacle == false then
  2410.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  2411.                 FinalFantasylization_NeutralTownCrusadersPinnacle()
  2412.             end
  2413.             FinalFantasylization_IsPlaying = true
  2414.             FinalFantasylization_InNeutralTownCrusadersPinnacle = true
  2415.         else
  2416.             FinalFantasylization_InNeutralTownCrusadersPinnacle = false
  2417.         end
  2418. --'==========================================================================================      
  2419. --' Neutral Towns: Death's Rise, Icecrown
  2420. --'==========================================================================================
  2421.         if not ( IsResting() ) and ( ZoneName == Z["Icecrown"] ) and ( SubZoneName == SZ["Death's Rise"] ) and FinalFantasylization_IsPlaying == false then
  2422.             if FinalFantasylization_InNeutralTownDeathsRise == false then
  2423.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  2424.                 FinalFantasylization_NeutralTownDeathsRise()
  2425.             end
  2426.             FinalFantasylization_IsPlaying = true
  2427.             FinalFantasylization_InNeutralTownDeathsRise = true
  2428.         else
  2429.             FinalFantasylization_InNeutralTownDeathsRise = false
  2430.         end
  2431. --'==========================================================================================      
  2432. --' Neutral Towns: Dun Niffelem, The Storm Peaks
  2433. --'==========================================================================================
  2434.         if not ( IsResting() ) and ( ZoneName == Z["The Storm Peaks"] ) and ( SubZoneName == SZ["Dun Niffelem"] ) and FinalFantasylization_IsPlaying == false then
  2435.             if FinalFantasylization_InNeutralTownDunNiffelem == false then
  2436.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  2437.                 FinalFantasylization_NeutralTownDunNiffelem()
  2438.             end
  2439.             FinalFantasylization_IsPlaying = true
  2440.             FinalFantasylization_InNeutralTownDunNiffelem = true
  2441.         else
  2442.             FinalFantasylization_InNeutralTownDunNiffelem = false
  2443.         end
  2444. --'==========================================================================================      
  2445. --' Neutral Towns: Ebon Watch, Zul'drak
  2446. --'==========================================================================================
  2447.         if not ( IsResting() ) and ( ZoneName == Z["Zul'Drak"] ) and ( SubZoneName == SZ["Ebon Watch"] ) and FinalFantasylization_IsPlaying == false then
  2448.             if FinalFantasylization_InNeutralTownEbonWatch == false then
  2449.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  2450.                 FinalFantasylization_NeutralTownEbonWatch()
  2451.             end
  2452.             FinalFantasylization_IsPlaying = true
  2453.             FinalFantasylization_InNeutralTownEbonWatch = true
  2454.         else
  2455.             FinalFantasylization_InNeutralTownEbonWatch = false
  2456.         end
  2457. --'==========================================================================================      
  2458. --' Neutral Towns: Emerald Sanctuary, Felwood
  2459. --'==========================================================================================
  2460.         if not ( IsResting() ) and ( ZoneName == Z["Felwood"] ) and ( SubZoneName == SZ["Emerald Sanctuary"] ) and FinalFantasylization_IsPlaying == false then
  2461.             if FinalFantasylization_InNeutralTownEmeraldSanctuary == false then
  2462.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  2463.                 FinalFantasylization_NeutralTownEmeraldSanctuary()
  2464.             end
  2465.             FinalFantasylization_IsPlaying = true
  2466.             FinalFantasylization_InNeutralTownEmeraldSanctuary = true
  2467.         else
  2468.             FinalFantasylization_InNeutralTownEmeraldSanctuary = false
  2469.         end
  2470. --'==========================================================================================      
  2471. --' Neutral Towns: Evergrove, Blade's Edge Mountains
  2472. --'==========================================================================================
  2473.         if not ( IsResting() ) and ( ZoneName == Z["Blade's Edge Mountains"] ) and ( SubZoneName == SZ["Evergrove"] ) and FinalFantasylization_IsPlaying == false then
  2474.             if FinalFantasylization_InNeutralTownEvergrove == false then
  2475.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  2476.                 FinalFantasylization_NeutralTownEvergrove()
  2477.             end
  2478.             FinalFantasylization_IsPlaying = true
  2479.             FinalFantasylization_InNeutralTownEvergrove = true
  2480.         else
  2481.             FinalFantasylization_InNeutralTownEvergrove = false
  2482.         end
  2483. --'==========================================================================================      
  2484. --' Neutral Towns: Frenzyheart Hill, Sholazar Basin (at odds with the Oracles in Rainspeaker Canopy)
  2485. --'==========================================================================================
  2486.         if not ( IsResting() ) and ( ZoneName == Z["Sholazar Basin"] ) and ( SubZoneName == SZ["Frenzyheart Hill"] ) and FinalFantasylization_IsPlaying == false then
  2487.             if FinalFantasylization_InNeutralTownFrenzyheartHill == false then
  2488.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  2489.                 FinalFantasylization_NeutralTownFrenzyheartHill()
  2490.             end
  2491.             FinalFantasylization_IsPlaying = true
  2492.             FinalFantasylization_InNeutralTownFrenzyheartHill = true
  2493.         else
  2494.             FinalFantasylization_InNeutralTownFrenzyheartHill = false
  2495.         end
  2496. --'==========================================================================================      
  2497. --' Neutral Towns: Halaa, Nagrand
  2498. --'==========================================================================================
  2499.         if not ( IsResting() ) and ( ZoneName == Z["Nagrand"] ) and ( SubZoneName == SZ["Halaa"] ) and FinalFantasylization_IsPlaying == false then
  2500.             if FinalFantasylization_InNeutralTownHalaa == false then
  2501.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  2502.                 FinalFantasylization_NeutralTownHalaa()
  2503.             end
  2504.             FinalFantasylization_IsPlaying = true
  2505.             FinalFantasylization_InNeutralTownHalaa = true
  2506.         else
  2507.             FinalFantasylization_InNeutralTownHalaa = false
  2508.         end
  2509. --'==========================================================================================      
  2510. --' Neutral Towns: K3, The Storm Peaks
  2511. --'==========================================================================================
  2512.         if not ( IsResting() ) and ( ZoneName == Z["The Storm Peaks"] ) and ( SubZoneName == SZ["K3"] ) and FinalFantasylization_IsPlaying == false then
  2513.             if FinalFantasylization_InNeutralTownK3 == false then
  2514.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  2515.                 FinalFantasylization_NeutralTownK3()
  2516.             end
  2517.             FinalFantasylization_IsPlaying = true
  2518.             FinalFantasylization_InNeutralTownK3 = true
  2519.         else
  2520.             FinalFantasylization_InNeutralTownK3 = false
  2521.         end
  2522. --'==========================================================================================      
  2523. --' Neutral Towns: Kamagua, Howling Fjord
  2524. --'==========================================================================================
  2525.         if not ( IsResting() ) and ( ZoneName == Z["Howling Fjord"] ) and ( SubZoneName == SZ["Kamagua"] ) and FinalFantasylization_IsPlaying == false then
  2526.             if FinalFantasylization_InNeutralTownKamagua == false then
  2527.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  2528.                 FinalFantasylization_NeutralTownKamagua()
  2529.             end
  2530.             FinalFantasylization_IsPlaying = true
  2531.             FinalFantasylization_InNeutralTownKamagua = true
  2532.         else
  2533.             FinalFantasylization_InNeutralTownKamagua = false
  2534.         end
  2535. --'==========================================================================================      
  2536. --' Neutral Towns: Light's Breach, Zul'drak
  2537. --'==========================================================================================
  2538.         if not ( IsResting() ) and ( ZoneName == Z["Zul'Drak"] ) and ( SubZoneName == SZ["Light's Breach"] ) and FinalFantasylization_IsPlaying == false then
  2539.             if FinalFantasylization_InNeutralTownLightsBreach == false then
  2540.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  2541.                 FinalFantasylization_NeutralTownLightsBreach()
  2542.             end
  2543.             FinalFantasylization_IsPlaying = true
  2544.             FinalFantasylization_InNeutralTownLightsBreach = true
  2545.         else
  2546.             FinalFantasylization_InNeutralTownLightsBreach = false
  2547.         end
  2548. --'==========================================================================================      
  2549. --' Neutral Towns: Light's Hope Chapel, Eastern Plaguelands
  2550. --'==========================================================================================
  2551.         if not ( IsResting() ) and ( ZoneName == Z["Eastern Plaguelands"] ) and ( SubZoneName == SZ["Light's Hope Chapel"] ) and FinalFantasylization_IsPlaying == false then
  2552.             if FinalFantasylization_InNeutralTownLightsHopeChapel == false then
  2553.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  2554.                 FinalFantasylization_NeutralTownLightsHopeChapel()
  2555.             end
  2556.             FinalFantasylization_IsPlaying = true
  2557.             FinalFantasylization_InNeutralTownLightsHopeChapel = true
  2558.         else
  2559.             FinalFantasylization_InNeutralTownLightsHopeChapel = false
  2560.         end
  2561. --'==========================================================================================      
  2562. --' Neutral Towns: Marshal's Refuge, Un'Goro Crater
  2563. --'==========================================================================================
  2564.         if not ( IsResting() ) and ( ZoneName == Z["Un'Goro Crater"] ) and ( SubZoneName == SZ["Marshal's Refuge"] ) and FinalFantasylization_IsPlaying == false then
  2565.             if FinalFantasylization_InNeutralTownMarshalsRefuge == false then
  2566.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  2567.                 FinalFantasylization_NeutralTownMarshalsRefuge()
  2568.             end
  2569.             FinalFantasylization_IsPlaying = true
  2570.             FinalFantasylization_InNeutralTownMarshalsRefuge = true
  2571.         else
  2572.             FinalFantasylization_InNeutralTownMarshalsRefuge = false
  2573.         end
  2574. --'==========================================================================================      
  2575. --' Neutral Towns: Moa'ki Harbor, Dragonblight
  2576. --'==========================================================================================
  2577.         if not ( IsResting() ) and ( ZoneName == Z["Dragonblight"] ) and ( SubZoneName == SZ["Moa'ki Harbor"] ) and FinalFantasylization_IsPlaying == false then
  2578.             if FinalFantasylization_InNeutralTownMoakiHarbor == false then
  2579.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  2580.                 FinalFantasylization_NeutralTownMoakiHarbor()
  2581.             end
  2582.             FinalFantasylization_IsPlaying = true
  2583.             FinalFantasylization_InNeutralTownMoakiHarbor = true
  2584.         else
  2585.             FinalFantasylization_InNeutralTownMoakiHarbor = false
  2586.         end
  2587. --'==========================================================================================      
  2588. --' Neutral Towns: Mudsprocket, Dustwallow Marsh
  2589. --'==========================================================================================
  2590.         if not ( IsResting() ) and ( ZoneName == Z["Dustwallow Marsh"] ) and ( SubZoneName == SZ["Mudsprocket"] ) and FinalFantasylization_IsPlaying == false then
  2591.             if FinalFantasylization_InNeutralTownMudsprocket == false then
  2592.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  2593.                 FinalFantasylization_NeutralTownMudsprocket()
  2594.             end
  2595.             FinalFantasylization_IsPlaying = true
  2596.             FinalFantasylization_InNeutralTownMudsprocket = true
  2597.         else
  2598.             FinalFantasylization_InNeutralTownMudsprocket = false
  2599.         end
  2600. --'==========================================================================================      
  2601. --' Neutral Towns: Nesingwary Base Camp, Sholazar Basin
  2602. --'==========================================================================================
  2603.         if not ( IsResting() ) and ( ZoneName == Z["Sholazar Basin"] ) and ( SubZoneName == SZ["Nesingwary Base Camp"] ) and FinalFantasylization_IsPlaying == false then
  2604.             if FinalFantasylization_InNeutralTownNesingwaryBaseCamp == false then
  2605.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  2606.                 FinalFantasylization_NeutralTownNesingwaryBaseCamp()
  2607.             end
  2608.             FinalFantasylization_IsPlaying = true
  2609.             FinalFantasylization_InNeutralTownNesingwaryBaseCamp = true
  2610.         else
  2611.             FinalFantasylization_InNeutralTownNesingwaryBaseCamp = false
  2612.         end
  2613. --'==========================================================================================      
  2614. --' Neutral Towns: Nighthaven, Moonglade
  2615. --'==========================================================================================
  2616.         if not ( IsResting() ) and ( ZoneName == Z["Moonglade"] ) and ( SubZoneName == SZ["Nighthaven"] ) and FinalFantasylization_IsPlaying == false then
  2617.             if FinalFantasylization_InNeutralTownNighthaven == false then
  2618.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  2619.                 FinalFantasylization_NeutralTownNighthaven()
  2620.             end
  2621.             FinalFantasylization_IsPlaying = true
  2622.             FinalFantasylization_InNeutralTownNighthaven = true
  2623.         else
  2624.             FinalFantasylization_InNeutralTownNighthaven = false
  2625.         end
  2626. --'==========================================================================================      
  2627. --' Neutral Towns: Rainspeaker Canopy, Sholazar Basin (at odds with the Frenzyheart Tribe in Frenzyheart Hill)
  2628. --'==========================================================================================
  2629.  
  2630.         if not ( IsResting() ) and ( ZoneName == Z["Sholazar Basin"] ) and ( SubZoneName == SZ["Rainspeaker Canopy"] ) and FinalFantasylization_IsPlaying == false then
  2631.             if FinalFantasylization_InNeutralTownRainspeakerCanopy == false then
  2632.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  2633.                 FinalFantasylization_NeutralTownRainspeakerCanopy()
  2634.             end
  2635.             FinalFantasylization_IsPlaying = true
  2636.             FinalFantasylization_InNeutralTownRainspeakerCanopy = true
  2637.         else
  2638.             FinalFantasylization_InNeutralTownRainspeakerCanopy = false
  2639.         end
  2640. --'==========================================================================================      
  2641. --' Neutral Towns: River's Heart, Sholazar Basin
  2642. --'==========================================================================================
  2643.         if not ( IsResting() ) and ( ZoneName == Z["Sholazar Basin"] ) and ( SubZoneName == SZ["River's Heart"] ) and FinalFantasylization_IsPlaying == false then
  2644.             if FinalFantasylization_InNeutralTownRiversHeart == false then
  2645.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  2646.                 FinalFantasylization_NeutralTownRiversHeart()
  2647.             end
  2648.             FinalFantasylization_IsPlaying = true
  2649.             FinalFantasylization_InNeutralTownRiversHeart = true
  2650.         else
  2651.             FinalFantasylization_InNeutralTownRiversHeart = false
  2652.         end
  2653. --'==========================================================================================      
  2654. --' Neutral Towns: Sanctum of the Stars, Shadowmoon Valley
  2655. --'==========================================================================================
  2656.         if not ( IsResting() ) and ( ZoneName == Z["Shadowmoon Valley"] ) and ( SubZoneName == SZ["Sanctum of the Stars"] ) and FinalFantasylization_IsPlaying == false then
  2657.             if FinalFantasylization_InNeutralTownSanctumOfTheStars == false then
  2658.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  2659.                 FinalFantasylization_NeutralTownSanctumOfTheStars()
  2660.             end
  2661.             FinalFantasylization_IsPlaying = true
  2662.             FinalFantasylization_InNeutralTownSanctumOfTheStars = true
  2663.         else
  2664.             FinalFantasylization_InNeutralTownSanctumOfTheStars = false
  2665.         end
  2666. --'==========================================================================================      
  2667. --' Neutral Towns: The Shadow Vault, Icecrown
  2668. --'==========================================================================================
  2669.         if not ( IsResting() ) and ( ZoneName == Z["Icecrown"] ) and ( SubZoneName == SZ["The Shadow Vault"] ) and FinalFantasylization_IsPlaying == false then
  2670.             if FinalFantasylization_InNeutralTownShadowVault == false then
  2671.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  2672.                 FinalFantasylization_NeutralTownShadowVault()
  2673.             end
  2674.             FinalFantasylization_IsPlaying = true
  2675.             FinalFantasylization_InNeutralTownShadowVault = true
  2676.         else
  2677.             FinalFantasylization_InNeutralTownShadowVault = false
  2678.         end
  2679. --'==========================================================================================      
  2680. --' Neutral Towns: Sporeggar, Zangarmarsh
  2681. --'==========================================================================================
  2682.         if not ( IsResting() ) and ( ZoneName == Z["Zangarmarsh"] ) and ( SubZoneName == SZ["Sporeggar"] ) and FinalFantasylization_IsPlaying == false then
  2683.             if FinalFantasylization_InNeutralTownSporeggar == false then
  2684.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  2685.                 FinalFantasylization_NeutralTownSporeggar()
  2686.             end
  2687.             FinalFantasylization_IsPlaying = true
  2688.             FinalFantasylization_InNeutralTownSporeggar = true
  2689.         else
  2690.             FinalFantasylization_InNeutralTownSporeggar = false
  2691.         end
  2692. --'==========================================================================================      
  2693. --' Neutral Towns: The Stormspire, Netherstorm
  2694. --'==========================================================================================
  2695.         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
  2696.             if FinalFantasylization_InNeutralTownStormspire == false then
  2697.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  2698.                 FinalFantasylization_NeutralTownStormspire()
  2699.             end
  2700.             FinalFantasylization_IsPlaying = true
  2701.             FinalFantasylization_InNeutralTownStormspire = true
  2702.         else
  2703.             FinalFantasylization_InNeutralTownStormspire = false
  2704.         end
  2705. --'==========================================================================================      
  2706. --' Neutral Towns: Sun's Reach, Isle of Quel'Danas
  2707. --'==========================================================================================
  2708.         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
  2709.             if FinalFantasylization_InNeutralTownSunsReach == false then
  2710.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  2711.                 FinalFantasylization_NeutralTownSunsReach()
  2712.             end
  2713.             FinalFantasylization_IsPlaying = true
  2714.             FinalFantasylization_InNeutralTownSunsReach = true
  2715.         else
  2716.                 FinalFantasylization_InNeutralTownSunsReach = false
  2717.         end
  2718. --'==========================================================================================      
  2719. --' Neutral Towns: The Argent Stand, Zul'drak
  2720. --'==========================================================================================
  2721.         if not ( IsResting() ) and ( ZoneName == Z["Zul'Drak"] ) and ( SubZoneName == SZ["The Argent Stand"] ) and FinalFantasylization_IsPlaying == false then
  2722.             if FinalFantasylization_InNeutralTownTheArgentStand == false then
  2723.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  2724.                 FinalFantasylization_NeutralTownTheArgentStand()
  2725.             end
  2726.             FinalFantasylization_IsPlaying = true
  2727.             FinalFantasylization_InNeutralTownTheArgentStand = true
  2728.         else
  2729.             FinalFantasylization_InNeutralTownTheArgentStand = false
  2730.         end
  2731. --'==========================================================================================      
  2732. --' Neutral Towns: Thorium Point, Searing Gorge
  2733. --'==========================================================================================
  2734.         if not ( IsResting() ) and ( ZoneName == Z["Searing Gorge"] ) and ( SubZoneName == SZ["Thorium Point"] ) and FinalFantasylization_IsPlaying == false then
  2735.             if FinalFantasylization_InNeutralTownThoriumPoint == false then
  2736.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  2737.                 FinalFantasylization_NeutralTownThoriumPoint()
  2738.             end
  2739.             FinalFantasylization_IsPlaying = true
  2740.             FinalFantasylization_InNeutralTownThoriumPoint = true
  2741.         else
  2742.             FinalFantasylization_InNeutralTownThoriumPoint = false
  2743.         end
  2744. --'==========================================================================================      
  2745. --' Neutral Towns: Transitus Shield, Borean Tundra
  2746. --'==========================================================================================
  2747.         if not ( IsResting() ) and ( ZoneName == Z["Borean Tundra"] ) and ( SubZoneName == SZ["Transitus Shield"] ) and FinalFantasylization_IsPlaying == false then
  2748.             if FinalFantasylization_InNeutralTownTransitusShield == false then
  2749.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  2750.                 FinalFantasylization_NeutralTownTransitusShield()
  2751.             end
  2752.             FinalFantasylization_IsPlaying = true
  2753.             FinalFantasylization_InNeutralTownTransitusShield = true
  2754.         else
  2755.             FinalFantasylization_InNeutralTownTransitusShield = false
  2756.         end
  2757. --'==========================================================================================      
  2758. --' Neutral Towns: Unu'pe, Borean Tundra
  2759. --'==========================================================================================
  2760.         if not ( IsResting() ) and ( ZoneName == Z["Borean Tundra"] ) and ( SubZoneName == SZ["Unu'pe"] ) and FinalFantasylization_IsPlaying == false then
  2761.             if FinalFantasylization_InNeutralTownUnupe == false then
  2762.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  2763.                 FinalFantasylization_NeutralTownUnupe()
  2764.             end
  2765.             FinalFantasylization_IsPlaying = true
  2766.             FinalFantasylization_InNeutralTownUnupe = true
  2767.         else
  2768.             FinalFantasylization_InNeutralTownUnupe = false
  2769.         end
  2770. --'==========================================================================================      
  2771. --' Neutral Towns: Wyrmrest Temple, Dragonblight
  2772. --'==========================================================================================
  2773.         if ( ZoneName ==Z["Dragonblight"] ) and ( SubZoneName == SZ["Wyrmrest Temple"] ) and FinalFantasylization_IsPlaying == false then
  2774.             if FinalFantasylization_InNeutralTownWyrmrestTemple == false then
  2775.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  2776.                 FinalFantasylization_NeutralTownWyrmrestTemple()
  2777.             end
  2778.             FinalFantasylization_IsPlaying = true
  2779.             FinalFantasylization_InNeutralTownWyrmrestTemple = true
  2780.         else
  2781.             FinalFantasylization_InNeutralTownWyrmrestTemple = false
  2782.         end
  2783. --'==========================================================================================      
  2784. --' Neutral Towns: Zim'Torga, Zul'drak
  2785. --'==========================================================================================
  2786.         if not ( IsResting() ) and ( ZoneName == Z["Zul'Drak"] ) and ( SubZoneName == SZ["Zim'Torga"] ) and FinalFantasylization_IsPlaying == false then
  2787.             if FinalFantasylization_InNeutralTownZimTorga == false then
  2788.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  2789.                 FinalFantasylization_NeutralTownZimTorga()
  2790.             end
  2791.             FinalFantasylization_IsPlaying = true
  2792.             FinalFantasylization_InNeutralTownZimTorga = true
  2793.         else
  2794.             FinalFantasylization_InNeutralTownZimTorga = false
  2795.         end
  2796. --'==========================================================================================      
  2797. --' Neutral Towns: The Harborage, Swamp of Sorrows
  2798. --'==========================================================================================
  2799.         if not ( IsResting() ) and ( ZoneName == Z["Swamp of Sorrows"] ) and ( SubZoneName == SZ["The Harborage"] ) and FinalFantasylization_IsPlaying == false then
  2800.             if FinalFantasylization_InNeutralTownTheHarborage == false then
  2801.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  2802.                 FinalFantasylization_NeutralTownTheHarborage()
  2803.             end
  2804.             FinalFantasylization_IsPlaying = true
  2805.             FinalFantasylization_InNeutralTownTheHarborage = true
  2806.         else
  2807.             FinalFantasylization_InNeutralTownTheHarborage = false
  2808.         end
  2809. --'==========================================================================================      
  2810. --' Neutral Towns: Valor's Rest, Silithus
  2811. --'==========================================================================================
  2812.         if not ( IsResting() ) and ( ZoneName == Z["Silithus"] ) and ( SubZoneName == SZ["Valor's Rest"] ) and FinalFantasylization_IsPlaying == false then
  2813.             if FinalFantasylization_InNeutralTownValorsRest == false then
  2814.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  2815.                 FinalFantasylization_NeutralTownValorsRest()
  2816.             end
  2817.             FinalFantasylization_IsPlaying = true
  2818.             FinalFantasylization_InNeutralTownValorsRest = true
  2819.         else
  2820.             FinalFantasylization_InNeutralTownValorsRest = false
  2821.         end
  2822. --'==========================================================================================      
  2823. --' Neutral Towns: Steamwheedle Port, Tanaris
  2824. --'==========================================================================================
  2825.         if not ( IsResting() ) and ( ZoneName == Z["Tanaris"] ) and ( SubZoneName == SZ["Steamwheedle Port"] ) and FinalFantasylization_IsPlaying == false then
  2826.             if FinalFantasylization_InNeutralTownSteamwheedlePort == false then
  2827.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  2828.                 FinalFantasylization_NeutralTownSteamwheedlePort()
  2829.             end
  2830.             FinalFantasylization_IsPlaying = true
  2831.             FinalFantasylization_InNeutralTownSteamwheedlePort = true
  2832.         else
  2833.             FinalFantasylization_InNeutralTownSteamwheedlePort = false
  2834.         end
  2835. --'==========================================================================================      
  2836. --' Neutral Towns: Mirage Raceway, Thousand Needles
  2837. --'==========================================================================================
  2838.         if not ( IsResting() ) and ( ZoneName == Z["Thousand Needles"] ) and ( SubZoneName == SZ["Mirage Raceway"] ) and FinalFantasylization_IsPlaying == false then
  2839.             if FinalFantasylization_InNeutralTownMirageRaceway == false then
  2840.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  2841.                 FinalFantasylization_NeutralTownMirageRaceway()
  2842.             end
  2843.             FinalFantasylization_IsPlaying = true
  2844.             FinalFantasylization_InNeutralTownMirageRaceway = true
  2845.         else
  2846.             FinalFantasylization_InNeutralTownMirageRaceway = false
  2847.         end
  2848. --'==========================================================================================      
  2849. --' Neutral Towns: Aeris Landing, Nagrand
  2850. --'==========================================================================================
  2851.         if not ( IsResting() ) and ( ZoneName == Z["Nagrand"] ) and ( SubZoneName == SZ["Aeris Landing"] ) and FinalFantasylization_IsPlaying == false then
  2852.             if FinalFantasylization_InNeutralTownAerisLanding == false then
  2853.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  2854.                 FinalFantasylization_NeutralTownAerisLanding()
  2855.             end
  2856.             FinalFantasylization_IsPlaying = true
  2857.             FinalFantasylization_InNeutralTownAerisLanding = true
  2858.         else
  2859.             FinalFantasylization_InNeutralTownAerisLanding = false
  2860.         end
  2861. --'==========================================================================================      
  2862. --' Neutral Towns: Midrealm Post, Netherstorm
  2863. --'==========================================================================================
  2864.         if not ( IsResting() ) and ( ZoneName == Z["Netherstorm"] ) and ( ( SubZoneName == SZ["Midrealm Post"] ) or ( SubZoneName == SZ["Eco-Dome Midrealm"] ) ) and FinalFantasylization_IsPlaying == false then
  2865.             if FinalFantasylization_InNeutralTownMidrealmPost == false then
  2866.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  2867.                 FinalFantasylization_NeutralTownMidrealmPost()
  2868.             end
  2869.             FinalFantasylization_IsPlaying = true
  2870.             FinalFantasylization_InNeutralTownMidrealmPost = true
  2871.         else
  2872.             FinalFantasylization_InNeutralTownMidrealmPost = false
  2873.         end
  2874. --'==========================================================================================      
  2875. --' Neutral Towns: Protectorate Watch Post, Netherstorm
  2876. --'==========================================================================================
  2877.         if not ( IsResting() ) and ( ZoneName == Z["Netherstorm"] ) and ( SubZoneName == SZ["Protectorate Watch Post"] ) and FinalFantasylization_IsPlaying == false then
  2878.             if FinalFantasylization_InNeutralTownProtectorateWatchPost == false then
  2879.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  2880.                 FinalFantasylization_NeutralTownProtectorateWatchPost()
  2881.             end
  2882.             FinalFantasylization_IsPlaying = true
  2883.             FinalFantasylization_InNeutralTownProtectorateWatchPost = true
  2884.         else
  2885.             FinalFantasylization_InNeutralTownProtectorateWatchPost = false
  2886.         end
  2887. --'==========================================================================================      
  2888. --' Neutral Towns: Dawn's Reach, Dragonblight
  2889. --'==========================================================================================
  2890.         if not ( IsResting() ) and ( ZoneName ==Z["Dragonblight"] ) and ( SubZoneName == SZ["Dawn's Reach"] ) and FinalFantasylization_IsPlaying == false then
  2891.             if FinalFantasylization_InNeutralTownDawnsReach == false then
  2892.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  2893.                 FinalFantasylization_NeutralTownDawnsReach()
  2894.             end
  2895.             FinalFantasylization_IsPlaying = true
  2896.             FinalFantasylization_InNeutralTownDawnsReach = true
  2897.         else
  2898.             FinalFantasylization_InNeutralTownDawnsReach = false
  2899.         end
  2900. --'==========================================================================================      
  2901. --' Neutral Towns: Light's Trust, Dragonblight
  2902. --'==========================================================================================
  2903.         if not ( IsResting() ) and ( ZoneName ==Z["Dragonblight"] ) and ( SubZoneName == SZ["Light's Trust"] ) and FinalFantasylization_IsPlaying == false then
  2904.             if FinalFantasylization_InNeutralTownLightsTrust == false then
  2905.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  2906.                 FinalFantasylization_NeutralTownLightsTrust()
  2907.             end
  2908.             FinalFantasylization_IsPlaying = true
  2909.             FinalFantasylization_InNeutralTownLightsTrust = true
  2910.         else
  2911.             FinalFantasylization_InNeutralTownLightsTrust = false
  2912.         end
  2913. --'==========================================================================================      
  2914. --' Neutral Towns: Granite Springs, Grizzly Hills
  2915. --'==========================================================================================
  2916.         if not ( IsResting() ) and ( ZoneName == Z["Grizzly Hills"] ) and ( SubZoneName == SZ["Granite Springs"] ) and FinalFantasylization_IsPlaying == false then
  2917.             if FinalFantasylization_InNeutralTownGraniteSprings == false then
  2918.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  2919.                 FinalFantasylization_NeutralTownGraniteSprings()
  2920.             end
  2921.             FinalFantasylization_IsPlaying = true
  2922.             FinalFantasylization_InNeutralTownGraniteSprings = true
  2923.         else
  2924.             FinalFantasylization_InNeutralTownGraniteSprings = false
  2925.         end
  2926. --'==========================================================================================      
  2927. --' Neutral Towns: Venture Bay, Grizzly Hills
  2928. --'==========================================================================================
  2929.         if not ( IsResting() ) and ( ZoneName == Z["Grizzly Hills"] ) and ( SubZoneName == SZ["Venture Bay"] ) and FinalFantasylization_IsPlaying == false then
  2930.             if FinalFantasylization_InNeutralTownVentureBay == false then
  2931.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  2932.                 FinalFantasylization_NeutralTownVentureBay()
  2933.             end
  2934.             FinalFantasylization_IsPlaying = true
  2935.             FinalFantasylization_InNeutralTownVentureBay = true
  2936.         else
  2937.             FinalFantasylization_InNeutralTownVentureBay = false
  2938.         end
  2939. --'==========================================================================================      
  2940. --' Neutral Towns: Scalawag Point, Howling Fjord
  2941. --'==========================================================================================
  2942.         if not ( IsResting() ) and ( ZoneName == Z["Howling Fjord"] ) and ( SubZoneName == SZ["Scalawag Point"] ) and FinalFantasylization_IsPlaying == false then
  2943.             if FinalFantasylization_InNeutralTownScalawagPoint == false then
  2944.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  2945.                 FinalFantasylization_NeutralTownScalawagPoint()
  2946.             end
  2947.             FinalFantasylization_IsPlaying = true
  2948.             FinalFantasylization_InNeutralTownScalawagPoint = true
  2949.         else
  2950.             FinalFantasylization_InNeutralTownScalawagPoint = false
  2951.         end
  2952. --'==========================================================================================      
  2953. --' Neutral Towns: Blackwatch, Icecrown
  2954. --'==========================================================================================
  2955.         if not ( IsResting() ) and ( ZoneName == Z["Icecrown"] ) and ( SubZoneName == SZ["Blackwatch"] ) and FinalFantasylization_IsPlaying == false then
  2956.             if FinalFantasylization_InNeutralTownBlackwatch == false then
  2957.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  2958.                 FinalFantasylization_NeutralTownBlackwatch()
  2959.             end
  2960.             FinalFantasylization_IsPlaying = true
  2961.             FinalFantasylization_InNeutralTownBlackwatch = true
  2962.         else
  2963.             FinalFantasylization_InNeutralTownBlackwatch = false
  2964.         end
  2965. --'==========================================================================================      
  2966. --' Neutral Towns: Dorian's Outpost, Sholazar Basin
  2967. --'==========================================================================================
  2968.         if not ( IsResting() ) and ( ZoneName == Z["Sholazar Basin"] ) and ( SubZoneName == SZ["Dorian's Outpost"] ) and FinalFantasylization_IsPlaying == false then
  2969.             if FinalFantasylization_InNeutralTownDoriansOutpost == false then
  2970.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  2971.                 FinalFantasylization_NeutralTownDoriansOutpost()
  2972.             end
  2973.             FinalFantasylization_IsPlaying = true
  2974.             FinalFantasylization_InNeutralTownDoriansOutpost = true
  2975.         else
  2976.             FinalFantasylization_InNeutralTownDoriansOutpost = false
  2977.         end
  2978. --'==========================================================================================      
  2979. --' Neutral Towns: Kartak's Hold, Sholazar Basin
  2980. --'==========================================================================================
  2981.         if not ( IsResting() ) and ( ZoneName == Z["Sholazar Basin"] ) and ( SubZoneName == SZ["Kartak's Hold"] ) and FinalFantasylization_IsPlaying == false then
  2982.             if FinalFantasylization_InNeutralTownKartaksHold == false then
  2983.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  2984.                 FinalFantasylization_NeutralTownKartaksHold()
  2985.             end
  2986.             FinalFantasylization_IsPlaying = true
  2987.             FinalFantasylization_InNeutralTownKartaksHold = true
  2988.         else
  2989.             FinalFantasylization_InNeutralTownKartaksHold = false
  2990.         end
  2991. --'==========================================================================================      
  2992. --' Neutral Towns: Lakeside Landing, Sholazar Basin
  2993. --'==========================================================================================
  2994.         if not ( IsResting() ) and ( ZoneName == Z["Sholazar Basin"] ) and ( SubZoneName == SZ["Lakeside Landing"] ) and FinalFantasylization_IsPlaying == false then
  2995.             if FinalFantasylization_InNeutralTownLakesideLanding == false then
  2996.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  2997.                 FinalFantasylization_NeutralTownLakesideLanding()
  2998.             end
  2999.             FinalFantasylization_IsPlaying = true
  3000.             FinalFantasylization_InNeutralTownLakesideLanding = true
  3001.         else
  3002.             FinalFantasylization_InNeutralTownLakesideLanding = false
  3003.         end
  3004. --'==========================================================================================      
  3005. --' Neutral Towns: Mistwhisper Refuge, Sholazar Basin
  3006. --'==========================================================================================
  3007.         if not ( IsResting() ) and ( ZoneName == Z["Sholazar Basin"] ) and ( SubZoneName == SZ["Mistwhisper Refuge"] ) and FinalFantasylization_IsPlaying == false then
  3008.             if FinalFantasylization_InNeutralTownMistwhisperRefuge == false then
  3009.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  3010.                 FinalFantasylization_NeutralTownMistwhisperRefuge()
  3011.             end
  3012.             FinalFantasylization_IsPlaying = true
  3013.             FinalFantasylization_InNeutralTownMistwhisperRefuge = true
  3014.         else
  3015.             FinalFantasylization_InNeutralTownMistwhisperRefuge = false
  3016.         end
  3017. --'==========================================================================================      
  3018. --' Neutral Towns: Sparktouched Haven, Sholazar Basin
  3019. --'==========================================================================================
  3020.         if not ( IsResting() ) and ( ZoneName == Z["Sholazar Basin"] ) and ( SubZoneName == SZ["Sparktouched Haven"] ) and FinalFantasylization_IsPlaying == false then
  3021.             if FinalFantasylization_InNeutralTownSparktouchedHaven == false then
  3022.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  3023.                 FinalFantasylization_NeutralTownSparktouchedHaven()
  3024.             end
  3025.             FinalFantasylization_IsPlaying = true
  3026.             FinalFantasylization_InNeutralTownSparktouchedHaven = true
  3027.         else
  3028.             FinalFantasylization_InNeutralTownSparktouchedHaven = false
  3029.         end
  3030. --'==========================================================================================      
  3031. --' Neutral Towns: Spearborn Encampment, Sholazar Basin
  3032. --'==========================================================================================
  3033.         if not ( IsResting() ) and ( ZoneName == Z["Sholazar Basin"] ) and ( SubZoneName == SZ["Spearborn Encampment"] ) and FinalFantasylization_IsPlaying == false then
  3034.             if FinalFantasylization_InNeutralTownSpearbornEncampment == false then
  3035.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  3036.                 FinalFantasylization_NeutralTownSpearbornEncampment()
  3037.             end
  3038.             FinalFantasylization_IsPlaying = true
  3039.             FinalFantasylization_InNeutralTownSpearbornEncampment = true
  3040.         else
  3041.             FinalFantasylization_InNeutralTownSpearbornEncampment = false
  3042.         end
  3043. --'==========================================================================================      
  3044. --' Neutral Towns: Dubra'Jin, Zul'Drak
  3045. --'==========================================================================================
  3046.         if not ( IsResting() ) and ( ZoneName == Z["Zul'Drak"] ) and ( SubZoneName == SZ["Dubra'Jin"] ) and FinalFantasylization_IsPlaying == false then
  3047.             if FinalFantasylization_InNeutralTownDubraJin == false then
  3048.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  3049.                 FinalFantasylization_NeutralTownDubraJin()
  3050.             end
  3051.             FinalFantasylization_IsPlaying = true
  3052.             FinalFantasylization_InNeutralTownDubraJin = true
  3053.         else
  3054.             FinalFantasylization_InNeutralTownDubraJin = false
  3055.         end
  3056. --'==========================================================================================      
  3057. --' Neutral Towns: Ogri'la, Blade's Edge Mountains
  3058. --'==========================================================================================
  3059.         if not ( IsResting() ) and ( ZoneName == Z["Blade's Edge Mountains"] ) and ( SubZoneName == SZ["Ogri'la"] ) and FinalFantasylization_IsPlaying == false then
  3060.             if FinalFantasylization_InNeutralTownOgrila == false then
  3061.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  3062.                 FinalFantasylization_NeutralTownOgrila()
  3063.             end
  3064.             FinalFantasylization_IsPlaying = true
  3065.             FinalFantasylization_InNeutralTownOgrila = true
  3066.         else
  3067.             FinalFantasylization_InNeutralTownOgrila = false
  3068.         end
  3069. --'==========================================================================================      
  3070. --' Neutral Towns: Timbermaw Hold
  3071. --'==========================================================================================
  3072.         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
  3073.             if FinalFantasylization_InNeutralTownTimbermawHold == false then
  3074.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  3075.                 FinalFantasylization_NeutralTownTimbermawHold()
  3076.             end
  3077.             FinalFantasylization_IsPlaying = true
  3078.             FinalFantasylization_InNeutralTownTimbermawHold = true
  3079.         else
  3080.             FinalFantasylization_InNeutralTownTimbermawHold = false
  3081.         end
  3082. --'==========================================================================================      
  3083. --' Neutral Towns: Darrowshire, Eastern Plaguelands
  3084. --'==========================================================================================
  3085.         if not ( IsResting() ) and ( ZoneName == Z["Eastern Plaguelands"] ) and ( SubZoneName == SZ["Darrowshire"] ) and FinalFantasylization_IsPlaying == false then
  3086.             if FinalFantasylization_InNeutralTownDarrowshire == false then
  3087.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  3088.                 FinalFantasylization_NeutralTownDarrowshire()
  3089.             end
  3090.             FinalFantasylization_IsPlaying = true
  3091.             FinalFantasylization_InNeutralTownDarrowshire = true
  3092.         else
  3093.             FinalFantasylization_InNeutralTownDarrowshire = false
  3094.         end
  3095. --'==========================================================================================      
  3096. --' Neutral Towns: Kirin'Var Village, Netherstorm
  3097. --'==========================================================================================
  3098.         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
  3099.             if FinalFantasylization_InNeutralTownKirinVarVillage == false then
  3100.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  3101.                 FinalFantasylization_NeutralTownKirinVarVillage()
  3102.             end
  3103.             FinalFantasylization_IsPlaying = true
  3104.             FinalFantasylization_InNeutralTownKirinVarVillage = true
  3105.         else
  3106.             FinalFantasylization_InNeutralTownKirinVarVillage = false
  3107.         end
  3108.    
  3109. --###########################################################################################
  3110. --###########################################################################################
  3111. --##
  3112. --##            MISCELANEOUS ZONES
  3113. --##
  3114. --###########################################################################################
  3115. --###########################################################################################  
  3116.  
  3117. --'==========================================================================================      
  3118. --' Misc Areas: Deeprun Tram, Between Stormwing City and Ironforge
  3119. --'==========================================================================================
  3120.         if not ( IsResting () ) and ( ZoneName == Z["Deeprun Tram"] ) and FinalFantasylization_IsPlaying == false then
  3121.             if FinalFantasylization_InMiscAreaDeeprunTram == false then
  3122.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  3123.                 FinalFantasylization_MiscAreaDeeprunTram()
  3124.             end
  3125.             FinalFantasylization_IsPlaying = true
  3126.             FinalFantasylization_InMiscAreaDeeprunTram = true
  3127.         else
  3128.             FinalFantasylization_InMiscAreaDeeprunTram = false
  3129.         end
  3130. --'==========================================================================================      
  3131. --' Misc Areas: Scarlet Monastery, Tirisfal Glades (the building in Tirisfal Glades, not the instance itself.)
  3132. --'==========================================================================================
  3133.         if not ( IsInInstance() ) and ( ZoneName == Z["Scarlet Monastery"] ) and FinalFantasylization_IsPlaying == false then
  3134.             if FinalFantasylization_InMiscAreaScarletMonastery == false then
  3135.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  3136.                 FinalFantasylization_MiscAreaScarletMonastery()
  3137.             end
  3138.             FinalFantasylization_IsPlaying = true
  3139.             FinalFantasylization_InMiscAreaScarletMonastery = true
  3140.         else
  3141.             FinalFantasylization_InMiscAreaScarletMonastery = false
  3142.         end
  3143. --'==========================================================================================      
  3144. --' Misc Areas: Razorfen Kraul, The Barrens (the area directly before Razorfen Kraul instance)
  3145. --'==========================================================================================
  3146.         if not ( IsInInstance() ) and ( ( ZoneName == Z["Razorfen Kraul"] ) or ( SubZoneName == SZ["Razorfen Kraul"] ) ) and FinalFantasylization_IsPlaying == false then
  3147.             if FinalFantasylization_InMiscAreaRazorfenKraul == false then
  3148.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  3149.                 FinalFantasylization_MiscAreaRazorfenKraul()
  3150.             end
  3151.             FinalFantasylization_IsPlaying = true
  3152.             FinalFantasylization_InMiscAreaRazorfenKraul = true
  3153.         else
  3154.             FinalFantasylization_InMiscAreaRazorfenKraul = false
  3155.         end
  3156. --'==========================================================================================      
  3157. --' Misc Areas: Razorfen Downs, The Barrens (the area directly before Razorfen Kraul instance)
  3158. --'==========================================================================================
  3159.         if not ( IsInInstance() ) and ( ( ZoneName == Z["Razorfen Downs"] ) or ( SubZoneName == SZ["Razorfen Downs"] ) ) and FinalFantasylization_IsPlaying == false then
  3160.             if FinalFantasylization_InMiscAreaRazorfenDowns == false then
  3161.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  3162.                 FinalFantasylization_MiscAreaRazorfenDowns()
  3163.             end
  3164.             FinalFantasylization_IsPlaying = true
  3165.             FinalFantasylization_InMiscAreaRazorfenDowns = true
  3166.         else
  3167.             FinalFantasylization_InMiscAreaRazorfenDowns = false
  3168.         end
  3169. --'==========================================================================================      
  3170. --' Misc Areas: Wailing Caverns, The Barrens (the Cave before Wailing Caverns instance)
  3171. --'==========================================================================================
  3172.         if not ( IsInInstance() ) and ( ZoneName == Z["Wailing Caverns"] ) and FinalFantasylization_IsPlaying == false then
  3173.             if FinalFantasylization_InMiscAreaWailingCaverns == false then
  3174.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn .. " " .. ZoneName)
  3175.                 FinalFantasylization_MiscAreaWailingCaverns()
  3176.             end
  3177.             FinalFantasylization_IsPlaying = true
  3178.             FinalFantasylization_InMiscAreaWailingCaverns = true
  3179.         else
  3180.             FinalFantasylization_InMiscAreaWailingCaverns = false
  3181.         end
  3182. --'==========================================================================================      
  3183. --' Misc Areas: The Deadmines, Westfall (the Cave before The Deadmines instance)
  3184. --'==========================================================================================
  3185.         if not ( IsInInstance() ) and ( ZoneName == Z["The Deadmines"] ) and FinalFantasylization_IsPlaying == false then
  3186.             if FinalFantasylization_InMiscAreaTheDeadmines == false then
  3187.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  3188.                 FinalFantasylization_MiscAreaTheDeadmines()
  3189.             end
  3190.             FinalFantasylization_IsPlaying = true
  3191.             FinalFantasylization_InMiscAreaTheDeadmines = true
  3192.         else
  3193.             FinalFantasylization_InMiscAreaTheDeadmines = false
  3194.         end
  3195. --'==========================================================================================      
  3196. --' Misc Areas: Gnomeregan, Dun Morogh (the area before Gnomeregan instance)
  3197. --'==========================================================================================
  3198.         if not ( IsInInstance() ) and ( ZoneName == Z["Gnomeregan"] ) and FinalFantasylization_IsPlaying == false then
  3199.             if FinalFantasylization_InMiscAreaTheDeadmines == false then
  3200.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  3201.                 FinalFantasylization_MiscAreaTheDeadmines()
  3202.             end
  3203.             FinalFantasylization_IsPlaying = true
  3204.             FinalFantasylization_InMiscAreaTheDeadmines = true
  3205.         else
  3206.             FinalFantasylization_InMiscAreaTheDeadmines = false
  3207.         end
  3208. --'==========================================================================================      
  3209. --' Misc Areas: Caverns of Time, Tanaris
  3210. --'==========================================================================================
  3211.         if not ( IsResting() ) and ( ZoneName == Z["Tanaris"] ) and ( SubZoneName == SZ["Caverns of Time"] ) and FinalFantasylization_IsPlaying == false then
  3212.             if FinalFantasylization_InMiscAreaCavernsOfTime == false then
  3213.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  3214.                 FinalFantasylization_MiscAreaCavernsOfTime()
  3215.             end
  3216.             FinalFantasylization_IsPlaying = true
  3217.             FinalFantasylization_InMiscAreaCavernsOfTime = true
  3218.         else
  3219.             FinalFantasylization_InMiscAreaCavernsOfTime = false
  3220.         end
  3221.  
  3222. --###########################################################################################
  3223. --###########################################################################################
  3224. --##
  3225. --##            EASTERN KINGDOMS ZONES
  3226. --##
  3227. --###########################################################################################
  3228. --###########################################################################################
  3229.    
  3230. --'==========================================================================================      
  3231. --' Eastern Kingdoms Zones: Alterac Mountains
  3232. --'==========================================================================================
  3233.         if not ( IsResting () ) and ( ZoneName == Z["Alterac Mountains"] ) and FinalFantasylization_IsPlaying == false then
  3234.             if FinalFantasylization_InEasternKingdomsAlteracMountains == false then
  3235.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  3236.                 FinalFantasylization_EasternKingdomsAlteracMountains()
  3237.             end
  3238.             FinalFantasylization_IsPlaying = true
  3239.             FinalFantasylization_InEasternKingdomsAlteracMountains = true
  3240.         else
  3241.             FinalFantasylization_InEasternKingdomsAlteracMountains = false
  3242.         end
  3243. --'==========================================================================================      
  3244. --' Eastern Kingdoms Zones: Arathi Highlands
  3245. --'==========================================================================================
  3246.         if not ( IsResting () ) and ( ZoneName == Z["Arathi Highlands"] ) and FinalFantasylization_IsPlaying == false then
  3247.             if FinalFantasylization_InEasternKingdomsArathiHighlands == false then
  3248.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  3249.                 FinalFantasylization_EasternKingdomsArathiHighlands()
  3250.             end
  3251.             FinalFantasylization_IsPlaying = true
  3252.             FinalFantasylization_InEasternKingdomsArathiHighlands = true
  3253.         else
  3254.             FinalFantasylization_InEasternKingdomsArathiHighlands = false
  3255.         end
  3256. --'==========================================================================================      
  3257. --' Eastern Kingdoms Zones: Badlands
  3258. --'==========================================================================================
  3259.         if not ( IsResting() ) and ( ZoneName == Z["Badlands"] ) and FinalFantasylization_IsPlaying == false then
  3260.             if FinalFantasylization_InEasternKingdomsBadlands == false then
  3261.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  3262.                 FinalFantasylization_EasternKingdomsBadlands()
  3263.             end
  3264.             FinalFantasylization_IsPlaying = true
  3265.             FinalFantasylization_InEasternKingdomsBadlands = true
  3266.         else
  3267.             FinalFantasylization_InEasternKingdomsBadlands = false
  3268.         end
  3269. --'==========================================================================================      
  3270. --' Eastern Kingdoms Zones: Blackrock Mountain
  3271. --'==========================================================================================
  3272.         if not ( IsResting () ) and ( ZoneName == Z["Blackrock Mountain"] ) and FinalFantasylization_IsPlaying == false then
  3273.             if FinalFantasylization_InEasternKingdomsBlackrockMountain == false then
  3274.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  3275.                 FinalFantasylization_EasternKingdomsBlackrockMountain()
  3276.             end
  3277.             FinalFantasylization_IsPlaying = true
  3278.             FinalFantasylization_InEasternKingdomsBlackrockMountain = true
  3279.         else
  3280.             FinalFantasylization_InEasternKingdomsBlackrockMountain = false
  3281.         end
  3282. --'==========================================================================================      
  3283. --' Eastern Kingdoms Zones: Blasted Lands
  3284. --'==========================================================================================
  3285.         if not ( IsResting () ) and ( ZoneName == Z["Blasted Lands"] ) and FinalFantasylization_IsPlaying == false then
  3286.             if FinalFantasylization_InEasternKingdomsTheBlastedLands == false then
  3287.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  3288.                 FinalFantasylization_EasternKingdomsBlastedLands()
  3289.             end
  3290.             FinalFantasylization_IsPlaying = true
  3291.             FinalFantasylization_InEasternKingdomsTheBlastedLands = true
  3292.         else
  3293.             FinalFantasylization_InEasternKingdomsTheBlastedLands = false
  3294.         end
  3295. --'==========================================================================================      
  3296. --' Eastern Kingdoms Zones: Burning Steppes
  3297. --'==========================================================================================
  3298.         if not ( IsResting () ) and ( ZoneName == Z["Burning Steppes"] ) and FinalFantasylization_IsPlaying == false then
  3299.             if FinalFantasylization_InEasternKingdomsBurningSteppes == false then
  3300.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  3301.                 FinalFantasylization_EasternKingdomsBurningSteppes()
  3302.             end
  3303.             FinalFantasylization_IsPlaying = true
  3304.             FinalFantasylization_InEasternKingdomsBurningSteppes = true
  3305.         else
  3306.             FinalFantasylization_InEasternKingdomsBurningSteppes = false
  3307.         end
  3308. --'==========================================================================================      
  3309. --' Eastern Kingdoms Zones: Deadwind Pass
  3310. --'==========================================================================================
  3311.         if not ( IsResting () ) and ( ZoneName == Z["Deadwind Pass"] ) and FinalFantasylization_IsPlaying == false then
  3312.             if FinalFantasylization_InEasternKingdomsDeadwindPass == false then
  3313.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  3314.                 FinalFantasylization_EasternKingdomsDeadwindPass()
  3315.             end
  3316.             FinalFantasylization_IsPlaying = true
  3317.             FinalFantasylization_InEasternKingdomsDeadwindPass = true
  3318.         else
  3319.             FinalFantasylization_InEasternKingdomsDeadwindPass = false
  3320.         end
  3321. --'==========================================================================================      
  3322. --' Eastern Kingdoms Zones: Dun Morogh : ALLIANCE TERRITORY
  3323. --'==========================================================================================
  3324.         if not ( IsResting() ) and ( ZoneName == Z["Dun Morogh"] ) and FinalFantasylization_IsPlaying == false then
  3325.             if FinalFantasylization_InEasternKingdomsDunMorogh == false then
  3326.                 if ( factionEnglish == F["Alliance"] ) then
  3327.                     FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  3328.                     FinalFantasylization_EasternKingdomsDunMorogh()
  3329.                 else
  3330.                     FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
  3331.                     FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
  3332.                 end
  3333.                 FinalFantasylization_IsPlaying = true
  3334.                 FinalFantasylization_InEasternKingdomsDunMorogh = true
  3335.             end
  3336.             FinalFantasylization_InEasternKingdomsDunMorogh = false
  3337.         end
  3338. --'==========================================================================================      
  3339. --' Eastern Kingdoms Zones: Duskwood
  3340. --'==========================================================================================
  3341.         if not ( IsResting () ) and ( ZoneName == Z["Duskwood"] ) and FinalFantasylization_IsPlaying == false then
  3342.             if FinalFantasylization_InEasternKingdomsDuskwood == false then
  3343.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  3344.                 FinalFantasylization_EasternKingdomsDuskwood()
  3345.             end
  3346.             FinalFantasylization_IsPlaying = true
  3347.             FinalFantasylization_InEasternKingdomsDuskwood = true
  3348.         else
  3349.             FinalFantasylization_InEasternKingdomsDuskwood = false
  3350.         end
  3351. --'==========================================================================================      
  3352. --' Eastern Kingdoms Zones: Eastern Plaguelands
  3353. --'==========================================================================================
  3354.         if not ( IsResting () ) and ( ZoneName == Z["Eastern Plaguelands"] ) and FinalFantasylization_IsPlaying == false then
  3355.             if FinalFantasylization_InEasternKingdomsEasternPlaguelands == false then
  3356.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  3357.                 FinalFantasylization_EasternKingdomsEasternPlaguelands()
  3358.             end
  3359.             FinalFantasylization_IsPlaying = true
  3360.             FinalFantasylization_InEasternKingdomsEasternPlaguelands = true
  3361.         else
  3362.             FinalFantasylization_InEasternKingdomsEasternPlaguelands = false
  3363.         end
  3364. --'==========================================================================================      
  3365. --' Eastern Kingdoms Zones: Elwynn Forest : ALLIANCE TERRITORY
  3366. --'==========================================================================================
  3367.         if not ( IsResting() ) and ( ZoneName == Z["Elwynn Forest"] ) and FinalFantasylization_IsPlaying == false then
  3368.             if FinalFantasylization_InEasternKingdomsElwynnForest == false then
  3369.                 if ( factionEnglish == F["Alliance"] ) then
  3370.                     FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  3371.                     FinalFantasylization_EasternKingdomsElwynnForest()
  3372.                 else
  3373.                     FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
  3374.                     FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
  3375.                 end
  3376.                 FinalFantasylization_IsPlaying = true
  3377.                 FinalFantasylization_InEasternKingdomsElwynnForest = true
  3378.             end
  3379.             FinalFantasylization_InEasternKingdomsElwynnForest = false
  3380.         end
  3381. --'==========================================================================================      
  3382. --' Eastern Kingdoms Zones: Eversong Woods : HORDE TERRITORY
  3383. --'==========================================================================================
  3384.         if not ( IsResting() ) and ( ZoneName == Z["Eversong Woods"] ) and FinalFantasylization_IsPlaying == false then
  3385.             if FinalFantasylization_InEasternKingdomsEversongWoods == false then
  3386.                 if ( factionEnglish == F["Horde"] ) then
  3387.                     FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  3388.                     FinalFantasylization_EasternKingdomsEversongWoods()
  3389.                 else
  3390.                     FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
  3391.                     FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
  3392.                 end
  3393.                 FinalFantasylization_IsPlaying = true
  3394.                 FinalFantasylization_InEasternKingdomsEversongWoods = true
  3395.             end
  3396.             FinalFantasylization_InEasternKingdomsEversongWoods = false
  3397.         end
  3398. --'==========================================================================================      
  3399. --' Eastern Kingdoms Zones: Ghostlands : HORDE TERRITORY
  3400. --'==========================================================================================
  3401.         if not ( IsResting() ) and ( ZoneName == Z["Ghostlands"] ) and FinalFantasylization_IsPlaying == false then
  3402.             if FinalFantasylization_InEasternKingdomsGhostlands == false then
  3403.                 if ( factionEnglish == F["Horde"] ) then
  3404.                     FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  3405.                     FinalFantasylization_EasternKingdomsGhostlands()
  3406.                 else
  3407.                     FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
  3408.                     FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
  3409.                 end
  3410.                 FinalFantasylization_IsPlaying = true
  3411.                 FinalFantasylization_InEasternKingdomsGhostlands = true
  3412.             end
  3413.             FinalFantasylization_InEasternKingdomsGhostlands = false
  3414.         end
  3415. --'==========================================================================================      
  3416. --' Eastern Kingdoms Zones: Hillsbrad Foothills
  3417. --'==========================================================================================
  3418.         if not ( IsResting () ) and ( ZoneName == Z["Hillsbrad Foothills"] ) and FinalFantasylization_IsPlaying == false then
  3419.             if FinalFantasylization_InEasternKingdomsHillsbradFoothills == false then
  3420.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  3421.                 FinalFantasylization_EasternKingdomsHillsbradFoothills()
  3422.             end
  3423.             FinalFantasylization_IsPlaying = true
  3424.             FinalFantasylization_InEasternKingdomsHillsbradFoothills = true
  3425.         else
  3426.             FinalFantasylization_InEasternKingdomsHillsbradFoothills = false
  3427.         end
  3428. --'==========================================================================================      
  3429. --' Eastern Kingdoms Zones: Isle of Quel'Danas
  3430. --'==========================================================================================
  3431.         if not ( IsResting () ) and ( ZoneName == Z["Isle of Quel'Danas"] ) and FinalFantasylization_IsPlaying == false then
  3432.             if FinalFantasylization_InEasternKingdomsIsleofQuelDanas == false then
  3433.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  3434.                 FinalFantasylization_EasternKingdomsIsleofQuelDanas()
  3435.             end
  3436.             FinalFantasylization_IsPlaying = true
  3437.             FinalFantasylization_InEasternKingdomsIsleofQuelDanas = true
  3438.         else
  3439.             FinalFantasylization_InEasternKingdomsIsleofQuelDanas = false
  3440.         end
  3441. --'==========================================================================================      
  3442. --' Eastern Kingdoms Zones: Loch Modan : ALLIANCE TERRITORY
  3443. --'==========================================================================================
  3444.         if not ( IsResting() ) and ( ZoneName == Z["Loch Modan"] ) and FinalFantasylization_IsPlaying == false then
  3445.             if FinalFantasylization_InEasternKingdomsLochModan == false then
  3446.                 if ( factionEnglish == F["Alliance"] ) then
  3447.                     FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  3448.                     FinalFantasylization_EasternKingdomsLochModan()
  3449.                 else
  3450.                     FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
  3451.                     FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
  3452.                 end
  3453.                 FinalFantasylization_IsPlaying = true
  3454.                 FinalFantasylization_InEasternKingdomsLochModan = true
  3455.             end
  3456.             FinalFantasylization_InEasternKingdomsLochModan = false
  3457.         end
  3458. --'==========================================================================================      
  3459. --' Eastern Kingdoms Zones: Redridge Mountains
  3460. --'==========================================================================================
  3461.         if not ( IsResting () ) and ( ZoneName == Z["Redridge Mountains"] ) and FinalFantasylization_IsPlaying == false then
  3462.             if FinalFantasylization_InEasternKingdomsRedridgeMountains == false then
  3463.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  3464.                 FinalFantasylization_EasternKingdomsRedridgeMountains()
  3465.             end
  3466.             FinalFantasylization_IsPlaying = true
  3467.             FinalFantasylization_InEasternKingdomsRedridgeMountains = true
  3468.         else
  3469.             FinalFantasylization_InEasternKingdomsRedridgeMountains = false
  3470.         end
  3471. --'==========================================================================================      
  3472. --' Eastern Kingdoms Zones: Searing Gorge
  3473. --'==========================================================================================
  3474.         if not ( IsResting () ) and ( ZoneName == Z["Searing Gorge"] ) and FinalFantasylization_IsPlaying == false then
  3475.             if FinalFantasylization_InEasternKingdomsSearingGorge == false then
  3476.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  3477.                 FinalFantasylization_EasternKingdomsSearingGorge()
  3478.             end
  3479.             FinalFantasylization_IsPlaying = true
  3480.             FinalFantasylization_InEasternKingdomsSearingGorge = true
  3481.         else
  3482.             FinalFantasylization_InEasternKingdomsSearingGorge = false
  3483.         end
  3484. --'==========================================================================================      
  3485. --' Eastern Kingdoms Zones: Silverpine Forest : HORDE TERRITORY
  3486. --'==========================================================================================
  3487.         if not ( IsResting() ) and ( ZoneName == Z["Silverpine Forest"] ) and FinalFantasylization_IsPlaying == false then
  3488.             if FinalFantasylization_InEasternKingdomsSilverpineForest == false then
  3489.                 if ( factionEnglish == F["Horde"] ) then
  3490.                     FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  3491.                     FinalFantasylization_EasternKingdomsSilverpineForest()
  3492.                 else
  3493.                     FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
  3494.                     FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
  3495.                 end
  3496.                 FinalFantasylization_IsPlaying = true
  3497.                 FinalFantasylization_InEasternKingdomsSilverpineForest = true
  3498.             end
  3499.             FinalFantasylization_InEasternKingdomsSilverpineForest = false
  3500.         end
  3501. --'==========================================================================================      
  3502. --' Eastern Kingdoms Zones: Stranglethorn Vale
  3503. --'==========================================================================================
  3504.         if not ( IsResting () ) and ( ZoneName == Z["Stranglethorn Vale"] ) and FinalFantasylization_IsPlaying == false then
  3505.             if FinalFantasylization_InEasternKingdomsStranglethornVale == false then
  3506.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  3507.                 FinalFantasylization_EasternKingdomsStranglethornVale()
  3508.             end
  3509.             FinalFantasylization_IsPlaying = true
  3510.             FinalFantasylization_InEasternKingdomsStranglethornVale = true
  3511.         else
  3512.             FinalFantasylization_InEasternKingdomsStranglethornVale = false
  3513.         end
  3514. --'==========================================================================================      
  3515. --' Eastern Kingdoms Zones: Swamp of Sorrows
  3516. --'==========================================================================================
  3517.         if not ( IsResting () ) and ( ZoneName == Z["Swamp of Sorrows"] ) and FinalFantasylization_IsPlaying == false then
  3518.             if FinalFantasylization_InEasternKingdomsSwampOfSorrows == false then
  3519.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  3520.                 FinalFantasylization_EasternKingdomsSwampOfSorrows()
  3521.             end
  3522.             FinalFantasylization_IsPlaying = true
  3523.             FinalFantasylization_InEasternKingdomsSwampOfSorrows = true
  3524.         else
  3525.             FinalFantasylization_InEasternKingdomsSwampOfSorrows = false
  3526.         end
  3527. --'==========================================================================================      
  3528. --' Eastern Kingdoms Zones: The Hinterlands
  3529. --'==========================================================================================
  3530.         if not ( IsResting () ) and ( ZoneName == Z["The Hinterlands"] ) and FinalFantasylization_IsPlaying == false then
  3531.             if FinalFantasylization_InEasternKingdomsTheHinterlands == false then
  3532.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  3533.                 FinalFantasylization_EasternKingdomsTheHinterlands()
  3534.             end
  3535.             FinalFantasylization_IsPlaying = true
  3536.             FinalFantasylization_InEasternKingdomsTheHinterlands = true
  3537.         else
  3538.             FinalFantasylization_InEasternKingdomsTheHinterlands = false
  3539.         end
  3540. --'==========================================================================================      
  3541. --' Eastern Kingdoms Zones: Tirisfal Glades : HORDE TERRITORY
  3542. --'==========================================================================================
  3543.         if not ( IsResting() ) and ( ZoneName == Z["Tirisfal Glades"] ) and FinalFantasylization_IsPlaying == false then
  3544.             if FinalFantasylization_InEasternKingdomsTirisfalGlades == false then
  3545.                 if ( factionEnglish == F["Horde"] ) then
  3546.                     FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  3547.                     FinalFantasylization_EasternKingdomsTirisfalGlades()
  3548.                 else
  3549.                     FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
  3550.                     FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
  3551.                 end
  3552.                 FinalFantasylization_IsPlaying = true
  3553.                 FinalFantasylization_InEasternKingdomsTirisfalGlades = true
  3554.             end
  3555.             FinalFantasylization_InEasternKingdomsTirisfalGlades = false
  3556.         end
  3557. --'==========================================================================================      
  3558. --' Eastern Kingdoms Zones: Western Plaguelands
  3559. --'==========================================================================================
  3560.         if not ( IsResting () ) and ( ZoneName == Z["Western Plaguelands"] ) and FinalFantasylization_IsPlaying == false then
  3561.             if FinalFantasylization_InEasternKingdomsWesternPlaguelands == false then
  3562.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  3563.                 FinalFantasylization_EasternKingdomsWesternPlaguelands()
  3564.             end
  3565.             FinalFantasylization_IsPlaying = true
  3566.             FinalFantasylization_InEasternKingdomsWesternPlaguelands = true
  3567.         else
  3568.             FinalFantasylization_InEasternKingdomsWesternPlaguelands = false
  3569.         end
  3570. --'==========================================================================================      
  3571. --' Eastern Kingdoms Zones: Westfall : ALLIANCE TERRITORY
  3572. --'==========================================================================================
  3573.         if not ( IsResting() ) and ( ZoneName == Z["Westfall"] ) and FinalFantasylization_IsPlaying == false then
  3574.             if FinalFantasylization_InEasternKingdomsWestfall == false then
  3575.                 if ( factionEnglish == F["Alliance"] ) then
  3576.                     FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  3577.                     FinalFantasylization_EasternKingdomsWestfall()
  3578.                 else
  3579.                     FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
  3580.                     FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
  3581.                 end
  3582.                 FinalFantasylization_IsPlaying = true
  3583.                 FinalFantasylization_InEasternKingdomsWestfall = true
  3584.             end
  3585.             FinalFantasylization_InEasternKingdomsWestfall = false
  3586.         end
  3587. --'==========================================================================================      
  3588. --' Eastern Kingdoms Zones: Wetlands
  3589. --'==========================================================================================
  3590.         if not ( IsResting () ) and ( ZoneName == Z["Wetlands"] ) and FinalFantasylization_IsPlaying == false then
  3591.             if FinalFantasylization_InEasternKingdomsWetlands == false then
  3592.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  3593.                 FinalFantasylization_EasternKingdomsWetlands()
  3594.             end
  3595.             FinalFantasylization_IsPlaying = true
  3596.             FinalFantasylization_InEasternKingdomsWetlands = true
  3597.         else
  3598.             FinalFantasylization_InEasternKingdomsWetlands = false
  3599.         end
  3600.  
  3601. --###########################################################################################
  3602. --###########################################################################################
  3603. --##
  3604. --##            KALIMDOR ZONES
  3605. --##
  3606. --###########################################################################################
  3607. --###########################################################################################
  3608.  
  3609. --'==========================================================================================      
  3610. --' Kalimdor Zones: Ashenvale
  3611. --'==========================================================================================
  3612.         if not ( IsResting () ) and ( ZoneName == Z["Ashenvale"] ) and FinalFantasylization_IsPlaying == false then
  3613.             if FinalFantasylization_InKalimdorAshenvale == false then
  3614.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  3615.                 FinalFantasylization_KalimdorAshenvale()
  3616.             end
  3617.             FinalFantasylization_IsPlaying = true
  3618.             FinalFantasylization_InKalimdorAshenvale = true
  3619.         else
  3620.             FinalFantasylization_InKalimdorAshenvale = false
  3621.         end
  3622. --'==========================================================================================      
  3623. --' Kalimdor Zones: Azshara
  3624. --'==========================================================================================
  3625.         if not ( IsResting () ) and ( ZoneName == Z["Azshara"] ) and FinalFantasylization_IsPlaying == false then
  3626.             if FinalFantasylization_InKalimdorAzshara == false then
  3627.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  3628.                 FinalFantasylization_KalimdorAzshara()
  3629.             end
  3630.             FinalFantasylization_IsPlaying = true
  3631.             FinalFantasylization_InKalimdorAzshara = true
  3632.         else
  3633.             FinalFantasylization_InKalimdorAzshara = false
  3634.         end
  3635. --'==========================================================================================      
  3636. --' Kalimdor Zones: Azuremyst Isle : ALLIANCE TERRITORY
  3637. --'==========================================================================================
  3638.         if not ( IsResting() ) and ( ZoneName == Z["Azuremyst Isle"] ) and FinalFantasylization_IsPlaying == false then
  3639.             if FinalFantasylization_InKalimdorAzuremystIsle == false then
  3640.                 if ( factionEnglish == F["Alliance"] ) then
  3641.                     FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  3642.                     FinalFantasylization_KalimdorAzuremystIsle()
  3643.                 else
  3644.                     FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
  3645.                     FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
  3646.                 end
  3647.                 FinalFantasylization_IsPlaying = true
  3648.                 FinalFantasylization_InKalimdorAzuremystIsle = true
  3649.             end
  3650.             FinalFantasylization_InKalimdorAzuremystIsle = false
  3651.         end
  3652. --'==========================================================================================      
  3653. --' Kalimdor Zones: Bloodmyst Isle : ALLIANCE TERRITORY
  3654. --'==========================================================================================
  3655.         if not ( IsResting() ) and ( ZoneName == Z["Bloodmyst Isle"] ) and FinalFantasylization_IsPlaying == false then
  3656.             if FinalFantasylization_InKalimdorBloodmystIsle == false then
  3657.                 if ( factionEnglish == F["Alliance"] ) then
  3658.                     FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  3659.                     FinalFantasylization_KalimdorBloodmystIsle()
  3660.                 else
  3661.                     FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
  3662.                     FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
  3663.                 end
  3664.                 FinalFantasylization_IsPlaying = true
  3665.                 FinalFantasylization_InKalimdorBloodmystIsle = true
  3666.             end
  3667.             FinalFantasylization_InKalimdorBloodmystIsle = false
  3668.         end
  3669. --'==========================================================================================      
  3670. --' Kalimdor Zones: Darkshore : ALLIANCE TERRITORY
  3671. --'==========================================================================================
  3672.         if not ( IsResting() ) and ( ZoneName == Z["Darkshore"] ) and FinalFantasylization_IsPlaying == false then
  3673.             if FinalFantasylization_InKalimdorDarkshore == false then
  3674.                 if ( factionEnglish == F["Alliance"] ) then
  3675.                     FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  3676.                     FinalFantasylization_KalimdorDarkshore()
  3677.                 else
  3678.                     FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
  3679.                     FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
  3680.                 end
  3681.                 FinalFantasylization_IsPlaying = true
  3682.                 FinalFantasylization_InKalimdorDarkshore = true
  3683.             end
  3684.             FinalFantasylization_InKalimdorDarkshore = false
  3685.         end
  3686. --'==========================================================================================      
  3687. --' Kalimdor Zones: Desolace
  3688. --'==========================================================================================
  3689.         if not ( IsResting () ) and ( ZoneName == Z["Desolace"] ) and FinalFantasylization_IsPlaying == false then
  3690.             if FinalFantasylization_InKalimdorDesolace == false then
  3691.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  3692.                 FinalFantasylization_KalimdorDesolace()
  3693.             end
  3694.             FinalFantasylization_IsPlaying = true
  3695.             FinalFantasylization_InKalimdorDesolace = true
  3696.         else
  3697.             FinalFantasylization_InKalimdorDesolace = false
  3698.         end
  3699. --'==========================================================================================      
  3700. --' Kalimdor Zones: Durotar : HORDE TERRITORY
  3701. --'==========================================================================================
  3702.         if not ( IsResting() ) and ( ZoneName == Z["Durotar"] ) and FinalFantasylization_IsPlaying == false then
  3703.             if FinalFantasylization_InKalimdorDurotar == false then
  3704.                 if ( factionEnglish == F["Horde"] ) then
  3705.                     FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  3706.                     FinalFantasylization_KalimdorDurotar()
  3707.                 else
  3708.                     FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
  3709.                     FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
  3710.                 end
  3711.                 FinalFantasylization_IsPlaying = true
  3712.                 FinalFantasylization_InKalimdorDurotar = true
  3713.             end
  3714.             FinalFantasylization_InKalimdorDurotar = false
  3715.         end
  3716. --'==========================================================================================      
  3717. --' Kalimdor Zones: Dustwallow Marsh
  3718. --'==========================================================================================
  3719.         if not ( IsResting () ) and ( ZoneName == Z["Dustwallow Marsh"] ) and FinalFantasylization_IsPlaying == false then
  3720.             if FinalFantasylization_InKalimdorDustwallowMarsh == false then
  3721.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  3722.                 FinalFantasylization_KalimdorDustwallowMarsh()
  3723.             end
  3724.             FinalFantasylization_IsPlaying = true
  3725.             FinalFantasylization_InKalimdorDustwallowMarsh = true
  3726.         else
  3727.             FinalFantasylization_InKalimdorDustwallowMarsh = false
  3728.         end
  3729. --'==========================================================================================      
  3730. --' Kalimdor Zones: Felwood
  3731. --'==========================================================================================
  3732.         if not ( IsResting () ) and ( ZoneName == Z["Felwood"] ) and FinalFantasylization_IsPlaying == false then
  3733.             if FinalFantasylization_InKalimdorFelwood == false then
  3734.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  3735.                 FinalFantasylization_KalimdorFelwood()
  3736.             end
  3737.             FinalFantasylization_IsPlaying = true
  3738.             FinalFantasylization_InKalimdorFelwood = true
  3739.         else
  3740.             FinalFantasylization_InKalimdorFelwood = false
  3741.         end
  3742. --'==========================================================================================      
  3743. --' Kalimdor Zones: Feralas
  3744. --'==========================================================================================
  3745.         if not ( IsResting () ) and ( ZoneName == Z["Feralas"] ) and FinalFantasylization_IsPlaying == false then
  3746.             if FinalFantasylization_InKalimdorFeralas == false then
  3747.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  3748.                 FinalFantasylization_KalimdorFeralas()
  3749.             end
  3750.             FinalFantasylization_IsPlaying = true
  3751.             FinalFantasylization_InKalimdorFeralas = true
  3752.         else
  3753.             FinalFantasylization_InKalimdorFeralas = false
  3754.         end
  3755. --'==========================================================================================      
  3756. --' Kalimdor Zones: Moonglade
  3757. --'==========================================================================================
  3758.         if not ( IsResting () ) and ( ZoneName == Z["Moonglade"] ) and FinalFantasylization_IsPlaying == false then
  3759.             if FinalFantasylization_InKalimdorMoonglade == false then
  3760.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  3761.                 FinalFantasylization_KalimdorMoonglade()
  3762.             end
  3763.             FinalFantasylization_IsPlaying = true
  3764.             FinalFantasylization_InKalimdorMoonglade = true
  3765.         else
  3766.             FinalFantasylization_InKalimdorMoonglade = false
  3767.         end
  3768. --'==========================================================================================      
  3769. --' Kalimdor Zones: Mulgore : HORDE TERRITORY
  3770. --'==========================================================================================
  3771.         if not ( IsResting() ) and ( ZoneName == Z["Mulgore"] ) and FinalFantasylization_IsPlaying == false then
  3772.             if FinalFantasylization_InKalimdorMulgore == false then
  3773.                 if ( factionEnglish == F["Horde"] ) then
  3774.                     FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  3775.                     FinalFantasylization_KalimdorMulgore()
  3776.                 else
  3777.                     FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
  3778.                     FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
  3779.                 end
  3780.                 FinalFantasylization_IsPlaying = true
  3781.                 FinalFantasylization_InKalimdorMulgore = true
  3782.             end
  3783.             FinalFantasylization_InKalimdorMulgore = false
  3784.         end
  3785. --'==========================================================================================      
  3786. --' Kalimdor Zones: Silithus
  3787. --'==========================================================================================
  3788.         if not ( IsResting () ) and ( ZoneName == Z["Silithus"] ) and FinalFantasylization_IsPlaying == false then
  3789.             if FinalFantasylization_InKalimdorSilithus == false then
  3790.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  3791.                 FinalFantasylization_KalimdorSilithus()
  3792.             end
  3793.             FinalFantasylization_IsPlaying = true
  3794.             FinalFantasylization_InKalimdorSilithus = true
  3795.         else
  3796.             FinalFantasylization_InKalimdorSilithus = false
  3797.         end
  3798. --'==========================================================================================      
  3799. --' Kalimdor Zones: Stonetalon Mountains
  3800. --'==========================================================================================
  3801.         if not ( IsResting () ) and ( ZoneName == Z["Stonetalon Mountains"] ) and FinalFantasylization_IsPlaying == false then
  3802.             if FinalFantasylization_InKalimdorStonetalonMountains == false then
  3803.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  3804.                 FinalFantasylization_KalimdorStonetalonMountains()
  3805.             end
  3806.             FinalFantasylization_IsPlaying = true
  3807.             FinalFantasylization_InKalimdorStonetalonMountains = true
  3808.         else
  3809.             FinalFantasylization_InKalimdorStonetalonMountains = false
  3810.         end
  3811. --'==========================================================================================      
  3812. --' Kalimdor Zones: Tanaris
  3813. --'==========================================================================================
  3814.         if not ( IsResting () ) and ( ZoneName == Z["Tanaris"] ) and FinalFantasylization_IsPlaying == false then
  3815.             if FinalFantasylization_InKalimdorTanaris == false then
  3816.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  3817.                 FinalFantasylization_KalimdorTanaris()
  3818.             end
  3819.             FinalFantasylization_IsPlaying = true
  3820.             FinalFantasylization_InKalimdorTanaris = true
  3821.         else
  3822.             FinalFantasylization_InKalimdorTanaris = false
  3823.         end
  3824. --'==========================================================================================      
  3825. --' Kalimdor Zones: Teldrassil : ALLIANCE TERRITORY
  3826. --'==========================================================================================
  3827.         if not ( IsResting() ) and ( ZoneName == Z["Teldrassil"] ) and FinalFantasylization_IsPlaying == false then
  3828.             if FinalFantasylization_InKalimdorTeldrassil == false then
  3829.                 if ( factionEnglish == F["Alliance"] ) then
  3830.                     FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  3831.                     FinalFantasylization_KalimdorTeldrassil()
  3832.                 else
  3833.                     FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
  3834.                     FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
  3835.                 end
  3836.                 FinalFantasylization_IsPlaying = true
  3837.                 FinalFantasylization_InKalimdorTeldrassil = true
  3838.             end
  3839.             FinalFantasylization_InKalimdorTeldrassil = false
  3840.         end
  3841. --'==========================================================================================      
  3842. --' Kalimdor Zones: The Barrens : HORDE TERRITORY
  3843. --'==========================================================================================
  3844.         if not ( IsResting() ) and ( ZoneName == Z["The Barrens"] ) and FinalFantasylization_IsPlaying == false then
  3845.             if FinalFantasylization_InKalimdorTheBarrens == false then
  3846.                 if ( factionEnglish == F["Horde"] ) then
  3847.                     FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  3848.                     FinalFantasylization_KalimdorTheBarrens()
  3849.                 else
  3850.                     FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
  3851.                     FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
  3852.                 end
  3853.                 FinalFantasylization_IsPlaying = true
  3854.                 FinalFantasylization_InKalimdorTheBarrens = true
  3855.             end
  3856.             FinalFantasylization_InKalimdorTheBarrens = false
  3857.         end
  3858. --'==========================================================================================      
  3859. --' Kalimdor Zones: Thousand Needles
  3860. --'==========================================================================================
  3861.         if not ( IsResting () ) and ( ZoneName == Z["Thousand Needles"] ) and FinalFantasylization_IsPlaying == false then
  3862.             if FinalFantasylization_InKalimdorThousandNeedles == false then
  3863.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  3864.                 FinalFantasylization_KalimdorThousandNeedles()
  3865.             end
  3866.             FinalFantasylization_IsPlaying = true
  3867.             FinalFantasylization_InKalimdorThousandNeedles = true
  3868.         else
  3869.             FinalFantasylization_InKalimdorThousandNeedles = false
  3870.         end
  3871. --'==========================================================================================      
  3872. --' Kalimdor Zones: Un'Goro Crater
  3873. --'==========================================================================================
  3874.         if not ( IsResting () ) and ( ZoneName == Z["Un'Goro Crater"] ) and FinalFantasylization_IsPlaying == false then
  3875.             if FinalFantasylization_InKalimdorUngoroCrater == false then
  3876.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  3877.                 FinalFantasylization_KalimdorUngoroCrater()
  3878.             end
  3879.             FinalFantasylization_IsPlaying = true
  3880.             FinalFantasylization_InKalimdorUngoroCrater = true
  3881.         else
  3882.             FinalFantasylization_InKalimdorUngoroCrater = false
  3883.         end
  3884. --'==========================================================================================      
  3885. --' Kalimdor Zones: Winterspring
  3886. --'==========================================================================================
  3887.         if not ( IsResting () ) and ( ZoneName == Z["Winterspring"] ) and FinalFantasylization_IsPlaying == false then
  3888.             if FinalFantasylization_InKalimdorWinterspring == false then
  3889.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  3890.                 FinalFantasylization_KalimdorWinterspring()
  3891.             end
  3892.             FinalFantasylization_IsPlaying = true
  3893.             FinalFantasylization_InKalimdorWinterspring = true
  3894.         else
  3895.             FinalFantasylization_InKalimdorWinterspring = false
  3896.         end
  3897.  
  3898. --###########################################################################################
  3899. --###########################################################################################
  3900. --##
  3901. --##            OUTLAND ZONES
  3902. --##
  3903. --###########################################################################################
  3904. --###########################################################################################
  3905.  
  3906. --'==========================================================================================      
  3907. --' Outland Zones: Blade's Edge Mountains
  3908. --'==========================================================================================
  3909.         if not ( IsResting() ) and ( ZoneName == Z["Blade's Edge Mountains"] ) and FinalFantasylization_IsPlaying == false then
  3910.             if FinalFantasylization_InOutlandBladesEdgeMountains == false then
  3911.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  3912.                 FinalFantasylization_OutlandBladesEdgeMountains()
  3913.             end
  3914.             FinalFantasylization_IsPlaying = true
  3915.             FinalFantasylization_InOutlandBladesEdgeMountains = true
  3916.         else
  3917.             FinalFantasylization_InOutlandBladesEdgeMountains = false
  3918.         end
  3919. --'==========================================================================================      
  3920. --' Outland Zones: Hellfire Peninsula
  3921. --'==========================================================================================
  3922.         if not ( IsResting() ) and ( ZoneName == Z["Hellfire Peninsula"] ) and FinalFantasylization_IsPlaying == false then
  3923.             if FinalFantasylization_InOutlandHellfirePeninsula == false then
  3924.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  3925.                 FinalFantasylization_OutlandHellfirePeninsula()
  3926.             end
  3927.             FinalFantasylization_IsPlaying = true
  3928.             FinalFantasylization_InOutlandHellfirePeninsula = true
  3929.         else
  3930.             FinalFantasylization_InOutlandHellfirePeninsula = false
  3931.         end
  3932. --'==========================================================================================      
  3933. --' Outland Zones: Nagrand
  3934. --'==========================================================================================
  3935.         if not ( IsResting() ) and ( ZoneName == Z["Nagrand"] ) and FinalFantasylization_IsPlaying == false then
  3936.             if FinalFantasylization_InOutlandNagrand == false then
  3937.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  3938.                 FinalFantasylization_OutlandNagrand()
  3939.             end
  3940.             FinalFantasylization_IsPlaying = true
  3941.             FinalFantasylization_InOutlandNagrand = true
  3942.         else
  3943.             FinalFantasylization_InOutlandNagrand = false
  3944.         end
  3945. --'==========================================================================================      
  3946. --' Outland Zones: Netherstorm
  3947. --'==========================================================================================
  3948.         if not ( IsResting() ) and ( ZoneName == Z["Netherstorm"] ) and FinalFantasylization_IsPlaying == false then
  3949.             if FinalFantasylization_InOutlandNetherstorm == false then
  3950.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  3951.                 FinalFantasylization_OutlandNetherstorm()
  3952.             end
  3953.             FinalFantasylization_IsPlaying = true
  3954.             FinalFantasylization_InOutlandNetherstorm = true
  3955.         else
  3956.             FinalFantasylization_InOutlandNetherstorm = false
  3957.         end
  3958. --'==========================================================================================      
  3959. --' Outland Zones: Shadowmoon Valley
  3960. --'==========================================================================================
  3961.         if not ( IsResting() ) and ( ZoneName == Z["Shadowmoon Valley"] ) and FinalFantasylization_IsPlaying == false then
  3962.             if FinalFantasylization_InOutlandShadowmoonValley == false then
  3963.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  3964.                 FinalFantasylization_OutlandShadowmoonValley()
  3965.             end
  3966.             FinalFantasylization_IsPlaying = true
  3967.             FinalFantasylization_InOutlandShadowmoonValley = true
  3968.         else
  3969.             FinalFantasylization_InOutlandShadowmoonValley = false
  3970.         end
  3971. --'==========================================================================================      
  3972. --' Outland Zones: Terokkar Forest
  3973. --'==========================================================================================
  3974.         if not ( IsResting() ) and ( ZoneName == Z["Terokkar Forest"] ) and FinalFantasylization_IsPlaying == false then
  3975.             if FinalFantasylization_InOutlandTerokkarForest == false then
  3976.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  3977.                 FinalFantasylization_OutlandTerokkarForest()
  3978.             end
  3979.             FinalFantasylization_IsPlaying = true
  3980.             FinalFantasylization_InOutlandTerokkarForest = true
  3981.         else
  3982.             FinalFantasylization_InOutlandTerokkarForest = false
  3983.         end
  3984. --'==========================================================================================      
  3985. --' Outland Zones: Zangarmarsh
  3986. --'==========================================================================================
  3987.         if not ( IsResting() ) and ( ZoneName == Z["Zangarmarsh"] ) and FinalFantasylization_IsPlaying == false then
  3988.             if FinalFantasylization_InOutlandZangarmarsh == false then
  3989.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  3990.                 FinalFantasylization_OutlandZangarmarsh()
  3991.             end
  3992.             FinalFantasylization_IsPlaying = true
  3993.             FinalFantasylization_InOutlandZangarmarsh = true
  3994.         else
  3995.             FinalFantasylization_InOutlandZangarmarsh = false
  3996.         end
  3997.  
  3998. --###########################################################################################
  3999. --###########################################################################################
  4000. --##
  4001. --##            NORTHREND ZONES
  4002. --##
  4003. --###########################################################################################
  4004. --###########################################################################################
  4005.  
  4006. --'==========================================================================================      
  4007. --' Northrend Zones: Coldarra, Borean Tundra
  4008. --'==========================================================================================
  4009.         if not ( IsResting() ) and ( ZoneName == Z["Borean Tundra"] ) and ( ( SubZoneName == SZ["Coldarra"] ) or ( SubZoneName == SZ["The Nexus"] ) ) and FinalFantasylization_IsPlaying == false then
  4010.             if FinalFantasylization_InNorthrendColdarra == false then
  4011.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  4012.                 FinalFantasylization_NorthrendColdarra()
  4013.             end
  4014.             FinalFantasylization_IsPlaying = true
  4015.             FinalFantasylization_InNorthrendColdarra = true
  4016.         else
  4017.             FinalFantasylization_InNorthrendColdarra = false
  4018.         end
  4019. --'==========================================================================================      
  4020. --' Northrend Zones: Borean Tundra
  4021. --'==========================================================================================
  4022.         if not ( IsResting () ) and ( ZoneName == Z["Borean Tundra"] ) and FinalFantasylization_IsPlaying == false then
  4023.             if FinalFantasylization_InNorthrendBoreanTundra == false then
  4024.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  4025.                 FinalFantasylization_NorthrendBoreanTundra()
  4026.             end
  4027.             FinalFantasylization_IsPlaying = true
  4028.             FinalFantasylization_InNorthrendBoreanTundra = true
  4029.         else
  4030.             FinalFantasylization_InNorthrendBoreanTundra = false
  4031.         end
  4032. --'==========================================================================================      
  4033. --' Northrend Zones: Crystalsong Forest
  4034. --'==========================================================================================
  4035.         if not ( IsResting () ) and ( ZoneName == Z["Crystalsong Forest"] ) and FinalFantasylization_IsPlaying == false then
  4036.             if FinalFantasylization_InNorthrendCrystalsongForest == false then
  4037.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  4038.                 FinalFantasylization_NorthrendCrystalsongForest()
  4039.             end
  4040.             FinalFantasylization_IsPlaying = true
  4041.             FinalFantasylization_InNorthrendCrystalsongForest = true
  4042.         else
  4043.             FinalFantasylization_InNorthrendCrystalsongForest = false
  4044.         end
  4045. --'==========================================================================================      
  4046. --' Northrend Zones: Dragonblight
  4047. --'==========================================================================================
  4048.         if not ( IsResting () ) and ( ZoneName ==Z["Dragonblight"] ) and FinalFantasylization_IsPlaying == false then
  4049.             if FinalFantasylization_InNorthrendDragonblight == false then
  4050.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  4051.                 FinalFantasylization_NorthrendDragonblight()
  4052.             end
  4053.             FinalFantasylization_IsPlaying = true
  4054.             FinalFantasylization_InNorthrendDragonblight = true
  4055.         else
  4056.             FinalFantasylization_InNorthrendDragonblight = false
  4057.         end
  4058. --'==========================================================================================      
  4059. --' Northrend Zones: Grizzly Hills
  4060. --'==========================================================================================
  4061.         if not ( IsResting () ) and ( ZoneName == Z["Grizzly Hills"] ) and FinalFantasylization_IsPlaying == false then
  4062.             if FinalFantasylization_InNorthrendGrizzlyHills == false then
  4063.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  4064.                 FinalFantasylization_NorthrendGrizzlyHills()
  4065.             end
  4066.             FinalFantasylization_IsPlaying = true
  4067.             FinalFantasylization_InNorthrendGrizzlyHills = true
  4068.         else
  4069.             FinalFantasylization_InNorthrendGrizzlyHills = false
  4070.         end
  4071. --'==========================================================================================      
  4072. --' Northrend Zones: Howling Fjord
  4073. --'==========================================================================================
  4074.         if not ( IsResting () ) and ( ZoneName == Z["Howling Fjord"] ) and FinalFantasylization_IsPlaying == false then
  4075.             if FinalFantasylization_InNorthrendHowlingFjord == false then
  4076.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  4077.                 FinalFantasylization_NorthrendHowlingFjord()
  4078.             end
  4079.             FinalFantasylization_IsPlaying = true
  4080.             FinalFantasylization_InNorthrendHowlingFjord = true
  4081.         else
  4082.             FinalFantasylization_InNorthrendHowlingFjord = false
  4083.         end
  4084. --'==========================================================================================      
  4085. --' Northrend Zones: Icecrown
  4086. --'==========================================================================================
  4087.             if not ( IsResting () ) and ( ZoneName == Z["Icecrown"] ) and FinalFantasylization_IsPlaying == false then
  4088.             if FinalFantasylization_InNorthrendIcecrown == false then
  4089.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  4090.                 FinalFantasylization_NorthrendIcecrown()
  4091.             end
  4092.             FinalFantasylization_IsPlaying = true
  4093.             FinalFantasylization_InNorthrendIcecrown = true
  4094.         else
  4095.             FinalFantasylization_InNorthrendIcecrown = false
  4096.         end
  4097. --'==========================================================================================      
  4098. --' Northrend Zones: Sholazar Basin
  4099. --'==========================================================================================
  4100.         if not ( IsResting () ) and ( ZoneName == Z["Sholazar Basin"] ) and FinalFantasylization_IsPlaying == false then
  4101.             if FinalFantasylization_InNorthrendSholazarBasin == false then
  4102.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  4103.                 FinalFantasylization_NorthrendSholazarBasin()
  4104.             end
  4105.             FinalFantasylization_IsPlaying = true
  4106.             FinalFantasylization_InNorthrendSholazarBasin = true
  4107.         else
  4108.             FinalFantasylization_InNorthrendSholazarBasin = false
  4109.         end
  4110. --'==========================================================================================      
  4111. --' Northrend Zones: The Storm Peaks
  4112. --'==========================================================================================
  4113.         if not ( IsResting () ) and ( ZoneName == Z["The Storm Peaks"] ) and FinalFantasylization_IsPlaying == false then
  4114.             if FinalFantasylization_InNorthrendStormPeaks == false then
  4115.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  4116.                 FinalFantasylization_NorthrendStormPeaks()
  4117.             end
  4118.             FinalFantasylization_IsPlaying = true
  4119.             FinalFantasylization_InNorthrendStormPeaks = true
  4120.         else
  4121.             FinalFantasylization_InNorthrendStormPeaks = false
  4122.         end
  4123. --'==========================================================================================      
  4124. --' Northrend Zones: Wintergrasp
  4125. --'==========================================================================================
  4126.         if not ( IsResting () ) and ( ZoneName == Z["Wintergrasp"] ) and FinalFantasylization_IsPlaying == false then
  4127.             if FinalFantasylization_InNorthrendWintergrasp == false then
  4128.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  4129.                 FinalFantasylization_NorthrendWintergrasp()
  4130.             end
  4131.             FinalFantasylization_IsPlaying = true
  4132.             FinalFantasylization_InNorthrendWintergrasp = true
  4133.         else
  4134.             FinalFantasylization_InNorthrendWintergrasp = false
  4135.         end
  4136. --'==========================================================================================      
  4137. --' Northrend Zones: Zul'Drak
  4138. --'==========================================================================================
  4139.         if not ( IsResting () ) and ( ZoneName == Z["Zul'Drak"] ) and FinalFantasylization_IsPlaying == false then
  4140.             if FinalFantasylization_InNorthrendZulDrak == false then
  4141.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  4142.                 FinalFantasylization_NorthrendZulDrak()
  4143.             end
  4144.             FinalFantasylization_IsPlaying = true
  4145.             FinalFantasylization_InNorthrendZulDrak = true
  4146.         else
  4147.             FinalFantasylization_InNorthrendZulDrak = false
  4148.         end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement