Here are the complete declarations.
Code:
Global $Title = "BlueStacks App Player"
Global $HWnD = WinGetHandle(WinGetTitle($Title))
GLOBAL $AdjustTolerance=0
Global $Tolerance[5][11]=[[55,55,55,80,70, 70,75,80,0,75,65],[55,55,55,80,80,70,75,80,0,75, 65],[55,55,55,80,80,70,75,80,0,75, 65],[55,55,55,80,80,60,75,75,0,75, 60],[55,55,55,80,80,70,75,80,0,75, 65]]
Global $ZC = 0, $ZombieCount = 0;, $E
Global $ZombieFileSets = 4 ;Variant Image to use organized as per Folder
Global $ZSExclude = 2 ;Set to 0 to include Elixir Lvl 6, 1 to include lvl 7 and so on..
Global $Lx[4] = [0, 400, 0, 400]
Global $Ly[4] = [0, 0, 265, 265]
Global $Rx[4] = [460, 860, 400, 860]
Global $Ry[4] = [325, 325, 590, 590]
Global $Area[5][11][4], $IS_x[11][4], $IS_y[11][4], $E[5][11]
$E[0][0] = @ScriptDir & "\images\ELIX1\E6F9.bmp"
$E[0][1] = @ScriptDir & "\images\ELIX1\E7F9.bmp"
$E[0][2] = @ScriptDir & "\images\ELIX1\E8F9.bmp"
$E[0][3] = @ScriptDir & "\images\ELIX1\E9F9.bmp"
$E[0][4] = @ScriptDir & "\images\ELIX1\E10F8.bmp"
$E[0][5] = @ScriptDir & "\images\ELIX1\E10F9.bmp"
$E[0][6] = @ScriptDir & "\images\ELIX1\E11F8.bmp"
$E[0][7] = @ScriptDir & "\images\ELIX1\E11F9.bmp"
$E[0][8] = @ScriptDir & "\images\ELIX1\E12F7.bmp"
$E[0][9] = @ScriptDir & "\images\ELIX1\E12F8.bmp"
$E[0][10] = @ScriptDir & "\images\ELIX1\E12F9.bmp"
$E[1][0] = @ScriptDir & "\images\ELIX2\E6F9.bmp"
$E[1][1] = @ScriptDir & "\images\ELIX2\E7F9.bmp"
$E[1][2] = @ScriptDir & "\images\ELIX2\E8F9.bmp"
$E[1][3] = @ScriptDir & "\images\ELIX2\E9F9.bmp"
$E[1][4] = @ScriptDir & "\images\ELIX2\E10F8.bmp"
$E[1][5] = @ScriptDir & "\images\ELIX2\E10F9.bmp"
$E[1][6] = @ScriptDir & "\images\ELIX2\E11F8.bmp"
$E[1][7] = @ScriptDir & "\images\ELIX2\E11F9.bmp"
$E[1][8] = @ScriptDir & "\images\ELIX2\E12F7.bmp"
$E[1][9] = @ScriptDir & "\images\ELIX2\E12F8.bmp"
$E[1][10] = @ScriptDir & "\images\ELIX2\E12F9.bmp"
$E[2][0] = @ScriptDir & "\images\ELIX3\E6F9.bmp"
$E[2][1] = @ScriptDir & "\images\ELIX3\E7F9.bmp"
$E[2][2] = @ScriptDir & "\images\ELIX3\E8F9.bmp"
$E[2][3] = @ScriptDir & "\images\ELIX3\E9F9.bmp"
$E[2][4] = @ScriptDir & "\images\ELIX3\E10F8.bmp"
$E[2][5] = @ScriptDir & "\images\ELIX3\E10F9.bmp"
$E[2][6] = @ScriptDir & "\images\ELIX3\E11F8.bmp"
$E[2][7] = @ScriptDir & "\images\ELIX3\E11F9.bmp"
$E[2][8] = @ScriptDir & "\images\ELIX3\E12F7.bmp"
$E[2][9] = @ScriptDir & "\images\ELIX3\E12F8.bmp"
$E[2][10] = @ScriptDir & "\images\ELIX3\E12F9.bmp"
$E[3][0] = @ScriptDir & "\images\ELIX4\E6F9.bmp"
$E[3][1] = @ScriptDir & "\images\ELIX4\E7F9.bmp"
$E[3][2] = @ScriptDir & "\images\ELIX4\E8F9.bmp"
$E[3][3] = @ScriptDir & "\images\ELIX4\E9F9.bmp"
$E[3][4] = @ScriptDir & "\images\ELIX4\E10F8.bmp"
$E[3][5] = @ScriptDir & "\images\ELIX4\E10F9.bmp"
$E[3][6] = @ScriptDir & "\images\ELIX4\E11F8.bmp"
$E[3][7] = @ScriptDir & "\images\ELIX4\E11F9.bmp"
$E[3][8] = @ScriptDir & "\images\ELIX4\E12F7.bmp"
$E[3][9] = @ScriptDir & "\images\ELIX4\E12F8.bmp"
$E[3][10] = @ScriptDir & "\images\ELIX4\E12F9.bmp"
$E[4][0] = "*Trans0xED1C24 "&@ScriptDir&"\images\ELIXSNOW\E6F9.bmp"
$E[4][1] = "*Trans0xED1C24 "&@ScriptDir&"\images\ELIXSNOW\E7F9.bmp"
$E[4][2] = "*Trans0xED1C24 "&@ScriptDir&"\images\ELIXSNOW\E8F9.bmp"
$E[4][3] = "*Trans0xED1C24 "&@ScriptDir&"\images\ELIXSNOW\E9F9.bmp"
$E[4][4] = "*Trans0xED1C24 "&@ScriptDir&"\images\ELIXSNOW\E10F8.bmp"
$E[4][5] = "*Trans0xED1C24 "&@ScriptDir&"\images\ELIXSNOW\E10F9.bmp"
$E[4][6] = "*Trans0xED1C24 "&@ScriptDir&"\images\ELIXSNOW\E11F8.bmp"
$E[4][7] = "*Trans0xED1C24 "&@ScriptDir&"\images\ELIXSNOW\E11F9.bmp"
$E[4][8] = "*Trans0xED1C24 "&@ScriptDir&"\images\ELIXSNOW\E12F7.bmpx"
$E[4][9] = "*Trans0xED1C24 "&@ScriptDir&"\images\ELIXSNOW\E12F8.bmp"
$E[4][10] = "*Trans0xED1C24 "&@ScriptDir&"\images\ELIXSNOW\E12F9.bmp"