Ir para conteúdo
  • Cadastre-se

Suporte Ajuda Base PokeZring, Exclusivo DO TK oficial


Posts Recomendados

.Qual servidor ou website você utiliza como base? 

PokeZring

Qual o motivo deste tópico? 

Galera eu baixei o servidor

Base PokeZring, Exclusivo DO TK oficial Disponibilizado aqui no tk mais estou com um problema "simples" quem baixou e testou sabe do que to falando

O problema: todos os pokemons estão com dano especifico, por exemplo, o pokemon blastoise " todos os moves do m1 ao m10 dão 500 de dano" o msm com os demais pokemons, ja tentei mudar a configuration.lua aonde está os moves do pokemon que estavão todos com o numero 1, não alterou nada no dano das spells. se alguem puder me ajudar com isso agradeço msm pois estou querendo pegar ele como base para meu servidor.

 

sendo mais claro, quero saber em que pasta ou local eu consigo alterar o dano de cada spell dos pokemons nesse servidor.

 

 

Está surgindo algum erro? Se sim coloque-o aqui. 

Citar

Percebi que esse erro ocorre por causa da pasta "pokemon moves" em alguma funçao

const_distance_delay = 56

RollOuts = {
["Voltorb"] = {lookType = 638},
["Electrode"] = {lookType = 637},
["Sandshrew"] = {lookType = 635},
["Sandslash"] = {lookType = 636},
["Phanpy"] = {lookType = 1005},
["Donphan"] = {lookType = 1456},
["Miltank"] = {lookType = 1006},                
["Golem"] = {lookType = 639},
["Shiny Electrode"] = {lookType = 1387},
["Shiny Golem"] = {lookType = 1403},
["Shiny Voltorb"] = {lookType = 1388}
}

--//////////////////////////////////////////////////////////////////////////////////////////////////////////--
local function getSubName(cid, target)
if not isCreature(cid) then return "" end
if getCreatureName(cid) == "Ditto" and pokes[getPlayerStorageValue(cid, 1010)] and getPlayerStorageValue(cid, 1010) ~= "Ditto" then
   return getPlayerStorageValue(cid, 1010)
elseif pokeHaveReflect(cid) and isCreature(target) then
   return getCreatureName(target)
else                                                                --alterado v1.6.1
   return getCreatureName(cid)
end
end

local function getThingName(cid)
if not isCreature(cid) then return "" end   --alterado v1.6
return getCreatureName(cid)
end

function getTableMove(cid, move)               --alterado v1.6
local backup = {f = 0, t = ""}
if getThingName(cid) == "Ditto" and pokes[getPlayerStorageValue(cid, 1010)] and getPlayerStorageValue(cid, 1010) ~= "Ditto" then
   name = getPlayerStorageValue(cid, 1010)
else
   name = getThingName(cid)
end
if not isCreature(cid) or name == "" or not move then return backup end
local x = movestable[name]
if not x then return "" end   
local z = {x.move1, x.move2, x.move3, x.move4, x.move5, x.move6, x.move7, x.move8, x.move9, x.move10, x.move11, x.move12, x.passive1, x.passive2, x.passive3}
if getPlayerStorageValue(cid, 21103) ~= -1 then
   local sto = getPlayerStorageValue(cid, 21103) 
   setPlayerStorageValue(cid, 21103, -1) 
   return {f = sto, t = ""} 
end
for j = 1, 15 do
  if z[j] and z[j].name == move then
     return z[j]
  end
end
return movesinfo[move]
end

function getMasterTarget(cid)
if isCreature(cid) and getPlayerStorageValue(cid, 21101) ~= -1 then
   return getPlayerStorageValue(cid, 21101)     --alterado v1.6
end
    if isSummon(cid) then
        return getCreatureTarget(getCreatureMaster(cid))
    else
        return getCreatureTarget(cid)
    end
end
--////////////////////////////////////////////////////////////////////////////////////////////////////////--

function docastspell(cid, spell, mina, maxa)

local target = 0
local getDistDelay = 0
if not isCreature(cid) or getCreatureHealth(cid) <= 0 then return false end  --alterado v1.6
if isSleeping(cid) and getPlayerStorageValue(cid, 21100) <= -1 then return true end  --alterado v1.6

if isCreature(getMasterTarget(cid)) then
    target = getMasterTarget(cid)
    getDistDelay = getDistanceBetween(getThingPosWithDebug(cid), getThingPosWithDebug(target)) * const_distance_delay
end

if isMonster(cid) and not isSummon(cid) then
    if getCreatureCondition(cid, CONDITION_EXHAUST) then
    return true
    end
    doCreatureAddCondition(cid, wildexhaust)
end

local mydir = isCreature(target) and getCreatureDirectionToTarget(cid, target) or getCreatureLookDir(cid)
local table = getTableMove(cid, spell) --alterado v1.6

local min = 0
local max = 0                                                                                                                                                                                                                                                                     
                                                                                       --alterado v1.7 \/\/
if ehMonstro(cid) and isCreature(getMasterTarget(cid)) and isInArray(specialabilities["evasion"], getCreatureName(getMasterTarget(cid))) then 
   local target = getMasterTarget(cid)
   if math.random(1, 100) <= passivesChances["Evasion"][getCreatureName(target)] then                                                                                      
      if isCreature(getMasterTarget(target)) then  --alterado v1.6 
         doSendMagicEffect(getThingPosWithDebug(target), 211)
         doSendAnimatedText(getThingPosWithDebug(target), "TOO BAD", 215)                                 
         doTeleportThing(target, getClosestFreeTile(target, getThingPosWithDebug(cid)), false)
         doSendMagicEffect(getThingPosWithDebug(target), 211)
         doFaceCreature(target, getThingPosWithDebug(cid)) 
         return false    --alterado v1.8
      end
    end            
end

--- FEAR / ROAR / SILENCE ---
if (isWithFear(cid) or isSilence(cid)) and getPlayerStorageValue(cid, 21100) <= -1 then
return true                                      --alterado v1.6!!
end
----------------------------
    
if mina and maxa then
min = math.abs(mina)
max = math.abs(maxa)
elseif not isPlayer(cid) then
    if table ~= "" then   --alterado v1.6
    
        min = getSpecialAttack(cid)   --alterado v1.6
        max = min + (isSummon(cid) and getMasterLevel(cid) or getMasterLevel(cid))
    
        if spell == "Selfdestruct" then
           min = getCreatureHealth(cid)  --alterado v1.6
           max = getCreatureHealth(cid)
        end
    
        if not isSummon(cid) and not isInArray({"Demon Puncher", "Demon Kicker"}, spell) then --alterado v1.7
            doCreatureSay(cid, string.upper(spell).."!", TALKTYPE_MONSTER)
        end
        if isNpcSummon(cid) then
            local mnn = {" use ", " "}
            local use = mnn[math.random(#mnn)]
            doCreatureSay(getCreatureMaster(cid), getPlayerStorageValue(cid, 1007)..","..use..""..doCorrectString(spell).."!", 1)
        end
    else
    print("Error trying to use move "..spell..", move not specified in the pokemon table.")
    end    
end
--- FOCUS ----------------------------------            

--- Shredder Team -------------------------------
if getPlayerStorageValue(cid, 637501) >= 1 then
   if #getCreatureSummons(cid) == 1 then
      docastspell(getCreatureSummons(cid)[1], spell)
   elseif #getCreatureSummons(cid) == 2 then
      docastspell(getCreatureSummons(cid)[1], spell)
      docastspell(getCreatureSummons(cid)[2], spell)
   end    
      
elseif getPlayerStorageValue(cid, 637500) >= 1 then
   min = 0
   max = 0                                     
end
------------------Miss System--------------------------
local cd = getPlayerStorageValue(cid, conds["Miss"])
local cd2 = getPlayerStorageValue(cid, conds["Confusion"])      --alterado v1.5
local cd3 = getPlayerStorageValue(cid, conds["Stun"]) 
if cd >= 0 or cd2 >= 0 or cd3 >= 0 then                                                         --alterado v1.7
   if not isInArray({"Aromateraphy", "Emergency Call", "Magical Leaf", "Sunny Day", "Safeguard", "Rain Dance"}, spell) and getPlayerStorageValue(cid, 21100) <= -1 then
      if math.random(1, 100) > 30 then                                                                               --alterado v1.6
         doSendAnimatedText(getThingPosWithDebug(cid), "MISS", 215)
         return false
      end
   end
end
---------------GHOST DAMAGE-----------------------
ghostDmg = GHOSTDAMAGE
psyDmg = PSYCHICDAMAGE

if getPlayerStorageValue(cid, 999457) >= 1 and table ~= "" and table.f ~= 0 then    --alterado v1.6
   psyDmg = MIRACLEDAMAGE                                                              
   ghostDmg = DARK_EYEDAMAGE
   addEvent(setPlayerStorageValue, 50, cid, 999457, -1)
end
--------------------REFLECT----------------------
setPlayerStorageValue(cid, 21100, -1)                --alterado v1.6
if not isInArray({"Psybeam", "Sand Attack", "Flamethrower"}, spell) then  --alterado v1.8
   setPlayerStorageValue(cid, 21101, -1)
end
setPlayerStorageValue(cid, 21102, spell)
---------------------------------------------------
     --Posições--
    ---------------\/---------------------\/----------------------\/---------------------------------------------------------
    posC = getThingPosWithDebug(cid) PosC = posC PosCid = posC posCid = posC
    posT = getThingPosWithDebug(target) PosT = posT PosTarget = posT posTarget = posT 
    posC1 = getThingPosWithDebug(cid) posC1.x = posC1.x+1 posC1.y = posC1.y+1 PosC1 = posC1 posCid1 = posC1 PosCid1 = posC1 
    posT1 = getThingPosWithDebug(target) posT1.x = posT1.x+1 posT1.y = posT1.y+1 PosT1 = posT1 posTarget1 = posT1 PosTarget1 = posT1
    --------------------------------------------------------------------------------------------------------------------------


if spell == "Reflect" or spell == "Magic Coat" then

    if spell == "Magic Coat" then
      eff = 11
    else
      eff = 135
    end

    doSendMagicEffect(getThingPosWithDebug(cid), eff)
    setPlayerStorageValue(cid, 21099, 1)         
    
elseif spell == "Quick Attack" then

    doSendMagicEffect(getThingPosWithDebug(cid), 211)
    local x = getClosestFreeTile(cid, getThingPosWithDebug(target))
    doTeleportThing(cid, x, false)
    doFaceCreature(cid, getThingPosWithDebug(target))
    doAreaCombatHealth(cid, NORMALDAMAGE, getThingPosWithDebug(target), 0, -min, -max, 3)
    
elseif spell == "Razor Leaf" or spell == "Magical Leaf" then                      

local eff = spell == "Razor Leaf" and 8 or 21

local function throw(cid, target)
if not isCreature(cid) or not isCreature(target) then return false end
    doSendDistanceShoot(getThingPosWithDebug(cid), getThingPosWithDebug(target), eff)
    doDanoInTargetWithDelay(cid, target, GRASSDAMAGE, min, max, 245)  --alterado v1.7
end

addEvent(throw, 0, cid, target)
addEvent(throw, 100, cid, target) --alterado v1.7
        
elseif spell == "Vine Whip" then

local area = getThingPosWithDebug(cid)
local dano = {}
local effect = 255

    if mydir == 0 then
        area.x = area.x + 1
        area.y = area.y - 1
        dano = whipn
        effect = 80
    elseif mydir == 1 then
        area.x = area.x + 2
        area.y = area.y + 1
        dano = whipe
        effect = 83
    elseif mydir == 2 then
        area.x = area.x + 1
        area.y = area.y + 2        
        dano = whips
        effect = 81
    elseif mydir == 3 then
        area.x = area.x - 1
        area.y = area.y + 1
        dano = whipw
        effect = 82
    end

        doSendMagicEffect(area, effect)
        doAreaCombatHealth(cid, GRASSDAMAGE, getThingPosWithDebug(cid), dano, -min, -max, 255)
        
elseif spell == "Headbutt" then
       
       doAreaCombatHealth(cid, NORMALDAMAGE, getThingPosWithDebug(target), 0, -min, -max, 118)
       
elseif spell == "Leech Seed" then

    local ret = {}
    ret.id = target
    ret.attacker = cid
    ret.cd = 5
    ret.check = getPlayerStorageValue(target, conds["Leech"])
    ret.damage = isSummon(cid) and getMasterLevel(cid) * 1 +getPokemonBoost(cid)
    ret.cond = "Leech"
    
    doSendDistanceShoot(getThingPosWithDebug(cid), getThingPosWithDebug(target), 1)
    addEvent(doMoveDano2, 1000, cid, target, GRASSDAMAGE, 0, 0, ret, spell)
    
elseif spell == "Solar Beam" then
    
local function useSolarBeam(cid)
        if not isCreature(cid) then
        return true
        end
        if isSleeping(cid) and getPlayerStorageValue(cid, 3644587) >= 1 then
        return true
        end
        if isWithFear(cid) and getPlayerStorageValue(cid, 3644587) >= 1 then
        return true
        end
            local effect1 = 255
            local effect2 = 255
            local effect3 = 255
            local effect4 = 255
            local effect5 = 255
            local area = {}
            local pos1 = getThingPosWithDebug(cid)
            local pos2 = getThingPosWithDebug(cid)
            local pos3 = getThingPosWithDebug(cid)
            local pos4 = getThingPosWithDebug(cid)
            local pos5 = getThingPosWithDebug(cid)
        if getCreatureLookDir(cid) == 1 then
            effect1 = 4
            effect2 = 89
            effect3 = 89
            effect4 = 89
            effect5 = 26
            pos1.x = pos1.x + 2
            pos1.y = pos1.y + 1
            pos2.x = pos2.x + 3
            pos2.y = pos2.y + 1
            pos3.x = pos3.x + 4
            pos3.y = pos3.y + 1
            pos4.x = pos4.x + 5
            pos4.y = pos4.y + 1
            pos5.x = pos5.x + 6
            pos5.y = pos5.y + 1
            area = solare
        elseif getCreatureLookDir(cid) == 0 then
            effect1 = 36
            effect2 = 37
            effect3 = 37
            effect4 = 38
            pos1.x = pos1.x + 1
            pos1.y = pos1.y - 1
            pos2.x = pos2.x + 1
            pos2.y = pos2.y - 3
            pos3.x = pos3.x + 1
            pos3.y = pos3.y - 4
            pos4.x = pos4.x + 1
            pos4.y = pos4.y - 5
            area = solarn
        elseif getCreatureLookDir(cid) == 2 then
            effect1 = 46
            effect2 = 50
            effect3 = 50
            effect4 = 59
            pos1.x = pos1.x + 1
            pos1.y = pos1.y + 2
            pos2.x = pos2.x + 1
            pos2.y = pos2.y + 3
            pos3.x = pos3.x + 1
            pos3.y = pos3.y + 4
            pos4.x = pos4.x + 1
            pos4.y = pos4.y + 5
            area = solars
        elseif getCreatureLookDir(cid) == 3 then
            effect1 = 115
            effect2 = 162
            effect3 = 162
            effect4 = 162
            effect5 = 163
            pos1.x = pos1.x - 1
            pos1.y = pos1.y + 1
            pos2.x = pos2.x - 3
            pos2.y = pos2.y + 1
            pos3.x = pos3.x - 4
            pos3.y = pos3.y + 1
            pos4.x = pos4.x - 5
            pos4.y = pos4.y + 1
            pos5.x = pos5.x - 6
            pos5.y = pos5.y + 1
            area = solarw
        end

        if effect1 ~= 255 then
            doSendMagicEffect(pos1, effect1)
        end
        if effect2 ~= 255 then
            doSendMagicEffect(pos2, effect2)
        end
        if effect3 ~= 255 then
            doSendMagicEffect(pos3, effect3)
        end
        if effect4 ~= 255 then
            doSendMagicEffect(pos4, effect4)
        end
        if effect5 ~= 255 then
            doSendMagicEffect(pos5, effect5)
        end
    
        doAreaCombatHealth(cid, GRASSDAMAGE, getThingPosWithDebug(cid), area, -min, -max, 255)    
        doRegainSpeed(cid)
        setPlayerStorageValue(cid, 3644587, -1)
    end

    local function ChargingBeam(cid)
        if not isCreature(cid) then
        return true
        end
        if isSleeping(cid) and getPlayerStorageValue(cid, 3644587) >= 1 then
        return true
        end
        if isWithFear(cid) and getPlayerStorageValue(cid, 3644587) >= 1 then
        return true
        end
        local tab = {}

        for x = -2, 2 do
            for y = -2, 2 do
                local pos = getThingPosWithDebug(cid)
                pos.x = pos.x + x
                pos.y = pos.y + y
                    if pos.x ~= getThingPosWithDebug(cid).x and pos.y ~= getThingPosWithDebug(cid).y then
                    table.insert(tab, pos)
                    end
            end
        end
    doSendDistanceShoot(tab[math.random(#tab)], getThingPosWithDebug(cid), 37)
    end

doChangeSpeed(cid, -getCreatureSpeed(cid))
setPlayerStorageValue(cid, 3644587, 1)          --alterado v1.6  n sei pq mas tava dando debug o.O

doSendMagicEffect(getThingPosWithDebug(cid), 132) 
addEvent(useSolarBeam, 650, cid)

elseif spell == "Sleep Powder" then

local ret = {}
ret.id = 0
ret.cd = math.random(6, 9)
ret.check = 0
ret.first = true                        --alterado v1.6
ret.cond = "Sleep"
    
doMoveInArea2(cid, 27, SleepPowderArea, NORMALDAMAGE, 0, 0, spell, ret)

elseif spell == "Stun Spore" then
        
    local ret = {}
    ret.id = 0
    ret.cd = 9
    ret.eff = 0
    ret.check = 0
    ret.spell = spell
    ret.cond = "Stun"
    
    doMoveInArea2(cid, 85, StunSporeArea, GRASSDAMAGE, 0, 0, spell, ret)

elseif spell == "Poison Powder" then                              

local ret = {}
ret.id = 0
ret.cd = math.random(6, 15)              --alterado v1.6
ret.check = 0
local lvl = isSummon(cid) and getMasterLevel(cid)
ret.damage = lvl
ret.cond = "Poison"                              

doMoveInArea2(cid, 84, PoisonPowderArea, NORMALDAMAGE, 0, 0, spell, ret)
    
elseif spell == "Bullet Seed" then
               --cid, effDist, effDano, areaEff, areaDano, element, min, max
doMoveInAreaMulti(cid, 1, 45, bulletArea, bulletDanoArea, GRASSDAMAGE, min, max)

elseif spell == "Body Slam" then
    
    doBodyPush(cid, target, true)
    doAreaCombatHealth(cid, NORMALDAMAGE, getThingPosWithDebug(target), 0, -min, -max, 3)
    
elseif spell == "Leaf Storm" or tonumber(spell) == 73 then

    addEvent(doDanoWithProtect, 150, cid, GRASSDAMAGE, getThingPosWithDebug(cid), grassarea, -min, -max, 0)

    local pos = getThingPosWithDebug(cid)

    local function doSendLeafStorm(cid, pos)              --alterado!!
        if not isCreature(cid) then return true end
        doSendDistanceShoot(getThingPosWithDebug(cid), pos, ?
    end

    for a = 1, 100 do
        local lugar = {x = pos.x + math.random(-6, 6), y = pos.y + math.random(-5, 5), z = pos.z}
        addEvent(doSendLeafStorm, a * 2, cid, lugar)
    end
    
elseif spell == "Dazzling Gleam" then

    doMoveInArea2(cid, 39, dazzling, dano, min, max, spell, ret)
    addEvent(doDanoWithProtect, 150, cid, GRASSDAMAGE, getThingPosWithDebug(cid), grassarea, -min, -max, 0)

    local pos = getThingPosWithDebug(cid)

    local function doSendLeafStorm(cid, pos)              --alterado!!
        if not isCreature(cid) then return true end
        doSendDistanceShoot(getThingPosWithDebug(cid), pos, 28)
    end

    for a = 1, 100 do
        local lugar = {x = pos.x + math.random(-3, 3), y = pos.y + math.random(-2, 2), z = pos.z}
        addEvent(doSendLeafStorm, a * 1, cid, lugar)
    end

    elseif spell == "Dig" then
        
        local ret = {}
        ret.id = 0
        ret.cd = 9
        ret.check = 0
        ret.eff = 0
        ret.spell = spell
        ret.cond = "Slow"
        
        doDisapear(cid)
        doCreatureSetNoMove(cid, true)
        setPlayerStorageValue(cid, 32698, 1) -- storage do silence
        addEvent(setPlayerStorageValue, 4001, cid, 32698, -1) -- storage do silence
        addEvent(doCreatureSetNoMove, 4000, cid, false)
        p = getThingPosWithDebug(cid)
        doSendMagicEffect({x = p.x, y = p.y, z = p.z}, 340) -- 102
        if isMonster(cid) then
            local pos = getThingPosWithDebug(cid)
            doTeleportThing(cid, {x=4, y=3, z=10}, false) --
            doTeleportThing(cid, pos, false)
        end
        local function doDig(cid)
            if not isCreature(cid) then return false end
            doSendMagicEffect(getThingPos(cid), 340) -- 102
            --    addEvent(doMoveInArea2, 300, cid, 118, confusion, GROUNDDAMAGE, 0, 0) -- 118
            addEvent(doMoveInArea2, 300, cid, 346, DigArea, GROUNDDAMAGE, min, max, spell, ret) -- 118
            return true
        end
        addEvent(doAppear, 4000, cid)
        addEvent(doDig, 4100, cid)
    
elseif spell == "Scratch" then

    doDanoWithProtect(cid, NORMALDAMAGE, getThingPosWithDebug(target), 0, -min, -max, 142)
    
elseif spell == "Ember" then

        doSendDistanceShoot(getThingPosWithDebug(cid), getThingPosWithDebug(target), 3)
        addEvent(doSendMagicEffect, 60, PosTarget1, 475)
        doDanoInTargetWithDelay(cid, target, FIREDAMAGE, min, max, 0)  --alterado v1.7

elseif spell == "Flamethrower" then

    local flamepos = getThingPosWithDebug(cid)
    local effect = 255
    local a = isCreature(target) and getCreatureDirectionToTarget(cid, target) or getCreatureLookDir(cid)

    if a == 0 then
        flamepos.x = flamepos.x+1
        flamepos.y = flamepos.y-1
        effect = 106
    elseif a == 1 then
        flamepos.x = flamepos.x+3
        flamepos.y = flamepos.y+1
        effect = 109
    elseif a == 2 then
        flamepos.x = flamepos.x+1
        flamepos.y = flamepos.y+3
        effect = 107
    elseif a == 3 then
        flamepos.x = flamepos.x-1
        flamepos.y = flamepos.y+1
        effect = 108
    end

        doMoveInArea2(cid, 0, flamek, FIREDAMAGE, min, max, spell)
        doSendMagicEffect(flamepos, effect)  
     

elseif spell == "Fireball" then

    doSendDistanceShoot(getThingPosWithDebug(cid), getThingPosWithDebug(target), 3)
    addEvent(doDanoWithProtect, 200, cid, FIREDAMAGE, getThingPosWithDebug(target), waba, min, max, 706)
    
elseif spell == "Fire Fang" then

    doSendMagicEffect(getThingPosWithDebug(target), 0)
    doDanoInTargetWithDelay(cid, target, FIREDAMAGE, min, max, 0) --alterado v1.7
    addEvent(doSendMagicEffect, 140, PosTarget1, 496)
    
elseif spell == "Fire Blast" then

local p = getThingPosWithDebug(cid)
local d = isCreature(target) and getCreatureDirectionToTarget(cid, target) or getCreatureLookDir(cid)

function sendAtk(cid, area, eff)
if isCreature(cid) then
   if not isSightClear(p, area, false) then return true end 
   doAreaCombatHealth(cid, FIREDAMAGE, area, 0, 0, 0, eff)
   doAreaCombatHealth(cid, FIREDAMAGE, area, whirl3, -min, -max, 35)
end
end

for a = 0, 4 do

local t = {
[0] = {60, {x=p.x, y=p.y-(a+1), z=p.z}},           --alterado v1.4
[1] = {61, {x=p.x+(a+1), y=p.y, z=p.z}},
[2] = {62, {x=p.x, y=p.y+(a+1), z=p.z}},
[3] = {63, {x=p.x-(a+1), y=p.y, z=p.z}}
}   
addEvent(sendAtk, 300*a, cid, t[d][2], t[d][1])
end
    
elseif spell == "Rage" then

   local ret = {}
   ret.id = cid
   ret.cd = 15
   ret.eff = 13
   ret.check = 0
   ret.buff = spell
   ret.first = true
   
   doCondition2(ret)
      
elseif spell == "Raging Blast" then

                 --cid, effDist, effDano, areaEff, areaDano, element, min, max
       doMoveInAreaMulti(cid, 3, 6, bullet, bulletDano, FIREDAMAGE, min, max) 
       
elseif spell == "Dragon Claw" then

       doDanoWithProtect(cid, DRAGONDAMAGE, getThingPosWithDebug(target), 0, -min, -max, 141)
       
elseif spell == "Wing Attack" or spell == "Steel Wing" then

local effectpos = getThingPosWithDebug(cid)
local effect = 255
local a = isCreature(target) and getCreatureDirectionToTarget(cid, target) or getCreatureLookDir(cid)

    if a == 0 then
        effect = spell == "Steel Wing" and 251 or 128
        effectpos.x = effectpos.x + 1
        effectpos.y = effectpos.y - 1                   --alterado v1.4
    elseif a == 1 then
        effectpos.x = effectpos.x + 2
        effectpos.y = effectpos.y + 1
        effect = spell == "Steel Wing" and 253 or 129
    elseif a == 2 then
        effectpos.x = effectpos.x + 1
        effectpos.y = effectpos.y + 2
        effect = spell == "Steel Wing" and 252 or 131
    elseif a == 3 then
        effectpos.x = effectpos.x - 1
        effectpos.y = effectpos.y + 1
        effect = spell == "Steel Wing" and 254 or 130
    end

        doSendMagicEffect(effectpos, effect)
        doMoveInArea2(cid, 0, wingatk, FLYINGDAMAGE, min, max, spell)
        
elseif spell == "Magma Storm" then

local eff = {706, 706, 706, 706}
local area = {flames1, flames2, flames3, flames4, flames5, flames6, flames7, flames8}

addEvent(doMoveInArea2, 2*450, cid, 6, flames0, FIREDAMAGE, min, max, spell)
for i = 0, 3 do
    addEvent(doMoveInArea2, i*450, cid, eff[i+1], area[i+1], FIREDAMAGE, min, max, spell)
end

elseif spell == "Water Explosion" then

local eff = {53, 53, 53, 53}
local area = {wat1, wat2, wat4, wat5}

addEvent(doMoveInArea2, 2*450, cid, 2, flames0, FIREDAMAGE, min, max, spell)
for i = 0, 3 do
    addEvent(doMoveInArea2, i*450, cid, eff[i+1], area[i+1], FIREDAMAGE, min, max, spell)
end


elseif spell == "Bubbles" then

    doSendDistanceShoot(getThingPosWithDebug(cid), getThingPosWithDebug(target), 2)
    doDanoInTargetWithDelay(cid, target, WATERDAMAGE, min, max, 25) --alterado v1.7
    
elseif spell == "Clamp" then

    doSendDistanceShoot(getThingPosWithDebug(cid), getThingPosWithDebug(target), 2)
    doDanoInTargetWithDelay(cid, target, WATERDAMAGE, min, max, 53)  --alterado v1.7

elseif spell == "Water Gun" then

local a = isCreature(target) and getCreatureDirectionToTarget(cid, target) or getCreatureLookDir(cid)
local p = getThingPosWithDebug(cid)
local t = {
[0] = {69, {x=p.x, y=p.y-1, z=p.z}},
[1] = {70, {x=p.x+6, y=p.y, z=p.z}},      --alterado v1.8
[2] = {71, {x=p.x, y=p.y+6, z=p.z}},
[3] = {72, {x=p.x-1, y=p.y, z=p.z}},
}

doMoveInArea2(cid, 0, triplo6, WATERDAMAGE, min, max, spell)
doSendMagicEffect(t[a][2], t[a][1])
    
elseif spell == "Waterball" then
                     
    doSendDistanceShoot(getThingPosWithDebug(cid), getThingPosWithDebug(target), 2)
    doDanoWithProtectWithDelay(cid, target, WATERDAMAGE, min, max, 68, waba)
    
elseif spell == "Aqua Tail" then

    local function rebackSpd(cid, sss)
        if not isCreature(cid) then return true end
        doChangeSpeed(cid, sss)
        setPlayerStorageValue(cid, 446, -1)
    end

    local x = getCreatureSpeed(cid)
    doFaceOpposite(cid)
    doChangeSpeed(cid, -x)
    addEvent(rebackSpd, 400, cid, x)
    setPlayerStorageValue(cid, 446, 1)
    doAreaCombatHealth(cid, WATERDAMAGE, getThingPosWithDebug(target), 0, -min, -max, 68)
    
elseif spell == "Hydro Cannon" then

local p = getThingPosWithDebug(cid)
local d = isCreature(target) and getCreatureDirectionToTarget(cid, target) or getCreatureLookDir(cid)

function sendAtk(cid, area, eff)
if isCreature(cid) then
   if not isSightClear(p, area, false) then return true end
   doAreaCombatHealth(cid, WATERDAMAGE, area, 0, 0, 0, eff)
   doAreaCombatHealth(cid, WATERDAMAGE, area, whirl3, -min, -max, 68)
end
end

for a = 0, 4 do

local t = {                                     --alterado v1.4
[0] = {64, {x=p.x, y=p.y-(a+1), z=p.z}},
[1] = {65, {x=p.x+(a+1), y=p.y, z=p.z}},
[2] = {66, {x=p.x, y=p.y+(a+1), z=p.z}},
[3] = {67, {x=p.x-(a+1), y=p.y, z=p.z}}
}   
addEvent(sendAtk, 300*a, cid, t[d][2], t[d][1])
end
    
elseif spell == "Harden" or spell == "Calm Mind" or spell == "Defense Curl" or spell == "Charm" then    
                                                                    --alterado v1.4
    if spell == "Calm Mind" then
       eff = 133
    elseif spell == "Charm" then
       eff = 147                --efeito n eh esse.. e n sei se eh soh bonus de def, ou sp.def tb.. ;x
    else                             
       eff = 144
    end
    
    local ret = {}
    ret.id = cid
    ret.cd = 8
    ret.eff = eff
    ret.check = 0
    ret.buff = spell
    ret.first = true
   
    doCondition2(ret)

elseif spell == "Bubble Blast" then

                 --cid, effDist, effDano, areaEff, areaDano, element, min, max
       doMoveInAreaMulti(cid, 2, 68, bullet, bulletDano, WATERDAMAGE, min, max)
      
elseif spell == "Skull Bash" then

        doDanoWithProtect(cid, NORMALDAMAGE, getThingPosWithDebug(cid), skullb, min, max, 208)     

elseif spell == "Hydropump" then

local pos = getThingPosWithDebug(cid)

    local function doSendBubble(cid, pos)
        if not isCreature(cid) then return true end
        if isWithFear(cid) and getPlayerStorageValue(cid, 3644587) >= 1 then return true end
        if isSleeping(cid) and getPlayerStorageValue(cid, 3644587) >= 1 then return true end
        doSendDistanceShoot(getThingPosWithDebug(cid), pos, 2)
        doSendMagicEffect(pos, 53)
    end
                                                              --alterado!!
    for a = 1, 20 do
        local lugar = {x = pos.x + math.random(-4, 4), y = pos.y + math.random(-3, 3), z = pos.z}
        addEvent(doSendBubble, a * 25, cid, lugar)
    end
    addEvent(doDanoWithProtect, 150, cid, WATERDAMAGE, pos, waterarea, -min, -max, 0)

elseif spell == "String Shot" then

   doSendDistanceShoot(getThingPosWithDebug(cid), getThingPosWithDebug(target), 23)
   
   local ret = {}
   ret.id = target
   ret.cd = 6
   ret.eff = 137
   ret.check = getPlayerStorageValue(target, conds["Stun"])
   ret.spell = spell
   ret.cond = "Stun"
   
   addEvent(doMoveDano2, 100, cid, target, BUGDAMAGE, 0, 0, ret, spell)

elseif spell == "Bug Bite" then

    doSendMagicEffect(getThingPosWithDebug(target), 244)
    doDanoInTargetWithDelay(cid, target, BUGDAMAGE, min, max, ? --alterado v1.7

elseif spell == "Super Sonic" then

    local rounds = math.random(4, 7)
    rounds = rounds + math.floor(getMasterLevel(cid) / 35)

    doSendDistanceShoot(getThingPosWithDebug(cid), getThingPosWithDebug(target), 32)
    local ret = {}
    ret.id = target
    ret.cd = rounds
    ret.check = getPlayerStorageValue(target, conds["Confusion"])
    ret.cond = "Confusion"
    
    addEvent(doMoveDano2, 100, cid, target, NORMALDAMAGE, 0, 0, ret, spell)

    elseif isInArray({"Dragon Mist", "Fury Bird", "Mach Punch", "Nuzzle", "Shadow Sneak", "Shadow Mist", "Flash Kick", "Fenix Dash"}, spell) then 
        
        local a = isCreature(target) and getCreatureDirectionToTarget(cid, target) or getCreatureLookDir(cid)
        local p = getThingPosWithDebug(cid)    
        local t = {
            [0] = {364, {x=p.x+1, y=p.y-1, z=p.z}, 0, -5},
            [1] = {361, {x=p.x+5, y=p.y+1, z=p.z}, 5, 0}, 
            [2] = {363, {x=p.x+1, y=p.y+5, z=p.z}, 0, 5},
            [3] = {362, {x=p.x-1, y=p.y+1, z=p.z}, -5, 0}, 
        }
        qualDano = DRAGONDAMAGE
        
        if spell == "Fury Bird" then
            t = {
                [0] = {740, {x=p.x+1, y=p.y-1, z=p.z}, 0, -5, 595, posC},
                [1] = {738, {x=p.x+5, y=p.y+1, z=p.z}, 5, 0, 592, posC}, 
                [2] = {739, {x=p.x+1, y=p.y+5, z=p.z}, 0, 5, 593, posC},
                [3] = {737, {x=p.x-1, y=p.y+1, z=p.z}, -5, 0, 594, posC}, 
            }
            qualDano = FIREDAMAGE
        elseif spell == "Mach Punch" then
            t = {
                [0] = {569, {x=p.x+1, y=p.y-1, z=p.z}, 0, -5},
                [1] = {568, {x=p.x+5, y=p.y+1, z=p.z}, 5, 0}, 
                [2] = {566, {x=p.x+1, y=p.y+5, z=p.z}, 0, 5},
                [3] = {567, {x=p.x-1, y=p.y+1, z=p.z}, -5, 0}, 
            }
            qualDano = FIGHTINGDAMAGE
        elseif spell == "Shadow Sneak" then
            t = {
                [0] = {686, {x=p.x+1, y=p.y-1, z=p.z}, 0, -5},
                [1] = {687, {x=p.x+5, y=p.y+1, z=p.z}, 5, 0}, 
                [2] = {689, {x=p.x+1, y=p.y+5, z=p.z}, 0, 5},
                [3] = {688, {x=p.x-1, y=p.y+1, z=p.z}, -5, 0}, 
            }
            qualDano = GHOSTDAMAGE
        elseif spell == "Nuzzle" then
            t = {
                [0] = {589, {x=p.x+1, y=p.y-1, z=p.z}, 0, -5},
                [1] = {590, {x=p.x+5, y=p.y+1, z=p.z}, 5, 0}, 
                [2] = {588, {x=p.x+1, y=p.y+5, z=p.z}, 0, 5},
                [3] = {591, {x=p.x-1, y=p.y+1, z=p.z}, -5, 0}, 
            }
            qualDano = ELECTRICDAMAGE
        elseif spell == "Shadow Mist" then
            t = {
                [0] = {675, {x=p.x+1, y=p.y-1, z=p.z}, 0, -5},
                [1] = {677, {x=p.x+5, y=p.y+1, z=p.z}, 5, 0}, 
                [2] = {676, {x=p.x+1, y=p.y+5, z=p.z}, 0, 5},
                [3] = {674, {x=p.x-1, y=p.y+1, z=p.z}, -5, 0}, 
            }
            qualDano = GHOSTDAMAGE
        elseif spell == "Flash Kick" then
            if isInArray({"Elite Hitmonlee", "Shiny Hitmonlee"}, getSubName(cid, target)) then
                t = {
                    [0] = {648, {x=p.x+1, y=p.y-1, z=p.z}, 0, -5},
                    [1] = {650, {x=p.x+5, y=p.y+1, z=p.z}, 5, 0}, 
                    [2] = {649, {x=p.x+1, y=p.y+5, z=p.z}, 0, 5},
                    [3] = {647, {x=p.x-1, y=p.y+1, z=p.z}, -5, 0}, 
                }
            else
                t = {
                    [0] = {658, {x=p.x+1, y=p.y-1, z=p.z}, 0, -5},
                    [1] = {660, {x=p.x+5, y=p.y+1, z=p.z}, 5, 0}, 
                    [2] = {659, {x=p.x+1, y=p.y+5, z=p.z}, 0, 5},
                    [3] = {657, {x=p.x-1, y=p.y+1, z=p.z}, -5, 0}, 
                }
            end
            qualDano = FIGHTINGDAMAGE
        elseif spell == "Fenix Dash" then
            t = {
                [0] = {865, {x=p.x+1, y=p.y-1, z=p.z}, 0, -5},
                [1] = {866, {x=p.x+5, y=p.y+1, z=p.z}, 5, 0}, 
                [2] = {867, {x=p.x+1, y=p.y+5, z=p.z}, 0, 5},
                [3] = {864, {x=p.x-1, y=p.y+1, z=p.z}, -5, 0}, 
            }
            qualDano = FIREDAMAGE
        --            
        end
        
        local function doTeleportMe(cid, pos)
            if not isCreature(cid) then return true end
            if canWalkOnPos(pos, false, true, true, true, true) then 
                doTeleportThing(cid, pos)
            end
            
             if spell == "Fenix Dash" then
              addEvent(doAppear, 450, cid)
             else 
              doAppear(cid)
             end
        end
        
        if spell == "Nuzzle" then
            doSendMagicEffect(posC, 355) -- efeito de portal antes de ir
            -- efeito de portal/teleportando dps q termina o attk
        end 
        
        if spell == "Shadow Sneak" then
            doSendMagicEffect(posC1, 697)
            doMoveInArea2(cid, 0, reto5, qualDano, min, max, spell) -- area do shadow sneak
            addEvent(doSendMagicEffect, 30, t[a][2], t[a][1])
        else
            doMoveInArea2(cid, 0, triplo6, qualDano, min, max, spell) -- area padrão para o resto da sspells (6 sqm de distância e 3 sqm de largura)
            doSendMagicEffect(t[a][2], t[a][1])
        end
        
        local pos = getThingPos(cid)
        doSendMagicEffect(pos, 307)
        doDisapear(cid) 
        local x, y = t[a][3], t[a][4]
        
        pos.x = pos.x + x
        pos.y = pos.y + y    
        addEvent(doTeleportMe, 300, cid, pos)    
    
elseif spell == "Night Shade" then

        doMoveInArea2(cid, 297, shade, DARKDAMAGE, min, max, spell)
        
local eff = 497          

    doAreaCombatHealth(cid, DARKDAMAGE, getThingPosWithDebug(cid), splash, -min, -max, -1)

    local sps = getThingPosWithDebug(cid)
    sps.x = sps.x+1
    sps.y = sps.y+1
    doSendMagicEffect(sps, eff)


elseif spell == "Whirlwind" then

area = {SL1, SL2, SL3, SL4}

for i = 0, 3 do
    addEvent(doMoveInArea2, i*300, cid, 735, area[i+1], FLYINGDAMAGE, min, max, spell)
end
    
elseif spell == "Psybeam" then

local a = isCreature(target) and getCreatureDirectionToTarget(cid, target) or getCreatureLookDir(cid)
local t = {
[0] = 58,       --alterado v1.6
[1] = 234,
[2] = 58,
[3] = 209,
}

doMoveInArea2(cid, t[a], reto4, psyDmg, min, max, spell)     --alterado v1.4

elseif spell == "Sand Attack" then

local a = isCreature(target) and getCreatureDirectionToTarget(cid, target) or getCreatureLookDir(cid)
local t = {
[0] = 120,
[1] = 121,
[2] = 122,
[3] = 119,
}

local ret = {}
ret.id = 0
ret.cd = 9
ret.eff = 34
ret.check = 0
ret.spell = spell
ret.cond = "Miss"

doCreatureSetLookDir(cid, a)  --sera? '-'
stopNow(cid, 1000)  
doMoveInArea2(cid, t[a], reto5, GROUNDDAMAGE, 0, 0, spell, ret) 

elseif spell == "Confusion" then

    local rounds = math.random(4, 7)       --rever area...
    rounds = rounds + math.floor(getMasterLevel(cid) / 35)
    
    if spell == "Confusion" then
       dano = psyDmg             --alterado v1.4
    else
       dano = ghostDmg
    end

    local ret = {}
    ret.id = 0
    ret.check = 0
    ret.cd = rounds
    ret.cond = "Confusion"

    local p = getThingPosWithDebug(cid)
    doSendMagicEffect({x=p.x+1, y=p.y+1, z=p.z}, 497)
    doMoveInArea2(cid, 297, selfArea1, dano, min, max, spell, ret)
    
elseif spell == "Horn Attack" then
       
       doSendDistanceShoot(getThingPosWithDebug(cid), getThingPosWithDebug(target), 15)
       doDanoInTargetWithDelay(cid, target, NORMALDAMAGE, min, max, 3) --alterado v1.7

elseif spell == "Poison Sting" then
       
       doSendDistanceShoot(getThingPosWithDebug(cid), getThingPosWithDebug(target), 15)
       doDanoInTargetWithDelay(cid, target, POISONDAMAGE, min, max, ? --alterado v1.7
        
elseif spell == "Fury Cutter" or spell == "Red Fury" then

       local effectpos = getThingPosWithDebug(cid)
       local effect = 255
       local a = isCreature(target) and getCreatureDirectionToTarget(cid, target) or getCreatureLookDir(cid)

    if a == 0 then
        if getSubName(cid, target) == "Scizor" then  --alterado v1.6.1
           effect = 236
        else
           effect = 128
        end
        effectpos.x = effectpos.x + 1
        effectpos.y = effectpos.y - 1
    elseif a == 1 then
        effectpos.x = effectpos.x + 2
        effectpos.y = effectpos.y + 1
        if getSubName(cid, target) == "Scizor" then   --alterado v1.6.1
           effect = 232
        else
           effect = 129
        end
    elseif a == 2 then
        effectpos.x = effectpos.x + 1
        effectpos.y = effectpos.y + 2
        if getSubName(cid, target) == "Scizor" then   --alterado v1.6.1
           effect = 233
        else
           effect = 131
        end
    elseif a == 3 then
        effectpos.x = effectpos.x - 1
        effectpos.y = effectpos.y + 1
        if getSubName(cid, target) == "Scizor" then   --alterado v1.6.1
           effect = 224
        else
           effect = 130
        end
    end
        local function doFury(cid, effect)
        if not isCreature(cid)  then return true end
        if isWithFear(cid) and getPlayerStorageValue(cid, 3644587) >= 1 then return true end
        if isSleeping(cid) and getPlayerStorageValue(cid, 3644587) >= 1 then return true end
           doSendMagicEffect(effectpos, effect)
           doMoveInArea2(cid, 2, wingatk, BUGDAMAGE, min, max, spell)
        end                               
        
        addEvent(doFury, 0, cid, effect)
        addEvent(doFury, 350, cid, effect)
        
elseif spell == "Pin Missile" then

       doMoveInAreaMulti(cid, 13, 7, bullet, bulletDano, BUGDAMAGE, min, max)
       
elseif spell == "Strafe" or spell == "Agility" then

   local ret = {}
   ret.id = cid
   ret.cd = 15
   ret.eff = 14
   ret.check = 0
   ret.buff = spell
   ret.first = true
   
   doCondition2(ret)
    
elseif spell == "Gust" then

       doMoveInArea2(cid, 42, reto5, FLYINGDAMAGE, min, max, spell) 
       
elseif spell == "Drill Peck" then
    
doDanoWithProtect(cid, FLYINGDAMAGE, getThingPosWithDebug(target), 0, -min, -max, 148)

elseif spell == "Tornado" then

    local pos = getThingPosWithDebug(cid)

    local function doSendTornado(cid, pos)
        if not isCreature(cid) then return true end
        if isWithFear(cid) and getPlayerStorageValue(cid, 3644587) >= 1 then return true end
        if isSleeping(cid) and getPlayerStorageValue(cid, 3644587) >= 1 then return true end
        doSendDistanceShoot(getThingPosWithDebug(cid), pos, 22)
        doSendMagicEffect(pos, 727)
    end

    for b = 1, 3 do
        for a = 1, 20 do
            local lugar = {x = pos.x + math.random(-4, 4), y = pos.y + math.random(-3, 3), z = pos.z}
            addEvent(doSendTornado, a * 75, cid, lugar)
        end
    end
    doDanoWithProtect(cid, FLYINGDAMAGE, pos, waterarea, -min, -max, 0)

elseif spell == "Windstorm" then

local eff = {42, 2, 42, 42}
local area = {windstorm1, windstorm2, windstorm1, windstorm2}

addEvent(doMoveInArea2, 2*450, cid, 2, windstorm1, FLYINGDAMAGE, min, max, spell)
for i = 0, 3 do
    addEvent(doMoveInArea2, i*450, cid, eff[i+1], area[i+1], FLYINGDAMAGE, min, max, spell)
end
    
elseif spell == "Bite" or tonumber(spell) == 5 then

    doDanoWithProtect(cid, DARKDAMAGE, getThingPosWithDebug(target), 0, -min, -max, 146)
    
elseif spell == "Super Fang" then

    doDanoWithProtect(cid, NORMALDAMAGE, getThingPosWithDebug(target), 0, -min, -max, 244)
    
elseif spell == "Poison Fang" then

    doSendMagicEffect(getThingPosWithDebug(target), 244)
    doDanoInTargetWithDelay(cid, target, POISONDAMAGE, min, max, 114) --alterado v1.7
    
elseif spell == "Sting Gun" then
       
       local function doGun(cid, target)
       if not isCreature(cid) or not isCreature(target) then return true end    --alterado v1.7
          doSendDistanceShoot(getThingPosWithDebug(cid), getThingPosWithDebug(target), 13)
          doDanoInTargetWithDelay(cid, target, POISONDAMAGE, min, max, ?  --alterado v1.7
       end

       setPlayerStorageValue(cid, 3644587, 1)
       addEvent(setPlayerStorageValue, 200, cid, 3644587, 1)
       for i = 0, 2 do
           addEvent(doGun, i*100, cid, target)
       end 
       
elseif spell == "Acid" then

    doSendDistanceShoot(getThingPosWithDebug(cid), getThingPosWithDebug(target), 14)
    doDanoInTargetWithDelay(cid, target, POISONDAMAGE, min, max, 20)    --alterado v1.7
    
elseif spell == "Fear" or spell == "Roar" then

    local ret = {}
    ret.id = 0
    ret.cd = 5
    ret.check = 0
    ret.skill = spell
    ret.cond = "Fear"
    
    doMoveInArea2(cid, 0, confusion, DARKDAMAGE, 0, 0, spell, ret)
    
elseif spell == "Iron Tail" then

    local function rebackSpd(cid, sss)
        if not isCreature(cid) then return true end
        doChangeSpeed(cid, sss)
        setPlayerStorageValue(cid, 446, -1)
    end

    local x = getCreatureSpeed(cid)
    doFaceOpposite(cid)
    doChangeSpeed(cid, -x)
    addEvent(rebackSpd, 400, cid, x)
    setPlayerStorageValue(cid, 446, 1)
    doDanoWithProtect(cid, STEELDAMAGE, getThingPosWithDebug(target), 0, -min, -max, 160)
    
elseif spell == "Thunder Shock" then
                                     
    doSendDistanceShoot(getThingPosWithDebug(cid), getThingPosWithDebug(target), 40)
    doDanoInTargetWithDelay(cid, target, ELECTRICDAMAGE, min, max, 48)   --alterado v1.7

elseif spell == "Thunder Bolt" then

        --alterado v1.7
        local function doThunderFall(cid, frompos, target)
            if not isCreature(target) or not isCreature(cid) then return true end
        local pos = getThingPosWithDebug(target)
        local ry = math.abs(frompos.y - pos.y)
        doSendDistanceShoot(frompos, getThingPosWithDebug(target), 41)
        addEvent(doDanoInTarget, ry * 11, cid, target, ELECTRICDAMAGE, min, max, 48) --alterado v1.7
        end

        local function doThunderUp(cid, target)
            if not isCreature(target) or not isCreature(cid) then return true end
        local pos = getThingPosWithDebug(target)
        local mps = getThingPosWithDebug(cid)
        local xrg = math.floor((pos.x - mps.x) / 2)
        local topos = mps
        topos.x = topos.x + xrg
        local rd =  7
        topos.y = topos.y - rd
        doSendDistanceShoot(getThingPosWithDebug(cid), topos, 41)
        addEvent(doThunderFall, rd * 49, cid, topos, target)
        end        

    setPlayerStorageValue(cid, 3644587, 1)
    addEvent(setPlayerStorageValue, 350, cid, 3644587, -1)
    for thnds = 1, 2 do
        addEvent(doThunderUp, thnds * 155, cid, target)
    end
    
elseif spell == "Thunder Wave" then

local ret = {}
ret.id = 0
ret.cd = 9
ret.check = 0
ret.eff = 48
ret.spell = spell
ret.cond = "Stun"

doMoveInArea2(cid, 48, db1, ELECTRICDAMAGE, min, max, spell, ret) --alterado v1.8

elseif spell == "Thunder" then

local ret = {}
ret.id = 0
ret.cd = 9
ret.check = 0
ret.eff = 48
ret.spell = spell
ret.cond = "Stun"

doMoveInArea2(cid, 48, thunderr, ELECTRICDAMAGE, min, max, spell, ret)

elseif spell == "Mega Kick" then

    doSendDistanceShoot(getThingPosWithDebug(cid), getThingPosWithDebug(target), 39)
    doDanoInTargetWithDelay(cid, target, FIGHTINGDAMAGE, min, max, 113)   --alterado v1.7
    
elseif spell == "Thunder Punch" then

    doSendDistanceShoot(getThingPosWithDebug(cid), getThingPosWithDebug(target), 39)
    doSendMagicEffect(getThingPosWithDebug(target), 112)
    doDanoInTargetWithDelay(cid, target, ELECTRICDAMAGE, min, max, 48) --alterado v1.7
    
elseif spell == "Electric Storm" then             

local master = isSummon(cid) and getCreatureMaster(cid) or cid

local function doFall(cid)
for rocks = 1, 42 do
    addEvent(fall, rocks*35, cid, master, ELECTRICDAMAGE, 41, 476)
end
end

for up = 1, 10 do
    addEvent(upEffect, up*75, cid, 41)
end
addEvent(doFall, 450, cid)

local ret = {}
ret.id = 0
ret.cd = 9
ret.check = 0
ret.eff = 48
ret.spell = spell
ret.cond = "Stun"

addEvent(doMoveInArea2, 1400, cid, 0, BigArea2, ELECTRICDAMAGE, min, max, spell, ret)

elseif spell == "Mud Shot" or spell == "Mud Slap" then

if isCreature(target) then                                    --alterado v1.8
local contudion = spell == "Mud Shot" and "Miss" or "Stun"                                                   
local ret = {}
ret.id = target
ret.cd = 9
ret.eff = 34
ret.check = getPlayerStorageValue(target, conds[contudion])
ret.spell = spell
ret.cond = contudion

    doSendDistanceShoot(getThingPosWithDebug(cid), getThingPosWithDebug(target), 6)
    addEvent(doMoveDano2, 100, cid, target, GROUNDDAMAGE, -min, -max, ret, spell)
end
 
elseif spell == "Rollout" then

    local function setOutfit(cid, outfit)
          if isCreature(cid) and getCreatureCondition(cid, CONDITION_OUTFIT) == true then
             if getCreatureOutfit(cid).lookType == outfit then
                doRemoveCondition(cid, CONDITION_OUTFIT)
                if getCreatureName(cid) == "Ditto" and pokes[getPlayerStorageValue(cid, 1010)] and getPlayerStorageValue(cid, 1010) ~= "Ditto" then
                   if isSummon(cid) then
                      local item = getPlayerSlotItem(getCreatureMaster(cid), ?
                      doSetCreatureOutfit(cid, {lookType = getItemAttribute(item.uid, "transOutfit")}, -1)   --alterado v1.8
                   end
                end 
             end
          end
    end
    
    if RollOuts[getSubName(cid, target)] then
        doSetCreatureOutfit(cid, RollOuts[getSubName(cid, target)], -1)   --alterado v1.6.1
    end 

    local outfit = getCreatureOutfit(cid).lookType

    local function roll(cid, outfit)
    if not isCreature(cid) then return true end
    if isSleeping(cid) then return true end
       if RollOuts[getSubName(cid, target)] then
          doSetCreatureOutfit(cid, RollOuts[getSubName(cid, target)], -1)   --alterado v1.6.1
       end
       doDanoWithProtect(cid, ROCKDAMAGE, getThingPosWithDebug(cid), splash, -min, -max, 0)
    end

    setPlayerStorageValue(cid, 3644587, 1)
    addEvent(setPlayerStorageValue, 9000, cid, 3644587, -1)
    for r = 1, 11 do  --8
        addEvent(roll, 750 * r, cid, outfit)
    end
    addEvent(setOutfit, 9050, cid, outfit)
    
elseif spell == "Shockwave" then

local p = getThingPosWithDebug(cid)
local d = isCreature(target) and getCreatureDirectionToTarget(cid, target) or getCreatureLookDir(cid)

function sendAtk(cid, area, areaEff, eff)
if isCreature(cid) then
   if not isSightClear(p, area, false) then return true end                                             --testar o atk!!
   doAreaCombatHealth(cid, GROUNDDAMAGE, areaEff, 0, 0, 0, eff)    
   doAreaCombatHealth(cid, GROUNDDAMAGE, area, whirl3, -min, -max, 255)     
end
end

for a = 0, 5 do

local t = {
[0] = {126, {x=p.x, y=p.y-(a+1), z=p.z}, {x=p.x+1, y=p.y-(a+1), z=p.z}},           
[1] = {124, {x=p.x+(a+1), y=p.y, z=p.z}, {x=p.x+(a+1), y=p.y+1, z=p.z}},
[2] = {125, {x=p.x, y=p.y+(a+1), z=p.z}, {x=p.x+1, y=p.y+(a+1), z=p.z}},
[3] = {123, {x=p.x-(a+1), y=p.y, z=p.z}, {x=p.x-(a+1), y=p.y+1, z=p.z}}
}   
addEvent(sendAtk, 325*a, cid, t[d][2], t[d][3], t[d][1])
end                          
    
elseif spell == "Sweet Kiss" then                   

local function throw(cid, target)
if not isCreature(cid) or not isCreature(target) then return false end
    doDanoInTargetWithDelay(cid, target, NORMALDAMAGE, min, max, 147)  
end

addEvent(throw, 0, cid, target)
addEvent(throw, 100, cid, target)         

elseif spell == "Dynamic Punch" then                   

local function throw(cid, target)
if not isCreature(cid) or not isCreature(target) then return false end
    doDanoInTargetWithDelay(cid, target, NORMALDAMAGE, min, max, 90)  
end

elseif spell == "Mean Look" then                   

local function throw(cid, target)
if not isCreature(cid) or not isCreature(target) then return false end
    doDanoInTargetWithDelay(cid, target, NORMALDAMAGE, min, max, 139)  
end

addEvent(throw, 0, cid, target)
addEvent(throw, 100, cid, target)     
    
elseif spell == "Draining Kiss" then

    local life = getCreatureHealth(target)

    doAreaCombatHealth(cid, NORMALDAMAGE, getThingPosWithDebug(target), 0, -min, -max, 14)
    
    local newlife = life - getCreatureHealth(target)

    doSendMagicEffect(getThingPosWithDebug(cid), 132)
    if newlife >= 1 then
       doCreatureAddHealth(cid, newlife)
       doSendAnimatedText(getThingPosWithDebug(cid), "+"..newlife.."", 32)
    end      
    
elseif spell == "Earthshock" then

local eff = getSubName(cid, target) == "Shiny Onix" and 179 or 127 --alterado v1.6.1              

    doAreaCombatHealth(cid, GROUNDDAMAGE, getThingPosWithDebug(cid), splash, -min, -max, 255)

    local sps = getThingPosWithDebug(cid)
    sps.x = sps.x+1
    sps.y = sps.y+1
    doSendMagicEffect(sps, eff)
    
elseif spell == "Earthquake" then

local eff = getSubName(cid, target) == "Shiny Onix" and 175 or 118  --alterado v1.6.1
 
local function doQuake(cid)
if not isCreature(cid) then return false end
if isSleeping(cid) and getPlayerStorageValue(cid, 3644587) >= 1 then return false end
if isWithFear(cid) and getPlayerStorageValue(cid, 3644587) >= 1 then return true end
   doMoveInArea2(cid, eff, ee, GROUNDDAMAGE, min, max, spell)
end

times = {0, 500, 1000, 1500, 2300, 2800, 3300, 3800, 4600, 5100, 5600, 6100, 6900, 7400, 7900, 8400, 9200, 10000}

setPlayerStorageValue(cid, 3644587, 1)
addEvent(setPlayerStorageValue, 10000, cid, 3644587, -1)
for i = 1, #times do                   --alterado v1.4
    addEvent(doQuake, times[i], cid)
end
    
    
elseif spell == "Stomp" then
    
    local ret = {}
    ret.id = 0
    ret.cd = 9
    ret.check = 0
    ret.eff = 34
    ret.spell = spell
    ret.cond = "Stun"   
       
    doMoveInArea2(cid, 118, stomp, GROUNDDAMAGE, min, max, spell, ret)
       
elseif spell == "Toxic Spikes" then
       
       local function doToxic(cid, target)
       if not isCreature(cid) or not isCreature(target) then return true end  --alterado v1.7
          doSendDistanceShoot(getThingPosWithDebug(cid), getThingPosWithDebug(target), 15)
          doDanoInTargetWithDelay(cid, target, POISONDAMAGE, min, max, 114) --alterado v1.7
       end

       setPlayerStorageValue(cid, 3644587, 1)
       addEvent(setPlayerStorageValue, 300, cid, 3644587, -1)
       addEvent(doToxic, 0, cid, target)
       addEvent(doToxic, 300, cid, target)
       
elseif spell == "Horn Drill" then
       
       local function doHorn(cid, target)
       if not isCreature(cid) or not isCreature(target) then return true end   --alterado v1.7
          doSendDistanceShoot(getThingPosWithDebug(cid), getThingPosWithDebug(target), 25)
          doDanoInTargetWithDelay(cid, target, NORMALDAMAGE, min, max, 3)  --alterado v1.7
       end

       setPlayerStorageValue(cid, 3644587, 1)
       addEvent(setPlayerStorageValue, 300, cid, 3644587, -1)
       addEvent(doHorn, 0, cid, target)
       addEvent(doHorn, 300, cid, target)
       
elseif spell == "Doubleslap" then
       
    doAreaCombatHealth(cid, NORMALDAMAGE, getThingPosWithDebug(target), 0, -min, -max, 148)
    
elseif spell == "Lovely Kiss" then 
   
    doSendDistanceShoot(getThingPosWithDebug(cid), getThingPosWithDebug(target), 16)
    
    local ret = {}
    ret.id = target
    ret.cd = 9
    ret.check = getPlayerStorageValue(target, conds["Stun"])
    ret.eff = 147
    ret.spell = spell
    ret.cond = "Stun"  
    
    addEvent(doMoveDano2, 100, cid, target, NORMALDAMAGE, 0, 0, ret, spell)
    
elseif spell == "Sing" then

doMoveInArea2(cid, 22, selfArea1, NORMALDAMAGE, 0, 0, spell, ret) 
    
elseif spell == "Multislap" then

       doAreaCombatHealth(cid, NORMALDAMAGE, getThingPosWithDebug(cid), splash, -min, -max, 3)
       
elseif spell == "Metronome" then

local spells = {"Shadow Storm", "Electric Storm", "Magma Storm", "Blizzard", "Leaf Storm", "Hydropump", "Falling Rocks"}

    local random = math.random(1, #spells)

    local randommove = spells[random]
    local pos = getThingPosWithDebug(cid)
    pos.y = pos.y - 1
    pos.x = pos.x - 1

    doSendMagicEffect(pos, 161)
    
    local function doMetronome(cid, skill)
    if not isCreature(cid) then return true end
       docastspell(cid, skill)
    end
    
    addEvent(doMetronome, 200, cid, randommove)
    
elseif spell == "Focus" or spell == "Charge" or spell == "Swords Dance" then
                                                    --alterado v1.4
       if spell == "Charge" then
          doSendAnimatedText(getThingPosWithDebug(cid), "CHARGE", 168)
          doSendMagicEffect(getThingPosWithDebug(cid), 177)
       elseif spell == "Swords Dance" then
           doSendMagicEffect(getThingPosWithDebug(cid), 642) 
       else
           doSendAnimatedText(getThingPosWithDebug(cid), "FOCUS", 144)
           doSendMagicEffect(getThingPosWithDebug(cid), 132)
       end
       setPlayerStorageValue(cid, 253, 1)
       
--[[elseif spell == "Flame Wheel" then
                                                    --alterado v1.8 o atk ta la pra baixo agora...
    local function sendFireEff(cid, dir)
    if not isCreature(cid) then return true end
    if isSleeping(cid) and getPlayerStorageValue(cid, 3644587) >= 1 then return false end
    if isWithFear(cid) and getPlayerStorageValue(cid, 3644587) >= 1 then return true end
       doDanoWithProtect(cid, FIREDAMAGE, getPosByDir(getThingPosWithDebug(cid), dir), 0, -min, -max, 15)
    end

    local function doWheel(cid)
    if not isCreature(cid) then return true end
    local t = {
          [1] = SOUTH,
          [2] = SOUTHEAST,
          [3] = EAST,
          [4] = NORTHEAST,
          [5] = NORTH,        --alterado!
          [6] = NORTHWEST,
          [7] = WEST,
          [8] = SOUTHWEST,
        }
        for a = 1, 8 do
            addEvent(sendFireEff, a * 140, cid, t[a])
        end
    end

    doWheel(cid, false, cid)    ]]
    
elseif spell == "Hyper Voice" then

    local ret = {}
    ret.id = 0
    ret.cd = 9
    ret.check = 0
    ret.eff = 22
    ret.spell = spell
    ret.cond = "Stun"   
       
    doMoveInArea2(cid, 22, tw1, NORMALDAMAGE, min, max, spell, ret)

elseif spell == "Restore" or spell == "Selfheal" then
    
    local min = (getCreatureMaxHealth(cid) * 75) / 100
    local max = (getCreatureMaxHealth(cid) * 85) / 100
    
    local function doHealArea(cid, min, max)
    local amount = math.random(min, max)
    if (getCreatureHealth(cid) + amount) >= getCreatureMaxHealth(cid) then
        amount = -(getCreatureHealth(cid)-getCreatureMaxHealth(cid))
    end
    if getCreatureHealth(cid) ~= getCreatureMaxHealth(cid) then
       doCreatureAddHealth(cid, amount)
       doSendAnimatedText(getThingPosWithDebug(cid), "+"..amount.."", 65)
    end
    end
    
    doSendMagicEffect(getThingPosWithDebug(cid), 132)
    doHealArea(cid, min, max)
    
elseif spell == "Polish Rock" then
    
    local min = (getCreatureMaxHealth(cid) * 75) / 100
    local max = (getCreatureMaxHealth(cid) * 85) / 100
    
    local function doHealArea(cid, min, max)
    local amount = math.random(min, max)
    if (getCreatureHealth(cid) + amount) >= getCreatureMaxHealth(cid) then
        amount = -(getCreatureHealth(cid)-getCreatureMaxHealth(cid))
    end
    if getCreatureHealth(cid) ~= getCreatureMaxHealth(cid) then
       doCreatureAddHealth(cid, amount)
       doSendAnimatedText(getThingPosWithDebug(cid), "+"..amount.."", 65)
    end
    end
    
    doSendMagicEffect(getThingPosWithDebug(cid), 157)
    doHealArea(cid, min, max)
    
    
elseif spell == "Healarea" then
    
    local min = (getCreatureMaxHealth(cid) * 50) / 100
    local max = (getCreatureMaxHealth(cid) * 60) / 100
    
    local function doHealArea(cid, min, max)
    local amount = math.random(min, max)
    if (getCreatureHealth(cid) + amount) >= getCreatureMaxHealth(cid) then
        amount = -(getCreatureHealth(cid)-getCreatureMaxHealth(cid))
    end
    if getCreatureHealth(cid) ~= getCreatureMaxHealth(cid) then
       doCreatureAddHealth(cid, amount)
       doSendAnimatedText(getThingPosWithDebug(cid), "+"..amount.."", 65)
    end
    end
    
    local pos = getPosfromArea(cid, heal)
    local n = 0
    doHealArea(cid, min, max)
    
    while n < #pos do
    n = n+1
    thing = {x=pos[n].x,y=pos[n].y,z=pos[n].z,stackpos=253}
    local pid = getThingFromPosWithProtect(thing)
    
    doSendMagicEffect(pos[n], 12)
    if isCreature(pid) then
       if isSummon(cid) and (isSummon(pid) or isPlayer(pid)) then
          if canAttackOther(cid, pid) == "Cant" then
             doHealArea(pid, min, max)
          end 
       elseif ehMonstro(cid) and ehMonstro(pid) then
          doHealArea(pid, min, max)
       end
    end 
    end
    
elseif spell == "Toxic" then

  doMoveInArea2(cid, 114, reto5, POISONDAMAGE, min, max, spell)
       
elseif spell == "Absorb" then

    local life = getCreatureHealth(target)

    doAreaCombatHealth(cid, GRASSDAMAGE, getThingPosWithDebug(target), 0, -min, -max, 0)
    
    local newlife = life - getCreatureHealth(target)

    doSendMagicEffect(getThingPosWithDebug(cid), 0)
    addEvent(doSendMagicEffect, 60, PosTarget1, 508)
    if newlife >= 1 then
       doCreatureAddHealth(cid, newlife)
       doSendAnimatedText(getThingPosWithDebug(cid), "+"..newlife.."", 32)
    end  
    
elseif spell == "Poison Bomb" then

        local function doAcidBomb(cid, areaDMG, target)
            if not isCreature(cid) or not isCreature(target) then return true end
            doSendDistanceShoot(getThingPosWithDebug(cid), getThingPosWithDebug(target), 14)
            doDanoWithProtectWithDelay(cid, target, POISONDAMAGE, min, max, 721, areaDMG) -- 20
            return true
        end
        areas = {poisonBomb1, poisonBomb2, poisonBomb3}
        for i = 0, 2 do
            addEvent(doAcidBomb, 200 * i, cid, areas[i+1], target)
        end

elseif spell == "Poison Gas" then 

local dmg = isSummon(cid) and getMasterLevel(cid)+getPokemonBoost(cid) or getPokemonLevel(cid)

local ret = {id = 0, cd = 2, eff = 34, check = 0, spell = spell, cond = "Miss"}
-- local ret2 = {id = 0, cd = 2, check = 0, damage = dmg, cond = "Poison"}                          --rever isso ainda!!
  
    local function gas(cid)
           doMoveInArea2(cid, 153, poisong, POISONDAMAGE, 0, 0, spell, ret)
           doMoveInArea2(cid, 0, poisong, POISONDAMAGE, min, max, spell)
    end
        
times = {0, 500, 1000, 1500, 2300, 2800} -- , 9200, 10000

for i = 1, #times do
    addEvent(gas, times[i], cid)                            
end
    
elseif spell == "Petal Dance" then

       doMoveInAreaMulti(cid, 21, 245, bullet, bulletDano, GRASSDAMAGE, min, max)
       
elseif spell == "Slash" then

    doAreaCombatHealth(cid, NORMALDAMAGE, getThingPosWithDebug(target), 0, -min, -max, 159)
    
elseif spell == "X-Scissor" then

local a = getThingPosWithDebug(cid)
 
local X = {
{{x = a.x+1, y = a.y, z = a.z}, 16}, --norte
{{x = a.x+2, y = a.y+1, z = a.z}, 221}, --leste
{{x = a.x+1, y = a.y+2, z = a.z}, 223}, --sul
{{x = a.x, y = a.y+1, z = a.z}, 243}, --oeste
}

local pos = X[mydir+1]

for b = 1, 3 do
    addEvent(doSendMagicEffect, b * 70, pos[1], pos[2])
end
    
doMoveInArea2(cid, 2, xScissor, BUGDAMAGE, min, max, spell)
    
elseif spell == "Psychic" then
       
    doDanoWithProtect(cid, psyDmg, getThingPosWithDebug(cid), selfArea2, min, max, 133)    

elseif spell == "Water Spout" then
                                    
    doDanoWithProtect(cid, WATERDAMAGE, getThingPosWithDebug(cid), wtt, min, max, 68)     
    
elseif spell == "Pay Day" then

        --alterado v1.7
        local function doThunderFall(cid, frompos, target)
            if not isCreature(target) or not isCreature(cid) then return true end
        local pos = getThingPosWithDebug(target)
        local ry = math.abs(frompos.y - pos.y)
        doSendDistanceShoot(frompos, getThingPosWithDebug(target), 39)
        addEvent(doDanoInTarget, ry * 11, cid, target, NORMALDAMAGE, min, max, 28)  --alterado v1.7
        end

        local function doThunderUp(cid, target)
            if not isCreature(target) or not isCreature(cid) then return true end
        local pos = getThingPosWithDebug(target)
        local mps = getThingPosWithDebug(cid)
        local xrg = math.floor((pos.x - mps.x) / 2)
        local topos = mps
        topos.x = topos.x + xrg
        local rd =  7
        topos.y = topos.y - rd
        doSendDistanceShoot(getThingPosWithDebug(cid), topos, 39)
        addEvent(doThunderFall, rd * 49, cid, topos, target)
        end        

    setPlayerStorageValue(cid, 3644587, 1)
    addEvent(setPlayerStorageValue, 350, cid, 3644587, -1)          
    for thnds = 1, 2 do
        addEvent(doThunderUp, thnds * 155, cid, target)
    end 
    
elseif spell == "Psywave" then

doMoveInArea2(cid, 133, db1, psyDmg, min, max, spell)      

elseif spell == "Triple Kick" or spell == "Triple Kick Lee" then

    doDanoWithProtect(cid, FIGHTINGDAMAGE, getThingPosWithDebug(target), 0, -min, -max, 110)
    
elseif spell == "Karate Chop" then
    
    doSendDistanceShoot(getThingPosWithDebug(cid), getThingPosWithDebug(target), 39)
    doDanoInTargetWithDelay(cid, target, FIGHTINGDAMAGE, -min, -max, 113)  --alterado v1.7
    
elseif spell == "Ground Chop" then

local p = getThingPosWithDebug(cid)
local d = isCreature(target) and getCreatureDirectionToTarget(cid, target) or getCreatureLookDir(cid)

function sendAtk(cid, area, area2, eff)  --alterado v1.6
if isCreature(cid) then
   if not isSightClear(p, area, false) then return true end
   doAreaCombatHealth(cid, FIGHTINGDAMAGE, area, 0, 0, 0, eff)    
   doAreaCombatHealth(cid, FIGHTINGDAMAGE, area2, whirl3, -min, -max, 255)  --alterado v1.6   
end
end

for a = 0, 4 do

local t = {
[0] = {99, {x=p.x+1, y=p.y-(a+1), z=p.z}, {x=p.x, y=p.y-(a+1), z=p.z}},           --alterado v1.6
[1] = {99, {x=p.x+(a+2), y=p.y+1, z=p.z}, {x=p.x+(a+1), y=p.y, z=p.z}},
[2] = {99, {x=p.x+1, y=p.y+(a+2), z=p.z}, {x=p.x, y=p.y+(a+1), z=p.z}},
[3] = {99, {x=p.x-(a+1), y=p.y+1, z=p.z}, {x=p.x-(a+1), y=p.y, z=p.z}}
}   
addEvent(sendAtk, 270*a, cid, t[d][2], t[d][3], t[d][1]) --alterado v1.6
end    
      
elseif spell == "Mega Punch" then

    doSendDistanceShoot(getThingPosWithDebug(cid), getThingPosWithDebug(target), 39)
    doDanoInTargetWithDelay(cid, target, FIGHTINGDAMAGE, -min, -max, 112)  --alterado v1.7
    
elseif spell == "Tri Flames" then

       doMoveInArea2(cid, 6, triflames, FIREDAMAGE, min, max, spell)
       
elseif spell == "War Dog" then

   local ret = {}
   ret.id = cid
   ret.cd = 15
   ret.eff = 28
   ret.check = 0
   ret.buff = spell
   ret.first = true
   
   doCondition2(ret)
   
elseif spell == "WarDog" then

   local ret = {}
   ret.id = cid
   ret.cd = 15
   ret.eff = 28
   ret.check = 0
   ret.buff = spell
   ret.first = true
   
   doCondition2(ret)
            
elseif spell == "Hypnosis" then

local ret = {}
ret.id = target
ret.cd = math.random(6, 9)
ret.check = getPlayerStorageValue(target, conds["Sleep"])
ret.first = true                                                --alterado v1.6
ret.cond = "Sleep"

   doSendDistanceShoot(getThingPosWithDebug(cid), getThingPosWithDebug(target), 24)
   addEvent(doMoveDano2, 150, cid, target, PSYCHICDAMAGE, 0, 0, ret, spell)

elseif spell == "Dizzy Punch" then

   local rounds = getMasterLevel(cid) / 12
   rounds = rounds + 2
   
   local ret = {}
   ret.id = target
   ret.check = getPlayerStorageValue(target, conds["Confusion"])
   ret.cd = rounds
   ret.cond = "Confusion"
   
   doSendDistanceShoot(getThingPosWithDebug(cid), getThingPosWithDebug(target), 26)
   doDanoWithProtect(cid, FIGHTINGDAMAGE, getThingPosWithDebug(target), 0, -min, -max, 112)    
   addEvent(doMoveDano2, 50, cid, target, NORMALDAMAGE, 0, 0, ret, spell)

elseif spell == "Ice Punch" then
                   
local ret = {}
ret.id = target
ret.cd = 9
ret.eff = 43
ret.check = getPlayerStorageValue(target, conds["Slow"])
ret.first = true
ret.cond = "Slow"

    doSendDistanceShoot(getThingPosWithDebug(cid), getThingPosWithDebug(target), 28)
    doSendMagicEffect(getThingPosWithDebug(target), 112)
    doDanoWithProtectWithDelay(cid, target, ICEDAMAGE, min, max, 43)
    addEvent(doMoveDano2, 50, cid, target, ICEDAMAGE, 0, 0, ret, spell)
    
elseif spell == "Ice Beam" then

local a = isCreature(target) and getCreatureDirectionToTarget(cid, target) or getCreatureLookDir(cid)
local p = getThingPosWithDebug(cid)
local t = {
[0] = {97, {x=p.x+1, y=p.y-1, z=p.z}},
[1] = {96, {x=p.x+6, y=p.y+1, z=p.z}}, 
[2] = {97, {x=p.x+1, y=p.y+6, z=p.z}},
[3] = {96, {x=p.x-1, y=p.y+1, z=p.z}},
}

local ret = {}
ret.id = 0
ret.cd = 9
ret.eff = 43
ret.check = 0
ret.first = true
ret.cond = "Slow"

doMoveInArea2(cid, 0, triplo6, ICEDAMAGE, min, max, spell, ret)
doSendMagicEffect(t[a][2], t[a][1])
    
    
elseif spell == "Psy Pulse" or spell == "Cyber Pulse" or spell == "Dark Pulse" then

damage = skill == "Dark Pulse" and DARKDAMAGE or psyDmg

local function doPulse(cid, eff)
if not isCreature(cid) then return true end
   doSendDistanceShoot(getThingPosWithDebug(cid), getThingPosWithDebug(target), 3)
   doDanoInTargetWithDelay(cid, target, damage, min, max, eff)      --alterado v1.7
end

   if spell == "Cyber Pulse" then
      eff = 11
   elseif spell == "Dark Pulse" then
      eff = 47  --efeito n eh esse mas... ?
   else
      eff = 133
   end 
   
   addEvent(doPulse, 0, cid, eff)                
   addEvent(doPulse, 250, cid, eff)
    
elseif spell == "Moonblast" then

damage = skill == "Dark Pulse" and DARKDAMAGE or psyDmg

local function doPulse(cid, eff)
if not isCreature(cid) then return true end
   doSendDistanceShoot(getThingPosWithDebug(cid), getThingPosWithDebug(target), 3)
   doDanoInTargetWithDelay(cid, target, damage, min, max, eff)      --alterado v1.7
end

   if spell == "Moonblast" then
      eff = 242
   end 
   
   addEvent(doPulse, 0, cid, eff)                
   addEvent(doPulse, 250, cid, eff)
   
elseif spell == "Psyusion" then

       local rounds = math.random(4, 7)
       rounds = rounds + math.floor(getMasterLevel(cid) / 35)
       local eff = {136, 133, 136, 133, 137}
       local area = {psy1, psy2, psy3, psy4, psy5}

       local ret = {}
       ret.id = 0
       ret.check = 0
       ret.cd = rounds
       ret.cond = "Confusion"
       
       local p = getThingPosWithDebug(cid)
       doSendMagicEffect({x=p.x+1, y=p.y+1, z=p.z}, 489)
       setPlayerStorageValue(cid, 3644587, 1)
       addEvent(setPlayerStorageValue, 4*400, cid, 3644587, -1)
       for i = 0, 4 do
           addEvent(doMoveInArea2, i*400, cid, eff[i+1], area[i+1], psyDmg, min, max, spell, ret)
       end
       
elseif spell == "Triple Punch" then

    doDanoWithProtect(cid, FIGHTINGDAMAGE, getThingPosWithDebug(target), 0, -min, -max, 110)
    
elseif spell == "Fist Machine" then

    local mpos = getThingPosWithDebug(cid)
    local b = isCreature(target) and getCreatureDirectionToTarget(cid, target) or getCreatureLookDir(cid)
    local effect = 0
    local xvar = 0
    local yvar = 0

    if b == SOUTH then
        effect = 218
        yvar = 2
    elseif b == NORTH then
        effect = 217
    elseif b == WEST then
        effect = 216
    elseif b == EAST then
        effect = 215
        xvar = 2
    end

    mpos.x = mpos.x + xvar
    mpos.y = mpos.y + yvar         

    doSendMagicEffect(mpos, effect)
    doMoveInArea2(cid, 0, machine, FIGHTINGDAMAGE, min, max, spell)
    
elseif spell == "Destroyer Hand" then

       doMoveInAreaMulti(cid, 26, 111, bullet, bulletDano, FIGHTINGDAMAGE, min, max)
       
elseif spell == "Rock Throw" then

local effD = getSubName(cid, target) == "Shiny Onix" and 0 or 11
local eff = getSubName(cid, target) == "Shiny Onix" and 176 or 44  --alterado v1.6.1

    doSendDistanceShoot(getThingPosWithDebug(cid), getThingPosWithDebug(target), effD)
    doDanoInTargetWithDelay(cid, target, ROCKDAMAGE, min, max, eff) --alterado v1.7
    
elseif spell == "Rock Slide" or spell == "Stone Edge" then

atk = {
["Rock Slide"] = {11, 44, 0, 176},
["Stone Edge"] = {11, 239}
}                          

local effD = getSubName(cid, target) == "Shiny Onix" and atk[spell][3] or atk[spell][1]
local eff = getSubName(cid, target) == "Shiny Onix" and atk[spell][4] or atk[spell][2]  --alterado v1.6.1

        --alterado v1.7
        local function doRockFall(cid, frompos, target)
            if not isCreature(target) or not isCreature(cid) then return true end
        local pos = getThingPosWithDebug(target)
        local ry = math.abs(frompos.y - pos.y)
        doSendDistanceShoot(frompos, getThingPosWithDebug(target), effD)
        addEvent(doDanoInTarget, ry * 11, cid, target, ROCKDAMAGE, min, max, eff) --alterado v1.7
        end

        local function doRockUp(cid, target)
            if not isCreature(target) or not isCreature(cid) then return true end
        local pos = getThingPosWithDebug(target)
        local mps = getThingPosWithDebug(cid)
        local xrg = math.floor((pos.x - mps.x) / 2)
        local topos = mps
        topos.x = topos.x + xrg
        local rd =  7
        topos.y = topos.y - rd
        doSendDistanceShoot(getThingPosWithDebug(cid), topos, effD)
        addEvent(doRockFall, rd * 49, cid, topos, target)
        end        

    setPlayerStorageValue(cid, 3644587, 1)
    addEvent(setPlayerStorageValue, 350, cid, 3644587, -1)
    for thnds = 1, 2 do
        addEvent(doRockUp, thnds * 155, cid, target)
    end 
    
elseif spell == "Dragon Spit" then                   

local function throw(cid, target)
if not isCreature(cid) or not isCreature(target) then return false end
    doDanoInTargetWithDelay(cid, target, DRAGONDAMAGE, min, max, 35)  
end

addEvent(throw, 0, cid, target)
addEvent(throw, 100, cid, target)     
    
elseif spell == "Falling Rocks" then

local effD = getSubName(cid, target) == "Shiny Onix" and 0 or 11
local eff = getSubName(cid, target) == "Shiny Onix" and 176 or 44  --alterado v1.6.1

local master = isSummon(cid) and getCreatureMaster(cid) or cid
------------

local function doFall(cid)
for rocks = 1, 62 do
    addEvent(fall, rocks*35, cid, master, ROCKDAMAGE, effD, eff)
end
end

for up = 1, 10 do                                                            
    addEvent(upEffect, up*75, cid, effD)
end
addEvent(doFall, 450, cid)
addEvent(doDanoWithProtect, 1400, cid, ROCKDAMAGE, getThingPosWithDebug(cid), waterarea, -min, -max, 0)

elseif spell == "Selfdestruct" then
                                         
        local function death(cid)
            if isCreature(cid) then
               if pokeHaveReflect(cid) then return true end    --alterado v1.6
               doCreatureAddHealth(cid, -getCreatureMaxHealth(cid))
            end
        end

        doMoveInArea2(cid, 5, selfArea1, NORMALDAMAGE, min, max, spell)    --alterado v1.6
        addEvent(death, 300, cid)
        
elseif spell == "Crusher Stomp" then
       
local pL = getThingPosWithDebug(cid)
pL.x = pL.x+5
pL.y = pL.y+1 
-----------------
local pO = getThingPosWithDebug(cid)
pO.x = pO.x-3
pO.y = pO.y+1 
------------------
local pN = getThingPosWithDebug(cid)
pN.x = pN.x+1
pN.y = pN.y+5 
-----------------
local pS = getThingPosWithDebug(cid)
pS.x = pS.x+1
pS.y = pS.y-3 

local po = {pL, pO, pN, pS}
local po2 = {
{x = pL.x, y = pL.y-1, z = pL.z},
{x = pO.x, y = pO.y-1, z = pO.z},
{x = pN.x-1, y = pN.y, z = pN.z},
{x = pS.x-1, y = pS.y, z = pS.z},
}

local ret = {}
ret.id = 0
ret.cd = 9
ret.check = 0
ret.eff = 34
ret.spell = spell
ret.cond = "Stun"

for i = 1, 4 do
    doSendMagicEffect(po[i], 127)
    doAreaCombatHealth(cid, GROUNDDAMAGE, po2[i], crusher, -min, -max, 255)
end
doMoveInArea2(cid, 118, stomp, GROUNDDAMAGE, min, max, spell, ret)  

elseif spell == "Water Pulse" then

       doMoveInArea2(cid, 68, reto5, WATERDAMAGE, min, max, spell) 
       
elseif spell == "Sonicboom" then

local function doBoom(cid)
if not isCreature(cid) then return true end
   doSendDistanceShoot(getThingPosWithDebug(cid), getThingPosWithDebug(target), 33)
   doDanoInTargetWithDelay(cid, target, NORMALDAMAGE, min, max, 3)   --alterado v1.7
end

   addEvent(doBoom, 0, cid)
   addEvent(doBoom, 250, cid)
   
elseif spell == "Stickmerang" then   

   doSendDistanceShoot(getThingPosWithDebug(cid), getThingPosWithDebug(target), 34)
   doDanoInTargetWithDelay(cid, target, FLYINGDAMAGE, min, max, 212)  --alterado v1.7

elseif spell == "Stickslash" then

    local function sendStickEff(cid, dir)
    if not isCreature(cid) then return true end
       doAreaCombatHealth(cid, FLYINGDAMAGE, getPosByDir(getThingPosWithDebug(cid), dir), 0, -min, -max, 212)
    end

    local function doStick(cid)
    if not isCreature(cid) then return true end
    local t = {
          [1] = SOUTHWEST,
          [2] = SOUTH,
          [3] = SOUTHEAST,
          [4] = EAST,
          [5] = NORTHEAST,
          [6] = NORTH,
          [7] = NORTHWEST,
          [8] = WEST,
          [9] = SOUTHWEST,
        }
        for a = 1, 9 do
            addEvent(sendStickEff, a * 140, cid, t[a])
        end
    end

    doStick(cid, false, cid)
    
elseif spell == "Stick Throw" then

   stopNow(cid, 2000)
   doMoveInArea2(cid, 212, reto4, FLYINGDAMAGE, min, max, spell)
       
elseif spell == "Pluck" then

   doSendDistanceShoot(getThingPosWithDebug(cid), getThingPosWithDebug(target), 39)
   doDanoInTargetWithDelay(cid, target, FLYINGDAMAGE, min, max, 111)  --alterado v1.7

elseif spell == "Tri-Attack" then

   --alterado v1.7
   setPlayerStorageValue(cid, 3644587, 1)
   addEvent(setPlayerStorageValue, 600, cid, 3644587, -1) 
   doSendDistanceShoot(getThingPosWithDebug(cid), getThingPosWithDebug(target), 42)  --alterado v1.6
   for i = 0, 2 do
       addEvent(doDanoInTargetWithDelay, i*300, cid, target, NORMALDAMAGE, min, max, 238)      --alterado v1.7
   end 
    
elseif spell == "Fury Attack" then

    --alterado v1.7
    setPlayerStorageValue(cid, 3644587, 1)
    addEvent(setPlayerStorageValue, 600, cid, 3644587, -1) 
    for i = 0, 2 do
       addEvent(doDanoInTargetWithDelay, i*300, cid, target, NORMALDAMAGE, min, max, 110)    --alterado v1.7
    end  
   
elseif spell == "Ice Shards" then

    doSendDistanceShoot(getThingPosWithDebug(cid), getThingPosWithDebug(target), 28)
    doDanoInTargetWithDelay(cid, target, ICEDAMAGE, min, max, 43)  --alterado v1.7
    
elseif spell == "Icy Wind" then                   

local ret = {}
ret.id = 0
ret.cd = 9
ret.eff = 43
ret.check = 0
ret.first = true
ret.cond = "Slow"
    
  doMoveInArea2(cid, 17, tw1, ICEDAMAGE, min, max, spell, ret)
  
elseif spell == "Aurora Beam" then

local a = isCreature(target) and getCreatureDirectionToTarget(cid, target) or getCreatureLookDir(cid)
local p = getThingPosWithDebug(cid)
local t = {
[0] = {186, {x=p.x+1, y=p.y-1, z=p.z}},
[1] = {57, {x=p.x+6, y=p.y+1, z=p.z}},   --alterado v1.6
[2] = {186, {x=p.x+1, y=p.y+6, z=p.z}},
[3] = {57, {x=p.x-1, y=p.y+1, z=p.z}},  --alterado v1.6
}

local ret = {}
ret.id = 0
ret.cd = 9
ret.eff = 43
ret.check = 0
ret.first = true
ret.cond = "Slow"

doMoveInArea2(cid, 0, triplo6, ICEDAMAGE, min, max, spell, ret)
doSendMagicEffect(t[a][2], t[a][1])

elseif spell == "Rest" then

   local ret = {}
   ret.id = cid
   ret.cd = 6
   ret.eff = 0
   ret.check = 0
   ret.buff = spell
   ret.first = true
   
   doCondition2(ret)
    
elseif spell == "Sludge" then 

        --alterado v1.7
        local function doSludgeFall(cid, frompos, target)
            if not isCreature(target) or not isCreature(cid) then return true end
        local pos = getThingPosWithDebug(target)
        local ry = math.abs(frompos.y - pos.y)
        doSendDistanceShoot(frompos, getThingPosWithDebug(target), 6)
        addEvent(doDanoInTargetWithDelay, ry * 11, cid, target, POISONDAMAGE, min, max, 116) --alterado v1.7
        end

        local function doSludgeUp(cid, target)
            if not isCreature(target) or not isCreature(cid) then return true end
        local pos = getThingPosWithDebug(target)
        local mps = getThingPosWithDebug(cid)
        local xrg = math.floor((pos.x - mps.x) / 2)
        local topos = mps
        topos.x = topos.x + xrg
        local rd =  7
        topos.y = topos.y - rd
        doSendDistanceShoot(getThingPosWithDebug(cid), topos, 6)
        addEvent(doSludgeFall, rd * 49, cid, topos, target)
        end        

    setPlayerStorageValue(cid, 3644587, 1)
    addEvent(setPlayerStorageValue, 350, cid, 3644587, -1) 
    for thnds = 1, 2 do
        addEvent(doSludgeUp, thnds * 155, cid, target)
    end                                               --alterado v1.5

elseif spell == "Mud Bomb" then

   doSendDistanceShoot(getThingPosWithDebug(cid), getThingPosWithDebug(target), 6)  --alterado v1.8
   doDanoWithProtectWithDelay(cid, target, MUDBOMBDAMAGE, min, max, 116, bombWee2)

elseif spell == "Mortal Gas" then 

        local pos = getThingPosWithDebug(cid)
        
        local function doSendAcid(cid, pos)
            if not isCreature(cid) then return true end
            doSendDistanceShoot(getThingPosWithDebug(cid), pos, 6)
            doSendMagicEffect(pos, 34)
        end
        
        for b = 1, 3 do
            for a = 1, 20 do
                local lugar = {x = pos.x + math.random(-4, 4), y = pos.y + math.random(-3, 3), z = pos.z}
                addEvent(doSendAcid, a * 75, cid, lugar)
            end
        end
        doDanoWithProtect(cid, FIREDAMAGE, pos, mortal, -min, -max, 0) 


elseif spell == "Smog" then -- Causa Slow e Poison, porém poison ainda não funciona(ret) e não sei por 2 debuff(ret)
        
local dmg = isSummon(cid) and getMasterLevel(cid)+getPokemonBoost(cid) or getPokemonLevel(cid)

local ret = {id = 0, cd = 2, eff = 34, check = 0, spell = spell, cond = "Miss"}
-- local ret2 = {id = 0, cd = 2, check = 0, damage = dmg, cond = "Poison"}                          --rever isso ainda!!
  
    local function gas(cid)
           doMoveInArea2(cid, 540, SmogArea, 0, 0, spell, ret)
           doMoveInArea2(cid, 0, SmogArea, min, max, spell)
    end
        
times = {0, 700, 1400, 2100, 2800} 

for i = 1, #times do
    addEvent(gas, times[i], cid)                            
end
        
    
elseif spell == "Rock Drill" or spell == "Megahorn" or spell == "Rock Blast" then

local damage = spell == "Megahorn" and BUGDAMAGE or ROCKDAMAGE
local eff = spell == "Megahorn" and 8 or 44 
local effD = spell == "Rock Blast" and 11 or 25                    
                --cid, effDist, effDano, areaEff, areaDano, element, min, max
doMoveInAreaMulti(cid, effD, eff, bullet, bulletDano, damage, min, max)

elseif spell == "Egg Bomb" then

    doSendDistanceShoot(getThingPosWithDebug(cid), getThingPosWithDebug(target), 12)
    doDanoWithProtectWithDelay(cid, target, NORMALDAMAGE, min, max, 5, crusher)
    
elseif spell == "Super Vines" then

    stopNow(cid, 200)           --alterado v1.6
    doCreatureSetLookDir(cid, 2)

    local effect = 0
    local pos = getThingPosWithDebug(cid)
    pos.x = pos.x + 1
    pos.y = pos.y + 1
    
    local effect = getSubName(cid, target) == "Tangela" and 213 or 229  --alterado v1.6.1

    doSendMagicEffect(pos, effect)
    doDanoWithProtect(cid, GRASSDAMAGE, getThingPosWithDebug(cid), splash, -min, -max, 0)
    
elseif spell == "Epicenter" then

local eff = {157, 151, 151, 157}
local area = {epicenter1, epicenter1, epicenter2, epicenter2}

addEvent(doMoveInArea2, 2*450, cid, 2, epicenter1, GROUNDDAMAGE, min, max, spell)
for i = 0, 3 do
    addEvent(doMoveInArea2, i*450, cid, eff[i+1], area[i+1], GROUNDDAMAGE, min, max, spell)
end
        
elseif spell == "Bubblebeam" then

local function sendBubbles(cid)
if not isCreature(cid) or not isCreature(target) then return true end
   doSendDistanceShoot(getThingPosWithDebug(cid), getThingPosWithDebug(target), 2)
   doDanoInTargetWithDelay(cid, target, WATERDAMAGE, min, max, 25)  --alterado v1.7
end

sendBubbles(cid)
addEvent(sendBubbles, 250, cid) 

elseif spell == "Dragon Dance" then

local eff = {194, 194, 250, 250}
local area = {dragondance, dragondance, dragondance1, dragondance2}

addEvent(doMoveInArea2, 2*450, cid, 2, dragondance, DRAGONDAMAGE, min, max, spell)
for i = 0, 3 do
    addEvent(doMoveInArea2, i*450, cid, eff[i+1], area[i+1], DRAGONDAMAGE, min, max, spell)
end

elseif spell == "Electrical Burning" then

local eff = {48, 48, 48, 48}
local area = {ElectricalBurningArea2, ElectricalBurningArea1, ElectricalBurningArea0, ElectricalBurningArea2, ElectricalBurningArea1, ElectricalBurningArea0, ElectricalBurningArea2}

addEvent(doMoveInArea2, 2*450, cid, 47, ElectricalBurningArea0, ELECTRICDAMAGE, min, max, spell)
for i = 0, 3 do
    addEvent(doMoveInArea2, i*450, cid, eff[i+1], area[i+1], ELECTRICDAMAGE, min, max, spell)
end

elseif spell == "Aero Crash" then

local eff = {42, 42, 42, 42}
local area = {dragondance2, dragondance1, dragondance, dragondance2, dragondance1, dragondance, dragondance2}

addEvent(doMoveInArea2, 2*450, cid, 2, dragondance, DRAGONDAMAGE, min, max, spell)
for i = 0, 3 do
    addEvent(doMoveInArea2, i*450, cid, eff[i+1], area[i+1], DRAGONDAMAGE, min, max, spell)
end

elseif spell == "Wind Rage" then

local eff = {42, 42, 42, 42}
local area = {wind1, wind2, wind3, wind4}

addEvent(doMoveInArea2, 2*450, cid, 2, wind1, DRAGONDAMAGE, min, max, spell)
for i = 0, 3 do
    addEvent(doMoveInArea2, i*450, cid, eff[i+1], area[i+1], DRAGONDAMAGE, min, max, spell)
end

elseif  spell == "Swift" then

local function sendSwift(cid, target)
if not isCreature(cid) or not isCreature(target) then return true end
   doSendDistanceShoot(getThingPosWithDebug(cid), getThingPosWithDebug(target), 32)
   doDanoInTargetWithDelay(cid, target, NORMALDAMAGE, min, max, 3)   --alterado v1.7
end

addEvent(sendSwift, 100, cid, target)
addEvent(sendSwift, 200, cid, target) 

elseif spell == "Spark" then
       
   doSendDistanceShoot(getThingPosWithDebug(cid), getThingPosWithDebug(target), 32)
   doDanoInTargetWithDelay(cid, target, ELECTRICDAMAGE, min, max, 48)    --alterado v1.7
   

elseif  spell == "Mimic Wall" then

local p = getThingPosWithDebug(cid)
local dirr = getCreatureLookDir(cid)

if dirr == 0 or dirr == 2 then
   item = 11439
else
   item = 11440
end

local wall = {
[0] = {{x = p.x, y = p.y-1, z = p.z}, {x = p.x+1, y = p.y-1, z = p.z}, {x = p.x-1, y = p.y-1, z = p.z}},
[2] = {{x = p.x, y = p.y+1, z = p.z}, {x = p.x+1, y = p.y+1, z = p.z}, {x = p.x-1, y = p.y+1, z = p.z}},
[1] = {{x = p.x+1, y = p.y, z = p.z}, {x = p.x+1, y = p.y+1, z = p.z}, {x = p.x+1, y = p.y-1, z = p.z}},
[3] = {{x = p.x-1, y = p.y, z = p.z}, {x = p.x-1, y = p.y+1, z = p.z}, {x = p.x-1, y = p.y-1, z = p.z}},
}

function removeAllActionIDs(pos, onlyOne)
if onlyOne then
    local thing1 = {x=pos.x,y=pos.y,z=pos.z,stackpos=0}
    local tile1 = getTileThingWithProtect(thing1).uid
    doSetItemActionId(tile1, 0)
end  
n = 0
for i = 1, #pos do
    n = n + 1
    thing = {x=pos[n].x,y=pos[n].y,z=pos[n].z,stackpos=0}
    local tile = getTileThingWithProtect(thing).uid
    doSetItemActionId(tile, 0)
end
end   


for i = 1, 3 do
    if wall[dirr] then
       local t = wall[dirr]
       if hasTile(t[i]) and canWalkOnPos2(t[i], true, true, true, true, false) then  --alterado v1.6
          doCreateItem(item, 1, t[i])
          --
          local Tile = getTileThingWithProtect({x=t[i].x,y=t[i].y,z=t[i].z,stackpos=0})
          doSetItemActionId(Tile.uid, 88072)
          addEvent(removeAllActionIDs, 15000, t[i], true)
          --
          addEvent(doRemoveItemFromPos, 15000, t[i], item, 1)
       end
    end
end 

local pos = getPosfromArea(cid, wall_1)
local pos2 = getPosfromArea(cid, wall_2)

if hasTile({x=p.x,y=p.y,z=p.z,stackpos=0}) then 
   tile0 = getTileThingWithProtect({x=p.x,y=p.y,z=p.z,stackpos=0}).uid
end
doSetItemActionId(tile0, 88070)
addEvent(removeAllActionIDs, 15000, p, true)

n = 0

while n < #pos do
   if not isCreature(cid) then return true end 
      n = n+1
      local tile1 = getTileThingWithProtect({x=pos[n].x,y=pos[n].y,z=pos[n].z,stackpos=0}).uid
      ---
      local tile2 = getTileThingWithProtect({x=pos2[n].x,y=pos2[n].y,z=pos2[n].z,stackpos=0}).uid
      
      doSetItemActionId(tile1, 88071)
      doSetItemActionId(tile2, 88070)
end
addEvent(removeAllActionIDs, 15000, pos)
addEvent(removeAllActionIDs, 15000, pos2)   
   
elseif spell == "Shredder Team" then     --alterado v1.8 \/

local team = {
["Scyther"] = "ScytherTeam",
["Shiny Scyther"] = "Shiny ScytherTeam",
["Scizor"] = "ScizorTeam",
}

local function RemoveTeam(cid)
if isCreature(cid) then
  doSendMagicEffect(getThingPosWithDebug(cid), 211)
  doRemoveCreature(cid)
end
end

local function sendEff(cid, master, t)
if isCreature(cid) and isCreature(master) and t > 0 and #getCreatureSummons(master) >= 2 then
   doSendMagicEffect(getThingPosWithDebug(cid), 86, master)
   addEvent(sendEff, 1000, cid, master, t-1)                        --alterado v1.9
end
end

if getPlayerStorageValue(cid, 637500) >= 1 then
return true
end

local master = getCreatureMaster(cid)
local item = getPlayerSlotItem(master, ?
local life, maxLife = getCreatureHealth(cid), getCreatureMaxHealth(cid)
local name = getItemAttribute(item.uid, "poke")
local pos = getThingPosWithDebug(cid)
local time = 21

doItemSetAttribute(item.uid, "hp", (life/maxLife))

local num = getSubName(cid, target) == "Scizor" and 4 or 3
local pk = {}

doTeleportThing(cid, {x=4, y=3, z=10}, false) 

if team[name] then
   pk[1] = cid
   for b = 2, num do
       pk[b] = doSummonCreature(team[name], pos)
       doConvinceCreature(master, pk[b])
   end

   for a = 1, num do
      addEvent(doTeleportThing, math.random(0, 5), pk[a], getClosestFreeTile(pk[a], pos), false)
      addEvent(doAdjustWithDelay, 5, master, pk[a], true, true, true)
      doSendMagicEffect(getThingPosWithDebug(pk[a]), 211)
   end 
   sendEff(cid, master, time)     --alterado v1.9
   setPlayerStorageValue(master, 637501, 1)
   addEvent(setPlayerStorageValue, time * 1000, master, 637501, -2)
   -----
   setPlayerStorageValue(pk[2], 637500, 1)
   addEvent(RemoveTeam, time * 1000, pk[2])
   -----
   setPlayerStorageValue(pk[3], 637500, 1)
   addEvent(RemoveTeam, time * 1000, pk[3])
   ----
   if getSubName(cid, target) == "Scizor" then  
      setPlayerStorageValue(pk[4], 637500, 1) 
      addEvent(RemoveTeam, time * 1000, pk[4])
   end
end


elseif spell == "Team Slice" or spell == "Team Claw" then

local master = getCreatureMaster(cid)
if #getCreatureSummons(master) < 2 or not isCreature(target) then return true end

local summons = getCreatureSummons(master)
local posis = {[1] = pos1, [2] = pos2, [3] = pos3, [4] = pos4}

if getSubName(cid, target) == "Scyther" then  --alterado v1.6.1
 eff = 27
elseif getSubName(cid, target) == "Shiny Scyther" then  --alterado v1.6.1
 eff = 29
else
 eff = 42  --alterado v1.5
end

   if #getCreatureSummons(master) >= 2 and isCreature(target) then
      if isCreature(cid) then
         addEvent(doDanoInTarget, 500, cid, target, BUGDAMAGE, -min, -max, 0) --alterado v1.7
         for i = 1, #summons do
             posis[i] = getThingPosWithDebug(summons[i])
             doDisapear(summons[i])
             stopNow(summons[i], 670)
             addEvent(doSendMagicEffect, 300, posis[i], 211)
             addEvent(doSendDistanceShoot, 350, posis[i], getThingPosWithDebug(target), eff)
             addEvent(doSendDistanceShoot, 450, getThingPosWithDebug(target), posis[i], eff)
             addEvent(doSendDistanceShoot, 600, posis[i], getThingPosWithDebug(target), eff)
             addEvent(doSendDistanceShoot, 650, getThingPosWithDebug(target), posis[i], eff)
             addEvent(doAppear, 670, summons[i])
         end
      end
    end
    
elseif spell == "Blizzard" then

local master = isSummon(cid) and getCreatureMaster(cid) or cid
local ret = {}
ret.id = 0
ret.cd = 9
ret.eff = 43
ret.check = 0
ret.first = true
ret.cond = "Slow"

local function doFall(cid)
for rocks = 1, 42 do
    addEvent(fall, rocks*35, cid, master, ICEDAMAGE, 28, 52)
end
end

for up = 1, 10 do
    addEvent(upEffect, up*75, cid, 28)
end                                         --alterado v1.4
addEvent(doFall, 450, cid)
addEvent(doMoveInArea2, 1400, cid, 0, BigArea2, ICEDAMAGE, min, max, spell, ret)

elseif spell == "Great Love" then

        doMoveInArea2(cid, 147, greatlove, NORMALDAMAGE, min, max, spell)

elseif spell == "Fire Punch" then

    doSendDistanceShoot(getThingPosWithDebug(cid), getThingPosWithDebug(target), 39)
    doSendMagicEffect(getThingPosWithDebug(target), 112)
    doDanoInTargetWithDelay(cid, target, FIREDAMAGE, min, max, 35) --alterado v1.7
    
elseif spell == "Guillotine" then

doDanoWithProtect(cid, NORMALDAMAGE, getThingPosWithDebug(target), 0, -min, -max, 146)

elseif spell ==  "Hyper Beam" then  --alterado v1.7 \/

local a = isCreature(target) and getCreatureDirectionToTarget(cid, target) or getCreatureLookDir(cid)
local p = getThingPosWithDebug(cid)
local t = {
[0] = {149, {x=p.x+1, y=p.y-1, z=p.z}},
[1] = {150, {x=p.x+6, y=p.y+1, z=p.z}},   
[2] = {149, {x=p.x+1, y=p.y+6, z=p.z}},
[3] = {150, {x=p.x-1, y=p.y+1, z=p.z}},  
}

doMoveInArea2(cid, 0, triplo6, NORMALDAMAGE, min, max, spell)
doSendMagicEffect(t[a][2], t[a][1])
    
elseif spell == "Thrash" then

                --cid, effDist, effDano, areaEff, areaDano, element, min, max
doMoveInAreaMulti(cid, 10, 111, bullet, bulletDano, NORMALDAMAGE, min, max) 

elseif spell == "Splash" or tonumber(spell) == 7 then

    doAreaCombatHealth(cid, WATERDAMAGE, getThingPosWithDebug(cid), splash, -min, -max, 255)
    doSendMagicEffect(getThingPosWithDebug(cid), 53)
    
elseif spell == "Dragon Breath" then     

    doMoveInArea2(cid, 143, db1, DRAGONDAMAGE, min, max, spell) 
       
elseif spell == "Muddy Water" then

local ret = {}
ret.id = 0
ret.cd = 9
ret.eff = 34
ret.check = 0
ret.spell = spell
ret.cond = "Miss"

   doMoveInArea2(cid, 116, muddy, WATERDAMAGE, min, max, spell, ret)
       
       
elseif spell == "Venom Motion" then

local ret = {}
ret.id = 0
ret.cd = 9
ret.eff = 34
ret.check = 0
ret.spell = spell
ret.cond = "Miss"

   doMoveInArea2(cid, 114, muddy, POISONDAMAGE, min, max, spell, ret)
       
elseif spell == "Thunder Fang" then

    doSendMagicEffect(getThingPosWithDebug(target), 146)
    doDanoInTargetWithDelay(cid, target, ELECTRICDAMAGE, min, max, 48)  --alterado v1.7
    
elseif spell == "Zap Cannon" then

local a = isCreature(target) and getCreatureDirectionToTarget(cid, target) or getCreatureLookDir(cid)
local p = getThingPosWithDebug(cid)
local t = {
[0] = {73, {x=p.x, y=p.y-1, z=p.z}},
[1] = {74, {x=p.x+6, y=p.y, z=p.z}},      --alterado v1.8
[2] = {75, {x=p.x, y=p.y+6, z=p.z}},
[3] = {76, {x=p.x-1, y=p.y, z=p.z}},
}

doMoveInArea2(cid, 0, triplo6, ELECTRICDAMAGE, min, max, spell)
doMoveInArea2(cid, 177, reto6, ELECTRICDAMAGE, 0, 0, "Zap Cannon Eff")
doSendMagicEffect(t[a][2], t[a][1])
    
elseif spell == "Charge Beam" then

local a = isCreature(target) and getCreatureDirectionToTarget(cid, target) or getCreatureLookDir(cid)
local p = getThingPosWithDebug(cid)
local t = {
[0] = {73, {x=p.x, y=p.y-1, z=p.z}},
[1] = {74, {x=p.x+6, y=p.y, z=p.z}},      --alterado v1.8
[2] = {75, {x=p.x, y=p.y+6, z=p.z}},
[3] = {76, {x=p.x-1, y=p.y, z=p.z}},
}

doMoveInArea2(cid, 0, triplo6, ELECTRICDAMAGE, min, max, spell)
doSendMagicEffect(t[a][2], t[a][1])
    
elseif spell == "Sacred Fire" then

     doSendDistanceShoot(getThingPosWithDebug(cid), getThingPosWithDebug(target), 3)
     doDanoWithProtectWithDelay(cid, target, SACREDDAMAGE, min, max, 143, sacred)    --alterado v1.6
            
elseif spell == "Blaze Kick" then

doMoveInArea2(cid, 6, blaze, FIREDAMAGE, min, max, spell) 
addEvent(doMoveInArea2, 200, cid, 6, kick, FIREDAMAGE, min, max, spell) 

elseif spell == "Cross Chop" then

doMoveInArea2(cid, 118, blaze, FIGHTINGDAMAGE, min, max, spell) 
addEvent(doMoveInArea2, 200, cid, 118, kick, FIGHTINGDAMAGE, min, max, spell) 

elseif spell == "Overheat" then

   doMoveInArea2(cid, 5, reto5, FIREDAMAGE, min, max, spell) 
   
elseif spell == "Ancient Power" then

local p = getThingPosWithDebug(cid)
local d = isCreature(target) and getCreatureDirectionToTarget(cid, target) or getCreatureLookDir(cid)

function sendAtk(cid, area, eff)
if isCreature(cid) then
   if not isSightClear(p, area, false) then return true end
   doAreaCombatHealth(cid, ROCKDAMAGE, area, 0, 0, 0, eff)
   doAreaCombatHealth(cid, ROCKDAMAGE, area, whirl3, -min, -max, 137)
end
end

for a = 0, 4 do

local t = {
[0] = {18, {x=p.x, y=p.y-(a+1), z=p.z}},           --alterado v1.4
[1] = {18, {x=p.x+(a+1), y=p.y, z=p.z}},
[2] = {18, {x=p.x, y=p.y+(a+1), z=p.z}},
[3] = {18, {x=p.x-(a+1), y=p.y, z=p.z}}
}   
addEvent(sendAtk, 300*a, cid, t[d][2], t[d][1])
end
    
elseif spell == "Twister" then

doMoveInAreaMulti(cid, 28, 41, bullet, bulletDano, DRAGONDAMAGE, min, max)

elseif spell == "Multi-Kick" then

doMoveInAreaMulti(cid, 39, 113, multi, multiDano, FIGHTINGDAMAGE, min, max)

-- elseif spell == "Water Expansion" then

-- local pos = getThingPosWithDebug(cid)
-- local eff = 513
-- local areas = {hurri1, hurri2, hurri3, hurri4, hurri5, hurri6, hurri7, hurri8}
-- local ret = {}
-- ret.id = 0
-- ret.cd = 9
-- ret.eff = 573
-- ret.check = 0
-- ret.spell = spell
-- ret.cond = ""

-- for i = 0, 8 do
    -- addEvent(doMoveInArea2, i*400, cid, 573, areas[i+1], WATERDAMAGE, min, max, spell, ret)
    -- addEvent(doMoveInAreaMulti(cid, 2, 113, hurri0, WATERDAMAGE, min, max)        
    -- addEvent(doAreaCombatHealth(cid, WATERDAMAGE, getThingPosWithDebug(cid), splash, -min, -max, -1)

    -- local sps = getThingPosWithDebug(cid)
    -- sps.x = sps.x+1
    -- sps.y = sps.y+1
    -- doSendMagicEffect(sps, eff)

elseif spell == "Multi-Punch" then

doMoveInAreaMulti(cid, 39, 112, multi, multiDano, FIGHTINGDAMAGE, min, max) 

elseif spell == "Squisky Licking" then 
                                                      
local ret = {}
ret.id = 0
ret.cd = 9
ret.check = 0
ret.eff = 0
ret.spell = spell
ret.cond = "Stun"

local areas = {SL1, SL2, SL3, SL4}

for i = 0, 3 do
    addEvent(doMoveInArea2, i*200, cid, 145, areas[i+1], NORMALDAMAGE, min, max, spell, ret)
end

elseif spell == "Lick" then

local ret = {}
ret.id = target
ret.cd = 9
ret.check = getPlayerStorageValue(target, conds["Stun"])
ret.eff = 0
ret.spell = spell
ret.cond = "Stun"

   doSendMagicEffect(getThingPosWithDebug(target), 145)      --alterado v1.4!
   addEvent(doMoveDano2, 100, cid, target, NORMALDAMAGE, 0, 0, ret, spell)

elseif spell == "Bonemerang" then

   doSendDistanceShoot(getThingPosWithDebug(cid), getThingPosWithDebug(target), 7)
   doDanoInTargetWithDelay(cid, target, GROUNDDAMAGE, min, max, 227)  --alterado v1.7
   addEvent(doSendDistanceShoot, 250, getThingPosWithDebug(target), getThingPosWithDebug(cid), 7)

elseif spell == "Bone Club" then

  doSendDistanceShoot(getThingPosWithDebug(cid), getThingPosWithDebug(target), 7)
  doDanoInTargetWithDelay(cid, target, GROUNDDAMAGE, min, max, 118)  --alterado v1.7
    
elseif spell == "Bone Slash" then

local function sendStickEff(cid, dir)
    if not isCreature(cid) then return true end
       doAreaCombatHealth(cid, GROUNDDAMAGE, getPosByDir(getThingPosWithDebug(cid), dir), 0, -min, -max, 227)
    end

    local function doStick(cid)
    if not isCreature(cid) then return true end
    local t = {
          [1] = SOUTHWEST,
          [2] = SOUTH,
          [3] = SOUTHEAST,
          [4] = EAST,
          [5] = NORTHEAST,
          [6] = NORTH,
          [7] = NORTHWEST,
          [8] = WEST,
          [9] = SOUTHWEST,
        }
        for a = 1, 9 do
            addEvent(sendStickEff, a * 140, cid, t[a])
        end
    end

    doStick(cid, false, cid)
                                                                            --alterado v1.4
elseif spell == "Furious Legs" or spell == "Ultimate Champion" or spell == "Fighter Spirit" then

   local ret = {}
   ret.id = cid
   ret.cd = 15
   ret.eff = 13
   ret.check = 0
   ret.buff = spell
   ret.first = true
   
   doCondition2(ret)      
            
elseif spell == "Sludge Rain" then

local master = isSummon(cid) and getCreatureMaster(cid) or cid
local ret = {}
ret.id = 0
ret.cd = 9
ret.eff = 34
ret.check = 0
ret.spell = spell
ret.cond = "Miss"

local function doFall(cid)
for rocks = 1, 42 do
    addEvent(fall, rocks*35, cid, master, POISONDAMAGE, 6, 116)
end
end

for up = 1, 10 do
    addEvent(upEffect, up*75, cid, 6)
end         
                               
addEvent(doFall, 450, cid)
addEvent(doMoveInArea2, 1400, cid, 0, BigArea2, POISONDAMAGE, min, max, spell, ret)  

elseif spell == "Shadow Ball" then

    doSendDistanceShoot(getThingPosWithDebug(cid), getThingPosWithDebug(target), 18)

    local function doDamageWithDelay(cid, target)
    if not isCreature(cid) or not isCreature(target) then return true end
    if isSleeping(cid) then return false end
    if getPlayerStorageValue(cid, conds["Fear"]) >= 1 then return true end
       doAreaCombatHealth(cid, ghostDmg, getThingPosWithDebug(target), 0, -min, -max, 255)
       local pos = getThingPosWithDebug(target)
       pos.x = pos.x + 1
       doSendMagicEffect(pos, 140)
    end

    addEvent(doDamageWithDelay, 100, cid, target)
    
elseif spell == "Shadow Punch" then

    local pos = getThingPosWithDebug(target)
    doSendMagicEffect(pos, 112)

        local function doPunch(cid, target)
            if not isCreature(cid) or not isCreature(target) then return true end
               doAreaCombatHealth(cid, ghostDmg, getThingPosWithDebug(target), 0, -min, -max, 255)
               pos.x = pos.x + 1
               doSendMagicEffect(pos, 140)
        end

    addEvent(doPunch, 200, cid, target)


elseif spell == "Shadow Storm" then

local master = isSummon(cid) and getCreatureMaster(cid) or cid

local function doFall(cid)
for rocks = 1, 42 do   --62
    addEvent(fall, rocks*35, cid, master, ghostDmg, 17, 499)
end
end

for up = 1, 10 do
    addEvent(upEffect, up*75, cid, 17)
end
addEvent(doFall, 450, cid)
addEvent(doMoveInArea2, 1400, cid, 296, BigArea2, ghostDmg, min, max, spell)

elseif spell == "Seed Straff" then

local master = isSummon(cid) and getCreatureMaster(cid) or cid

local function doFall(cid)
for rocks = 1, 42 do   --62
    addEvent(fall, rocks*35, cid, master, GRASSDAMAGE, 14, 508)
end
end

for up = 1, 10 do
    addEvent(upEffect, up*75, cid, 14)
end
addEvent(doFall, 450, cid)
addEvent(doMoveInArea2, 1400, cid, 288, SeedStraff, GRASSDAMAGE, min, max, spell)

elseif spell == "Invisible" then

doDisapear(cid)
doSendMagicEffect(getThingPosWithDebug(cid), 134)
if isMonster(cid) then
  local pos = getThingPosWithDebug(cid)                           --alterei!
  doTeleportThing(cid, {x=4, y=3, z=10}, false)
  doTeleportThing(cid, pos, false)
end
addEvent(doAppear, 4000, cid)
        
elseif spell == "Nightmare" then

    if not isSleeping(target) then
        doSendMagicEffect(getThingPosWithDebug(target), 3)
        doSendAnimatedText(getThingPosWithDebug(target), "FAIL", 155)
    return true
    end
    
doDanoWithProtectWithDelay(cid, target, ghostDmg, -min, -max, 138)  

elseif spell == "Dream Eater" then

    if not isSleeping(target) then
        doSendMagicEffect(getThingPosWithDebug(target), 3)
        doSendAnimatedText(getThingPosWithDebug(target), "FAIL", 155)
    return true
    end
                                                              --alterado v1.6
    setPlayerStorageValue(cid, 95487, 1)
    doSendMagicEffect(getThingPosWithDebug(cid), 132)
    doSendDistanceShoot(getThingPosWithDebug(cid), getThingPosWithDebug(target), 39)
    doDanoWithProtectWithDelay(cid, target, psyDmg, -min, -max, 138)
    
elseif spell == "Dark Eye" or spell == "Miracle Eye" then

local p = getThingPosWithDebug(cid)
doSendMagicEffect({x=p.x+1, y=p.y+1, z=p.z}, 489)
setPlayerStorageValue(cid, 999457, 1)  

elseif spell == "Elemental Hands" then

if getCreatureOutfit(cid).lookType == 1301 then
print("Error occurred with move 'Elemental Hands', outfit of hitmonchan is wrong")
doPlayerSendTextMessage(getCreatureMaster(cid), MESSAGE_STATUS_CONSOLE_BLUE, "A error are ocurred... A msg is sent to gamemasters!") 
return true
end        --proteçao pra n usar o move com o shiny hitmonchan com outfit diferente da do elite monchan do PO...

local e = getCreatureMaster(cid)
local name = getItemAttribute(getPlayerSlotItem(e, 8).uid, "poke")
local hands = getItemAttribute(getPlayerSlotItem(e, 8).uid, "hands")

       if hands == 4 then
       doItemSetAttribute(getPlayerSlotItem(e, 8).uid, "hands", 0)
       doSendMagicEffect(getThingPosWithDebug(cid), hitmonchans[name][0].eff)
       doSetCreatureOutfit(cid, {lookType = hitmonchans[name][0].out}, -1)
       else
       doItemSetAttribute(getPlayerSlotItem(e, 8).uid, "hands", hands+1)
       doSendMagicEffect(getThingPosWithDebug(cid), hitmonchans[name][hands+1].eff)
       doSetCreatureOutfit(cid, {lookType = hitmonchans[name][hands+1].out}, -1)
       end
       
elseif spell == "Crabhammer" then

doDanoWithProtect(cid, NORMALDAMAGE, getThingPosWithDebug(target), 0, -min, -max, 225)

elseif spell == "Ancient Fury" then

   local ret = {}
   ret.id = cid
   ret.cd = 15
   ret.eff = 0
   ret.check = 0
   ret.buff = spell
   ret.first = true
   
   doCondition2(ret)
   
elseif spell == "Divine Punishment" then

local roardirections = {            
[NORTH] = {SOUTH},
[SOUTH] = {NORTH},
[WEST] = {EAST},
[EAST] = {WEST}}

local function divineBack(cid)
if not isCreature(cid) then return true end
local uid = checkAreaUid(getCreaturePosition(cid), check, 1, 1)
      for _,pid in pairs(uid) do
          dirrr = getCreatureDirectionToTarget(pid, cid)
          delay = getNextStepDelay(pid, 0)
          if isSummon(cid) and (isMonster(pid) or (isSummon(pid) and canAttackOther(cid, pid) == "Can") or (isPlayer(pid) and canAttackOther(cid, pid) == "Can")) and pid ~= cid then
             setPlayerStorageValue(pid, 654878, 1)
             doChangeSpeed(pid, -getCreatureSpeed(pid))
             doChangeSpeed(pid, 100)
             doPushCreature(pid, roardirections[dirrr][1], 1, 0)
             doChangeSpeed(pid, -getCreatureSpeed(pid))
             addEvent(setPlayerStorageValue, 6450, pid, 654878, -1)
             addEvent(doRegainSpeed, 6450, pid)
           elseif isMonster(cid) and (isSummon(pid) or (isPlayer(pid) and #getCreatureSummons(pid) <= 0)) and pid ~= cid then
             setPlayerStorageValue(pid, 654878, 1)
             doChangeSpeed(pid, -getCreatureSpeed(pid))
             doChangeSpeed(pid, 100)
             doPushCreature(pid, roardirections[dirrr][1], 1, 0)
             doChangeSpeed(pid, -getCreatureSpeed(pid))
             addEvent(doRegainSpeed, 6450, pid)
             addEvent(setPlayerStorageValue, 6450, pid, 654878, -1)
           end
       end    
end

local function doDivine(cid, min, max, spell, rounds, area)
if not isCreature(cid) then return true end
local ret = {}
ret.id = 0
ret.check = 0
ret.cd = rounds
ret.cond = "Confusion"
       
for i = 1, 9 do
    addEvent(doMoveInArea2, i*500, cid, 137, area[i], psyDmg, min, max, spell, ret)
end
end
       
       local rounds = math.random(9, 12)
       local area = {punish1, punish2, punish3, punish1, punish2, punish3, punish1, punish2, punish3}
       
       local posi = getThingPosWithDebug(cid) 
       posi.x = posi.x+1
       posi.y = posi.y+1

       setPlayerStorageValue(cid, 2365487, 1)
       addEvent(setPlayerStorageValue, 6450, cid, 2365487, -1) --alterado v1.4
       doDisapear(cid)
       doChangeSpeed(cid, -getCreatureSpeed(cid))
       doSendMagicEffect(posi, 247)   
       addEvent(doAppear, 6450, cid)
       addEvent(doRegainSpeed, 6450, cid)
       
       local uid = checkAreaUid(getCreaturePosition(cid), check, 1, 1)
             for _,pid in pairs(uid) do
                 if isSummon(cid) and (isMonster(pid) or (isSummon(pid) and canAttackOther(cid, pid) == "Can") or (isPlayer(pid) and canAttackOther(cid, pid) == "Can")) and pid ~= cid then
                    doChangeSpeed(pid, -getCreatureSpeed(pid))
                 elseif isMonster(cid) and (isSummon(pid) or (isPlayer(pid) and #getCreatureSummons(pid) <= 0)) and pid ~= cid then
                    doChangeSpeed(pid, -getCreatureSpeed(pid))
                 end
             end
                        
       addEvent(divineBack, 2100, cid)
       addEvent(doDivine, 2200, cid, min, max, spell, rounds, area)
       
elseif isInArray({"Camouflage", "Acid Armor", "Iron Defense", "Minimize"}, spell) then

   local ret = {}
   ret.id = cid
   ret.cd = 10
   ret.eff = 0
   ret.check = 0
   ret.buff = spell
   ret.first = true
   
   doCondition2(ret)        

elseif spell == "Future Future" then
doSendMagicEffect(getThingPosWithDebug(cid), 132)
   
elseif spell == "Shadowave" then

doMoveInArea2(cid, 222, db1, DARKDAMAGE, min, max, spell)

elseif spell == "Confuse Ray" then

    local rounds = math.random(4, 7)
    rounds = rounds + math.floor(getMasterLevel(cid) / 35)
    
    local ret = {}
    ret.id = target
    ret.cd = rounds
    ret.check = getPlayerStorageValue(target, conds["Confusion"])
    ret.cond = "Confusion"

    posi = getThingPosWithDebug(target)
         posi.y = posi.y+1
    ---
    doSendDistanceShoot(getThingPosWithDebug(cid), getThingPosWithDebug(target), 39)
    addEvent(doSendMagicEffect, 100, posi, 222)
    addEvent(doMoveDano2, 100, cid, target, GHOSTDAMAGE, -min, -max, ret, spell)

elseif spell == "Leaf Blade" then

local a = getThingPosWithDebug(target)
posi = {x = a.x+1, y = a.y+1, z = a.z}

doSendDistanceShoot(getThingPosWithDebug(cid), getThingPosWithDebug(target), 39)
addEvent(doSendMagicEffect, 200, posi, 240)
doDanoWithProtectWithDelay(cid, target, GRASSDAMAGE, -min, -max, 0, LeafBlade)

elseif spell == "Eruption" or spell == "Elecball" then

pos = getThingPosWithDebug(cid)
    pos.x = pos.x+1
    pos.y = pos.y+1
    
atk = {
["Eruption"] = {241, FIREDAMAGE},
["Elecball"] = {171, ELECTRICDAMAGE}
}

stopNow(cid, 1000)
doSendMagicEffect(pos, atk[spell][1])
doMoveInArea2(cid, 0, bombWee1, atk[spell][2], min, max, spell) 

elseif spell == "Meteor Smash" then

local effD = getSubName(cid, target) == "Shiny Metagross" and 26 or 26 -- 13 é o efeito da "pedrinha" no caso é "missile"
local eff = getSubName(cid, target) == "Shiny Metagross" and 100 or 100 -- 100 é o efeito "Meteor" - no caso é "effect"

local master = isSummon(cid) and getCreatureMaster(cid) or cid
------------

local function doFall(cid)
for rocks = 1, 62 do
    addEvent(fall, rocks*35, cid, master, ROCKDAMAGE, effD, eff)
end
end

for up = 1, 10 do                                                            
    addEvent(upEffect, up*75, cid, effD)
end
addEvent(doFall, 450, cid)
addEvent(doDanoWithProtect, 1400, cid, ROCKDAMAGE, getThingPosWithDebug(cid), waterarea, -min, -max, 0)

elseif spell == "Paranoic Mind" then

local effD = getSubName(cid, target) == "Shiny Metagross" and 24 or 24 -- 13 é o efeito da "pedrinha" no caso é "missile"
local eff = getSubName(cid, target) == "Shiny Metagross" and 239 or 239 -- 100 é o efeito "Meteor" - no caso é "effect"

local master = isSummon(cid) and getCreatureMaster(cid) or cid
------------

local function doFall(cid)
for rocks = 1, 62 do
    addEvent(fall, rocks*35, cid, master, ROCKDAMAGE, effD, eff)
end
end

for up = 1, 10 do                                                            
    addEvent(upEffect, up*75, cid, effD)
end
addEvent(doFall, 450, cid)
addEvent(doDanoWithProtect, 1400, cid, ROCKDAMAGE, getThingPosWithDebug(cid), waterarea, -min, -max, 0)

elseif spell == "Draco Meteor" then

local effD = 5
local eff = 248
local master = isSummon(cid) and getCreatureMaster(cid) or cid

local function doFall(cid)
for rocks = 5, 42 do
    addEvent(fall, rocks*35, cid, master, DRAGONDAMAGE, effD, eff)
end
end

for up = 1, 10 do
    addEvent(upEffect, up*75, cid, effD)
end
addEvent(doFall, 450, cid)
addEvent(doDanoWithProtect, 1400, cid, DRAGONDAMAGE, getThingPosWithDebug(cid), waterarea, -min, -max, 0)


elseif spell == "Dragon Pulse" then

local p = getThingPosWithDebug(cid)
local d = isCreature(target) and getCreatureDirectionToTarget(cid, target) or getCreatureLookDir(cid)

function sendAtk(cid, area)
if isCreature(cid) then
   if not isSightClear(p, area, false) then return true end
   doAreaCombatHealth(cid, DRAGONDAMAGE, area, pulse2, -min, -max, 255)
end
end

for a = 0, 3 do

local t = {
[0] = {249, {x=p.x, y=p.y-(a+1), z=p.z}},
[1] = {249, {x=p.x+(a+1), y=p.y, z=p.z}},
[2] = {249, {x=p.x, y=p.y+(a+1), z=p.z}},
[3] = {249, {x=p.x-(a+1), y=p.y, z=p.z}}
}   
addEvent(sendAtk, 300*a, cid, t[d][2])
addEvent(doDanoWithProtect, 400*a, cid, DRAGONDAMAGE, t[d][2], pulse2, 0, 0, 177)
addEvent(doDanoWithProtect, 400*a, cid, DRAGONDAMAGE, t[d][2], pulse1, 0, 0, t[d][1])
end

elseif spell == "Psy Ball" then

   doSendDistanceShoot(getThingPosWithDebug(cid), getThingPosWithDebug(target), 3)
   doDanoInTargetWithDelay(cid, target, psyDmg, min, max, 250)  --alterado v1.7

elseif spell == "SmokeScreen" then

local ret = {}
ret.id = 0
ret.cd = 9
ret.eff = 34
ret.check = 0
ret.spell = spell
ret.cond = "Miss"

local function smoke(cid)
if not isCreature(cid) then return true end
if isSleeping(cid) and getPlayerStorageValue(cid, 3644587) >= 1 then return false end
if isWithFear(cid) and getPlayerStorageValue(cid, 3644587) >= 1 then return true end
   doMoveInArea2(cid, 34, confusion, NORMALDAMAGE, 0, 0, spell, ret)
end

setPlayerStorageValue(cid, 3644587, 1)
addEvent(setPlayerStorageValue, 1000, cid, 3644587, -1) 
for i = 0, 2 do
    addEvent(smoke, i*500, cid)                               
end

elseif spell == "Faint Attack" or spell == "Sucker Punch" then  --alterado v1.5

   doSendDistanceShoot(getThingPosWithDebug(cid), getThingPosWithDebug(target), 39)
   doDanoInTargetWithDelay(cid, target, DARKDAMAGE, min, max, 237)  --alterado v1.7

elseif spell == "Assurance" then

local p = getThingPosWithDebug(cid)
local d = isCreature(target) and getCreatureDirectionToTarget(cid, target) or getCreatureLookDir(cid)

function sendAtk(cid, area1, area2, eff)
if isCreature(cid) then
   if not isSightClear(p, area1, false) then return true end
   if not isSightClear(p, area2, false) then return true end
   doAreaCombatHealth(cid, DARKDAMAGE, area1, 0, 0, 0, eff)
   doAreaCombatHealth(cid, DARKDAMAGE, area2, whirl3, -min, -max, 0)
end
end

for a = 0, 3 do

local t = {
[0] = {230, {x=p.x+1, y=p.y-(a+1), z=p.z}, {x=p.x, y=p.y-(a+1), z=p.z}},
[1] = {226, {x=p.x+(a+2), y=p.y+1, z=p.z}, {x=p.x+(a+1), y=p.y, z=p.z}},
[2] = {235, {x=p.x+1, y=p.y+(a+1), z=p.z}, {x=p.x, y=p.y+(a+1), z=p.z}},
[3] = {231, {x=p.x-(a+1), y=p.y+1, z=p.z}, {x=p.x-(a+1), y=p.y, z=p.z}}
}   
addEvent(sendAtk, 300*a, cid, t[d][2], t[d][3], t[d][1])
end

elseif spell == "Scary Face" then

local ret = {}
ret.id = 0
ret.cd = 9
ret.check = 0
ret.eff = 0
ret.spell = spell
ret.cond = "Stun"


local p = getThingPosWithDebug(cid)
doSendMagicEffect({x=p.x+1, y=p.y+1, z=p.z}, 228)
doMoveInArea2(cid, 0, confusion, NORMALDAMAGE, 0, 0, spell, ret)

elseif spell == "Surf" then

local pos = getThingPosWithDebug(cid)

doMoveInArea2(cid, 246, doSurf1, WATERDAMAGE, 0, 0, spell)
addEvent(doDanoWithProtect, math.random(100, 400), cid, WATERDAMAGE, pos, doSurf2, -min, -max, 0)

elseif spell == "Sunny Day" then

local ret = {}
ret.id = 0
ret.cd = 9
ret.check = 0
ret.eff = 39
ret.cond = "Silence"
----
local p = getThingPosWithDebug(cid)
doSendMagicEffect({x=p.x+1, y=p.y, z=p.z}, 621)
---
if isSummon(cid) then 
   doCureBallStatus(getPlayerSlotItem(getCreatureMaster(cid), 8).uid, "all")
end
doCureStatus(cid, "all")
setPlayerStorageValue(cid, 253, 1)  --focus
doMoveInArea2(cid, 0, confusion, NORMALDAMAGE, 0, 0, spell, ret)

elseif isInArray({"Pursuit", "ExtremeSpeed", "U-Turn", "Shell Attack"}, spell) then

local atk = {
["Pursuit"] = {17, DARKDAMAGE},
["ExtremeSpeed"] = {50, NORMALDAMAGE, 51},
["U-Turn"] = {19, BUGDAMAGE},
["Shell Attack"] = {45, BUGDAMAGE}      --alterado v1.5
}

local pos = getThingPosWithDebug(cid)
local p = getThingPosWithDebug(target)
local newPos = getClosestFreeTile(target, p)

local eff = getSubName(cid, target) == "Shiny Arcanine" and atk[spell][3] or atk[spell][1] --alterado v1.6.1

local damage = atk[spell][2]
-----------
doDisapear(cid)
doChangeSpeed(cid, -getCreatureSpeed(cid))
-----------
addEvent(doSendMagicEffect, 300, pos, 211)
addEvent(doSendDistanceShoot, 400, pos, p, eff)
addEvent(doSendDistanceShoot, 400, newPos, p, eff)
addEvent(doDanoInTarget, 400, cid, target, damage, -min, -max, 0) --alterado v1.7
addEvent(doSendDistanceShoot, 800, p, pos, eff)
addEvent(doSendMagicEffect, 850, pos, 211)
addEvent(doRegainSpeed, 1000, cid)
addEvent(doAppear, 1000, cid)

elseif spell == "Egg Rain" then

local effD = 12
local eff = 5
local master = isSummon(cid) and getCreatureMaster(cid) or cid
------------

local function doFall(cid)
for rocks = 1, 62 do
    addEvent(fall, rocks*35, cid, master, ROCKDAMAGE, effD, eff)
end
end

for up = 1, 10 do
    addEvent(upEffect, up*75, cid, effD)
end
addEvent(doFall, 450, cid)
addEvent(doDanoWithProtect, 1400, cid, NORMALDAMAGE, getThingPosWithDebug(cid), waterarea, -min, -max, 0)


elseif spell == "Air Cutter" then
local p = getThingPosWithDebug(cid)
local d = isCreature(target) and getCreatureDirectionToTarget(cid, target) or getCreatureLookDir(cid)

function sendAtk(cid, area)
if isCreature(cid) then
   if not isSightClear(p, area, false) then return true end
   doAreaCombatHealth(cid, FLYINGDAMAGE, area, whirl3, -min, -max, 255)
end
end

for a = 0, 5 do

local t = {
[0] = {128, {x=p.x, y=p.y-(a+1), z=p.z}, {x=p.x+1, y=p.y-(a+1), z=p.z}},
[1] = {129, {x=p.x+(a+1), y=p.y, z=p.z}, {x=p.x+(a+2), y=p.y+1, z=p.z}},
[2] = {131, {x=p.x, y=p.y+(a+1), z=p.z}, {x=p.x+1, y=p.y+(a+2), z=p.z}},
[3] = {130, {x=p.x-(a+1), y=p.y, z=p.z}, {x=p.x-(a+1), y=p.y+1, z=p.z}}
}   
addEvent(doSendMagicEffect, 300*a, t[d][3], t[d][1])
addEvent(sendAtk, 300*a, cid, t[d][2])
end

elseif spell == "Venom Gale" then

local area = {gale1, gale2, gale3, gale4, gale3, gale2, gale1}

for i = 0, 6 do
    addEvent(doMoveInArea2, i*400, cid, 138, area[i+1], POISONDAMAGE, min, max, spell)
end    

elseif spell == "Crunch" then

doMoveInArea2(cid, 146, Crunch1, DARKDAMAGE, min, max, spell)
addEvent(doMoveInArea2, 300, cid, 146, Crunch2, DARKDAMAGE, min, max, spell)

elseif spell == "Ice Fang" then

doTargetCombatHealth(cid, target, ICEDAMAGE, 0, 0, 146)
addEvent(doDanoWithProtect, 250, cid, ICEDAMAGE, getThingPosWithDebug(target), 0, -min, -max, 17)

elseif spell == "Psyshock" then

local p = getThingPosWithDebug(cid)
local d = isCreature(target) and getCreatureDirectionToTarget(cid, target) or getCreatureLookDir(cid)

function sendAtk(cid, area, eff)
if isCreature(cid) then 
   if not isSightClear(p, area, false) then return true end
   doAreaCombatHealth(cid, psyDmg, area, 0, 0, 0, eff)    --alterado v1.4
   doAreaCombatHealth(cid, psyDmg, area, whirl3, -min, -max, 255)     --alterado v1.4
end
end

for a = 0, 4 do

local t = {
[0] = {250, {x=p.x, y=p.y-(a+1), z=p.z}},           --alterado v1.4
[1] = {250, {x=p.x+(a+1), y=p.y, z=p.z}},
[2] = {250, {x=p.x, y=p.y+(a+1), z=p.z}},
[3] = {250, {x=p.x-(a+1), y=p.y, z=p.z}}
}   
addEvent(sendAtk, 370*a, cid, t[d][2], t[d][1])
end


elseif spell == "Hurricane" then

local function hurricane(cid)
        if not isCreature(cid) then return true end
        if isSleeping(cid) and getPlayerStorageValue(cid, 3644587) >= 1 then return false end
        if isWithFear(cid) and getPlayerStorageValue(cid, 3644587) >= 1 then return true end
           doMoveInArea2(cid, 42, HurricaneArea, FLYINGDAMAGE, min, max, spell)
    end

doSetCreatureOutfit(cid, {lookType = 1398}, 10000)

setPlayerStorageValue(cid, 3644587, 1)
addEvent(setPlayerStorageValue, 17*600, cid, 3644587, -1)        
for i = 1, 17 do
    addEvent(hurricane, i*600, cid)                                --alterado v1.4
end

elseif spell == "Aromateraphy" or spell == "Emergency Call" then

eff = spell == "Aromateraphy" and 14 or 13

doAreaCombatHealth(cid, GRASSDAMAGE, getThingPosWithDebug(cid), bombWee3, 0, 0, eff)
if isSummon(cid) then 
   doCureBallStatus(getPlayerSlotItem(getCreatureMaster(cid), 8).uid, "all")
end
doCureStatus(cid, "all") 

local uid = checkAreaUid(getThingPosWithDebug(cid), confusion, 1, 1)
for _,pid in pairs(uid) do
    if isCreature(pid) then
       if ehMonstro(cid) and ehMonstro(pid) and pid ~= cid then
          doCureStatus(pid, "all")
       elseif isSummon(cid) and ((isSummon(pid) and canAttackOther(cid, pid) == "Cant") or (isPlayer(pid) and canAttackOther(cid, pid) == "Cant")) and pid ~= cid then
          if isSummon(pid) then 
             doCureBallStatus(getPlayerSlotItem(getCreatureMaster(pid), 8).uid, "all")
          end
          doCureStatus(pid, "all")
       end
    end
end

elseif spell == "Roost" then

    local min = (getCreatureMaxHealth(cid) * 45) / 100
    local max = (getCreatureMaxHealth(cid) * 60) / 100
    
    local function doHealArea(cid, min, max)
    local amount = math.random(min, max)
    if (getCreatureHealth(cid) + amount) >= getCreatureMaxHealth(cid) then
        amount = -(getCreatureHealth(cid)-getCreatureMaxHealth(cid))
    end
    if getCreatureHealth(cid) ~= getCreatureMaxHealth(cid) then
       doCreatureAddHealth(cid, amount)
       doSendAnimatedText(getThingPosWithDebug(cid), "+"..amount.."", 65)
    end
    end
    
    doSendMagicEffect(getThingPosWithDebug(cid), 485)
    doHealArea(cid, min, max) 
    
elseif spell == "Cotton Spore" then

    local ret = {}
    ret.id = 0
    ret.cd = 9
    ret.eff = 0
    ret.check = 0
    ret.spell = spell
    ret.cond = "Stun"
    
    doMoveInArea2(cid, 85, confusion, GRASSDAMAGE, 0, 0, spell, ret)

elseif spell == "Peck" then

sendDistanceShootWithProtect(cid, getThingPosWithDebug(cid), getThingPosWithDebug(target), 39)
doDanoInTargetWithDelay(cid, target, FLYINGDAMAGE, min, max, 3)  --alterado v1.7

elseif spell == "Rolling Kick" or spell == "Night Daze" then

local pos = getThingPosWithDebug(cid)
local eff = spell == "Night Daze" and 222 or 113
local dmg = spell == "Night Daze" and DARKDAMAGE or FIGHTINGDAMAGE

local out = getSubName(cid, target) == "Hitmontop" and 1193 or 1451 --alterado v1.6.1

    local function doSendBubble(cid, pos)
        if not isCreature(cid) then return true end
        doSendDistanceShoot(getThingPosWithDebug(cid), pos, 39)
        doSendMagicEffect(pos, eff)
    end
                                                              --alterado!!
    for a = 1, 20 do
        local r1 = math.random(-4, 4)
        local r2 = r1 == 0 and choose(-3, -2, -1, 2, 3) or math.random(-3, 3)
        --
        local lugar = {x = pos.x + r1, y = pos.y + r2, z = pos.z}
        addEvent(doSendBubble, a * 25, cid, lugar)
    end
    if isInArray({"Hitmontop", "Shiny Hitmontop"}, getSubName(cid, target)) then  --alterado v1.6.1
       doSetCreatureOutfit(cid, {lookType = out}, 400)
    end 
    addEvent(doDanoWithProtect, 150, cid, dmg, pos, waterarea, -min, -max, 0)
    
elseif spell == "Safeguard" then

doSendMagicEffect(getThingPosWithDebug(cid), 133)
if isSummon(cid) then 
   doCureBallStatus(getPlayerSlotItem(getCreatureMaster(cid), 8).uid, "all")
end
doCureStatus(cid, "all") 

elseif spell == "Air Slash" then

local p = getThingPosWithDebug(cid)

local t = {
{{128, {x = p.x+1, y = p.y-1, z = p.z}}, {16, {x = p.x+1, y = p.y-1, z = p.z}}},
{{129, {x = p.x+2, y = p.y+1, z = p.z}}, {221, {x = p.x+3, y = p.y+1, z = p.z}}},
{{131, {x = p.x+1, y = p.y+2, z = p.z}}, {223, {x = p.x+1, y = p.y+3, z = p.z}}},
{{130, {x = p.x-1, y = p.y+1, z = p.z}}, {243, {x = p.x-1, y = p.y+1, z = p.z}}},
}

for i = 1, 4 do
    doSendMagicEffect(t[i][2][2], t[i][2][1])
end
doDanoWithProtect(cid, FLYINGDAMAGE, getThingPosWithDebug(cid), airSlash, -min, -max, 0)    

for i = 1, 4 do
    addEvent(doSendMagicEffect, 400, t[i][1][2], t[i][1][1])
end
addEvent(doDanoWithProtect, 400, cid, FLYINGDAMAGE, getThingPosWithDebug(cid), bombWee2, -min, -max, 0)

elseif spell == "Feather Dance" then

local function doPulse(cid, eff)
if not isCreature(cid) or not isCreature(target) then return true end
   doSendDistanceShoot(getThingPosWithDebug(cid), getThingPosWithDebug(target), 9)
   doDanoInTargetWithDelay(cid, target, FLYINGDAMAGE, -min, -max, eff)   --alterado v1.7
end

   addEvent(doPulse, 0, cid, 137)                
   addEvent(doPulse, 100, cid, 137)


elseif spell == "Tailwind" then

   local ret = {}
   ret.id = cid
   ret.cd = 10
   ret.eff = 137
   ret.check = 0
   ret.buff = spell
   ret.first = true
   
   doCondition2(ret)

elseif spell == "Double Team" then

  local function RemoveTeam(cid, master)
   if isCreature(cid) then
      local p = getThingPosWithDebug(cid)
      doSendMagicEffect(p, 211)
      doRemoveCreature(cid)
   end
   end
   
local function sendEff(cid, master, t)
if isCreature(cid) and isCreature(master) and t > 0 and #getCreatureSummons(master) >= 2 then
   doSendMagicEffect(getThingPosWithDebug(cid), 86, master)
   addEvent(sendEff, 1000, cid, master, t-1)                        --alterado v1.9
end
end
         
   if getPlayerStorageValue(cid, 637500) >= 1 then
   return true
   end
   
   local s = {
   ["Xatu"] = "XatuTeam",
   ["Yanma"] = "YanmaTeam",
   }
   
    local master = getCreatureMaster(cid)
    local item = getPlayerSlotItem(master, ?
    local pos = getThingPosWithDebug(cid)
    local time = 20
    local pokelife = (getCreatureHealth(cid) / getCreatureMaxHealth(cid))
    local random = math.random(5, 10)
    local dir = getCreatureLookDir(cid)
    ---------
    doItemSetAttribute(item.uid, "hp", pokelife)
    ---------
    doDisapear(cid)
    doTeleportThing(cid, {x=4, y=3, z=10}, false) 
    doAppear(cid)
    ---------
    doSummonMonster(master, s[getSubName(cid, target)]) --alterado v1.6.1
    local pk = getCreatureSummons(master)[2]
    adjustStatus(pk, item.uid, true, true, true)
    ---------
    doTeleportThing(pk, getClosestFreeTile(pk, pos), false)
    doTeleportThing(cid, getClosestFreeTile(cid, pos), false)
    doCreatureSetLookDir(pk, dir)
    doCreatureSetLookDir(cid, dir)
    doSendMagicEffect(getThingPosWithDebug(pk), 211)
    doSendMagicEffect(getThingPosWithDebug(cid), 211)
    if getPlayerStorageValue(cid, 9658783) >= 1 then          --gambiarra
       doSetCreatureOutfit(cid, {lookType = 1446}, -1)
    end
    sendEff(cid, master, time)      --alterado v1.9
    --------
    setPlayerStorageValue(pk, 637500, 1)
    setPlayerStorageValue(master, 637501, 1)
    addEvent(RemoveTeam, time*1000, pk, master)
    addEvent(setPlayerStorageValue, time*1000, master, 637501, -2) --alterado v1.6

elseif spell == "Tackle" then

   doDanoWithProtect(cid, NORMALDAMAGE, getThingPosWithDebug(target), 0, -min, -max, 111)

elseif spell == "Giga Drain" then

local life = getCreatureHealth(target) or 0

    doDanoWithProtect(cid, GRASSDAMAGE, getThingPosWithDebug(target), 0, -min, -max, 508)

    local newlife = life - (getCreatureHealth(target) or 0)

    doSendMagicEffect(getThingPosWithDebug(cid), 14)
    if newlife >= 1 then
    doCreatureAddHealth(cid, newlife)
    doSendAnimatedText(getThingPosWithDebug(cid), "+"..newlife.."", 32)
    end
    
elseif spell == "Bug Fighter" then
    
   local ret = {}
   ret.id = cid
   ret.cd = 10
   ret.eff = 0
   ret.check = 0
   ret.buff = spell
   ret.first = true
   
   doCondition2(ret)    
    
elseif spell == "Metal Claw" then

   doDanoWithProtect(cid, STEELDAMAGE, getThingPosWithDebug(target), 0, -min, -max, 160)    
    
elseif spell == "Power Gem" then

local p = getThingPosWithDebug(cid)
local d = isCreature(target) and getCreatureDirectionToTarget(cid, target) or getCreatureLookDir(cid)

function sendAtk(cid, area)
if isCreature(cid) then
   if not isSightClear(p, area, false) then return true end
   doAreaCombatHealth(cid, ROCKDAMAGE, area, pulse2, -min, -max, 255)
end
end

for a = 0, 3 do

local t = {
[0] = {29, {x=p.x, y=p.y-(a+1), z=p.z}},     
[1] = {29, {x=p.x+(a+1), y=p.y, z=p.z}},
[2] = {29, {x=p.x, y=p.y+(a+1), z=p.z}},
[3] = {29, {x=p.x-(a+1), y=p.y, z=p.z}}                            
}   
addEvent(sendAtk, 400*a, cid, t[d][2])
addEvent(doAreaCombatHealth, 400*a, cid, ROCKDAMAGE, t[d][2], pulse1, 0, 0, t[d][1])
addEvent(doAreaCombatHealth, 400*a, cid, ROCKDAMAGE, t[d][2], pulse1, 0, 0, 103)
end    
    
elseif spell == "Octazooka" then

local ret = {}
ret.id = 0
ret.cd = 9
ret.check = 0
ret.eff = 34
ret.cond = "Silence"

doMoveInAreaMulti(cid, 6, 116, multi, multiDano, WATERDAMAGE, min, max)
doMoveInArea2(cid, 0, multiDano, WATERDAMAGE, 0, 0, spell, ret)
    
    
elseif spell == "Take Down" then

    doMoveInArea2(cid, 111, reto5, NORMALDAMAGE, min, max, spell)

elseif spell == "Yawn" then

local ret = {}
ret.id = target
ret.cd = math.random(6, 9)
ret.check = getPlayerStorageValue(target, conds["Sleep"])
ret.first = true
ret.cond = "Sleep"

    doSendDistanceShoot(getThingPosWithDebug(cid), getThingPosWithDebug(target), 11)
    addEvent(doMoveDano2, 1500, cid, target, NORMALDAMAGE, 0, 0, ret, spell)

elseif spell == "Tongue Hook" then

sendDistanceShootWithProtect(cid, getThingPosWithDebug(cid), getThingPosWithDebug(target), 38)
addEvent(doTeleportThing, 200, target, getClosestFreeTile(cid, getThingPosWithDebug(cid)), true)
addEvent(sendDistanceShootWithProtect, 200, cid, getThingPosWithDebug(target), getThingPosWithDebug(cid), 38)


elseif spell == "Tongue Grap" then

local function distEff(cid, target)
if not isCreature(cid) or not isCreature(target) or not isSilence(target) then return true end  --alterado v1.6
   sendDistanceShootWithProtect(cid, getThingPosWithDebug(target), getThingPosWithDebug(cid), 38)
end

local ret = {}
ret.id = target
ret.cd = 10
ret.check = getPlayerStorageValue(target, conds["Silence"])
ret.eff = 185
ret.cond = "Silence"

sendDistanceShootWithProtect(cid, getThingPosWithDebug(cid), getThingPosWithDebug(target), 38)
addEvent(doMoveDano2, 100, cid, target, NORMALDAMAGE, 0, 0, ret, spell)
 
for i = 1, 10 do
    addEvent(distEff, i*930, cid, target)
end 

elseif spell == "Struggle Bug" then

    local function sendFireEff(cid, dir)
    if not isCreature(cid) then return true end
       doDanoWithProtect(cid, BUGDAMAGE, getPosByDir(getThingPosWithDebug(cid), dir), 0, -min, -max, 105)
    end

    local function doWheel(cid)
    if not isCreature(cid) then return true end
    local t = {
          [1] = SOUTH,
          [2] = SOUTHEAST,
          [3] = EAST,
          [4] = NORTHEAST,
          [5] = NORTH,        --alterado v1.5
          [6] = NORTHWEST,
          [7] = WEST,
          [8] = SOUTHWEST,
        }
        for a = 1, 8 do
            addEvent(sendFireEff, a * 200, cid, t[a])
        end
    end

    doWheel(cid, false, cid)
    
elseif spell == "Low Kick" then
  
    doSendDistanceShoot(getThingPosWithDebug(cid), getThingPosWithDebug(target), 39)
    doDanoInTargetWithDelay(cid, target, FIGHTINGDAMAGE, min, max, 113)    --alterado v1.7

elseif spell == "Present" then

local function sendHeal(cid)
if isCreature(cid) and isCreature(target) then 
   doAreaCombatHealth(cid, NORMALDAMAGE, getThingPosWithDebug(target), crusher, min, max, 5)
   doSendAnimatedText(getThingPosWithDebug(target), "HEALTH!", 65)
end
end

    doSendDistanceShoot(getThingPosWithDebug(cid), getThingPosWithDebug(target), 31)
    if math.random(1, 100) >= 10 then
       doDanoWithProtectWithDelay(cid, target, NORMALDAMAGE, min, max, 5, crusher) 
    else
       addEvent(sendHeal, 100, cid) 
    end
    
elseif spell == "Inferno" or spell == "Fissure" then
    
local pos = getThingPosWithDebug(cid)

atk = {
["Inferno"] = {506, FIREDAMAGE},
["Fissure"] = {102, GROUNDDAMAGE}
}

doMoveInArea2(cid, atk[spell][1], inferno1, atk[spell][2], 0, 0, spell)
addEvent(doDanoWithProtect, math.random(100, 400), cid, atk[spell][2], pos, inferno2, -min, -max, 0)


elseif spell == "Wrap" then

local ret = {}
ret.id = target
ret.cd = 10
ret.check = getPlayerStorageValue(target, conds["Silence"])
ret.eff = 104
ret.cond = "Silence"

doSendDistanceShoot(getThingPosWithDebug(cid), getThingPosWithDebug(target), 39)
addEvent(doMoveDano2, 100, cid, target, NORMALDAMAGE, 0, 0, ret, spell)

elseif spell == "Rock n'Roll" then

local pos = getThingPosWithDebug(cid)
local areas = {rock1, rock2, rock3, rock4, rock5, rock4, rock3, rock2, rock1}
local ret = {}
ret.id = 0
ret.cd = 9
ret.eff = 1
ret.check = 0
ret.spell = spell
ret.cond = "Miss"

for i = 0, 8 do
    addEvent(doMoveInArea2, i*400, cid, 1, areas[i+1], NORMALDAMAGE, min, max, spell, ret)
    addEvent(doMoveInArea2, i*410, cid, 1, areas[i+1], NORMALDAMAGE, 0, 0, spell)
end

elseif spell == "Power Wave" then
                                             
local pos = getThingPosWithDebug(cid)
local areas = {rock1, rock2, rock3, rock4, rock5}
local ret = {}
ret.id = 0
ret.cd = 9
ret.eff = 103
ret.check = 0
ret.first = true
ret.cond = "Paralyze"

local function sendAtk(cid)
if isCreature(cid) then 
doRemoveCondition(cid, CONDITION_OUTFIT)
setPlayerStorageValue(cid, 9658783, -1)  
for i = 0, 4 do
    addEvent(doMoveInArea2, i*400, cid, 103, areas[i+1], psyDmg, min, max, spell, ret)
    addEvent(doMoveInArea2, i*410, cid, 103, areas[i+1], psyDmg, 0, 0, spell)
end
end
end

doSetCreatureOutfit(cid, {lookType = 1001}, -1)
setPlayerStorageValue(cid, 9658783, 1)
addEvent(sendAtk, 2000, cid)  


elseif spell == "Ground Crusher" then

local pos = getThingPosWithDebug(cid)
local areas = {rock1, rock2, rock3, rock4, rock5}
local ret = {}
    ret.id = 0
    ret.cd = 12
    ret.eff = 0
    ret.check = 0
    ret.spell = spell
    ret.cond = "Stun"
    
local function endMove(cid)
if isCreature(cid) then
   doRemoveCondition(cid, CONDITION_OUTFIT)   
end
end

doSetCreatureOutfit(cid, {lookType = 1449}, -1)
stopNow(cid, 16*360)
addEvent(endMove, 16*360, cid)
----
for i = 0, 4 do
    addEvent(doMoveInArea2, i*350, cid, 100, areas[i+1], GROUNDDAMAGE, min, max, spell, ret)
    addEvent(doMoveInArea2, i*360, cid, 100, areas[i+1], GROUNDDAMAGE, 0, 0, spell, ret)
end
for i = 4, 8 do
    local a = i-3
    addEvent(doMoveInArea2, i*350, cid, 100, areas[a], GROUNDDAMAGE, min, max, spell, ret)
    addEvent(doMoveInArea2, i*360, cid, 100, areas[a], GROUNDDAMAGE, 0, 0, spell, ret)
end
for i = 8, 12 do
    local a = i-7
    addEvent(doMoveInArea2, i*350, cid, 100, areas[a], GROUNDDAMAGE, min, max, spell, ret)
    addEvent(doMoveInArea2, i*360, cid, 100, areas[a], GROUNDDAMAGE, 0, 0, spell, ret)
end
for i = 12, 16 do
    local a = i-11
    addEvent(doMoveInArea2, i*350, cid, 100, areas[a], GROUNDDAMAGE, min, max, spell, ret)
    addEvent(doMoveInArea2, i*360, cid, 100, areas[a], GROUNDDAMAGE, 0, 0, spell, ret)
end
for i = 16, 20 do
    local a = i-15
    addEvent(doMoveInArea2, i*350, cid, 100, areas[a], GROUNDDAMAGE, min, max, spell, ret)
    addEvent(doMoveInArea2, i*360, cid, 100, areas[a], GROUNDDAMAGE, 0, 0, spell, ret)
end

elseif spell == "Last Resort" then

local pos = getThingPosWithDebug(cid)
local areas = {rock5, rock4, rock3, rock2, rock1, rock5, rock4, rock3, rock2, rock1}

for i = 0, 9 do
    addEvent(doMoveInArea2, i*400, cid, 3, areas[i+1], NORMALDAMAGE, min, max, spell)
    addEvent(doMoveInArea2, i*410, cid, 3, areas[i+1], NORMALDAMAGE, 0, 0, spell)
end

elseif spell == "Psy Impact" then

local master = getCreatureMaster(cid) or 0
local ret = {}
ret.id = 0
ret.cd = 9
ret.eff = 0
ret.check = 0
ret.spell = spell
ret.cond = "Miss"
    
for rocks = 1, 42 do
    addEvent(fall, rocks*35, cid, master, psyDmg, -1, 98)
end

addEvent(doMoveInArea2, 500, cid, 0, BigArea2, psyDmg, min, max, spell, ret) 

elseif spell == "Two Face Shock" then

local atk = {
[1] = {179, ICEDAMAGE},
[2] = {127, GROUNDDAMAGE}
}

    local rand = math.random(1, 2)

    doAreaCombatHealth(cid, atk[rand][2], getThingPosWithDebug(cid), splash, -min, -max, 255)

    local sps = getThingPosWithDebug(cid)
    sps.x = sps.x+1
    sps.y = sps.y+1
    doSendMagicEffect(sps, atk[rand][1])


elseif spell == "Aerial Ace" then

local eff = {16, 221, 223, 243}

for rocks = 1, 32 do
    addEvent(fall, rocks*22, cid, master, FLYINGDAMAGE, -1, eff[math.random(1, 4)])
end

addEvent(doMoveInArea2, 500, cid, 0, BigArea2, FLYINGDAMAGE, min, max, spell) 

elseif spell == "Echoed Voice" then

local p = getThingPosWithDebug(cid)
local d = isCreature(target) and getCreatureDirectionToTarget(cid, target) or getCreatureLookDir(cid)

function sendAtk(cid, area)
if isCreature(cid) then
   if not isSightClear(p, area, false) then return true end
   doAreaCombatHealth(cid, NORMALDAMAGE, area, pulse2, -min, -max, 255)
end
end

for a = 0, 5 do

local t = {
[0] = {39, {x=p.x, y=p.y-(a+1), z=p.z}},     
[1] = {39, {x=p.x+(a+1), y=p.y, z=p.z}},
[2] = {39, {x=p.x, y=p.y+(a+1), z=p.z}},
[3] = {39, {x=p.x-(a+1), y=p.y, z=p.z}}                            
}   
addEvent(sendAtk, 400*a, cid, t[d][2])
addEvent(doAreaCombatHealth, 400*a, cid, ROCKDAMAGE, t[d][2], pulse1, 0, 0, t[d][1])
end    

elseif spell == "Electro Field" or spell == "Petal Tornado" or spell == "Flame Wheel" then  --alterado v1.8

local p = getThingPos(cid)
local pos1 = {
[1] = {{x = p.x, y = p.y+4, z = p.z}, {x = p.x+1, y = p.y+4, z = p.z}, {x = p.x+2, y = p.y+3, z = p.z}, {x = p.x+3, y = p.y+2, z = p.z}, {x = p.x+4, y = p.y+1, z = p.z}, {x = p.x+4, y = p.y, z = p.z}},
[2] = {{x = p.x, y = p.y+3, z = p.z}, {x = p.x+1, y = p.y+3, z = p.z}, {x = p.x+2, y = p.y+2, z = p.z}, {x = p.x+3, y = p.y+1, z = p.z}, {x = p.x+3, y = p.y, z = p.z}},
[3] = {{x = p.x, y = p.y+2, z = p.z}, {x = p.x+1, y = p.y+2, z = p.z}, {x = p.x+2, y = p.y+1, z = p.z}, {x = p.x+2, y = p.y, z = p.z}},
[4] = {{x = p.x, y = p.y+1, z = p.z}, {x = p.x+1, y = p.y+1, z = p.z}, {x = p.x+1, y = p.y, z = p.z}},
}

local pos2 = {
[1] = {{x = p.x, y = p.y-4, z = p.z}, {x = p.x-1, y = p.y-4, z = p.z}, {x = p.x-2, y = p.y-3, z = p.z}, {x = p.x-3, y = p.y-2, z = p.z}, {x = p.x-4, y = p.y-1, z = p.z}, {x = p.x-4, y = p.y, z = p.z}},
[2] = {{x = p.x, y = p.y-3, z = p.z}, {x = p.x-1, y = p.y-3, z = p.z}, {x = p.x-2, y = p.y-2, z = p.z}, {x = p.x-3, y = p.y-1, z = p.z}, {x = p.x-3, y = p.y, z = p.z}},
[3] = {{x = p.x, y = p.y-2, z = p.z}, {x = p.x-1, y = p.y-2, z = p.z}, {x = p.x-2, y = p.y-1, z = p.z}, {x = p.x-2, y = p.y, z = p.z}},
[4] = {{x = p.x, y = p.y-1, z = p.z}, {x = p.x-1, y = p.y-1, z = p.z}, {x = p.x-1, y = p.y, z = p.z}},
}

local pos3 = {
[1] = {{x = p.x+4, y = p.y, z = p.z}, {x = p.x+4, y = p.y-1, z = p.z}, {x = p.x+3, y = p.y-2, z = p.z}, {x = p.x+2, y = p.y-3, z = p.z}, {x = p.x+1, y = p.y-4, z = p.z}, {x = p.x, y = p.y-4, z = p.z}},
[2] = {{x = p.x+3, y = p.y, z = p.z}, {x = p.x+3, y = p.y-1, z = p.z}, {x = p.x+2, y = p.y-2, z = p.z}, {x = p.x+1, y = p.y-3, z = p.z}, {x = p.x, y = p.y-3, z = p.z}},
[3] = {{x = p.x+2, y = p.y, z = p.z}, {x = p.x+2, y = p.y-1, z = p.z}, {x = p.x+1, y = p.y-2, z = p.z}, {x = p.x, y = p.y-2, z = p.z}},
[4] = {{x = p.x+1, y = p.y, z = p.z}, {x = p.x+1, y = p.y-1, z = p.z}, {x = p.x, y = p.y-1, z = p.z}},
}

local pos4 = {
[1] = {{x = p.x-4, y = p.y, z = p.z}, {x = p.x-4, y = p.y+1, z = p.z}, {x = p.x-3, y = p.y+2, z = p.z}, {x = p.x-2, y = p.y+3, z = p.z}, {x = p.x-1, y = p.y+4, z = p.z}, {x = p.x, y = p.y+4, z = p.z}},
[2] = {{x = p.x-3, y = p.y, z = p.z}, {x = p.x-3, y = p.y+1, z = p.z}, {x = p.x-2, y = p.y+2, z = p.z}, {x = p.x-1, y = p.y+3, z = p.z}, {x = p.x, y = p.y+3, z = p.z}},
[3] = {{x = p.x-2, y = p.y, z = p.z}, {x = p.x-2, y = p.y+1, z = p.z}, {x = p.x-1, y = p.y+2, z = p.z}, {x = p.x, y = p.y+2, z = p.z}},
[4] = {{x = p.x-1, y = p.y, z = p.z}, {x = p.x-1, y = p.y+1, z = p.z}, {x = p.x, y = p.y+1, z = p.z}},
}

local atk = {
--[atk] = {distance, eff, damage}
["Electro Field"] = {41, 207, ELECTRICDAMAGE},
["Petal Tornado"] = {14, 54, GRASSDAMAGE},

["Flame Wheel"] = {-1, 6, FIREDAMAGE},     --alterado v1.9
}
local ret = {}                 
ret.id = 0
ret.cd = 12
ret.eff = 48
ret.check = 0
ret.spell = spell
ret.cond = "Stun"

local function sendDist(cid, posi1, posi2, eff, delay)
if posi1 and posi2 and isCreature(cid) then
   addEvent(sendDistanceShootWithProtect, delay, cid, posi1, posi2, eff)   --alterado v1.6
end
end
                                                               
local function sendDano(cid, pos, eff, delay, min, max)
if pos and isCreature(cid) then
   addEvent(doDanoWithProtect, delay, cid, atk[spell][3], pos, 0, -min, -max, eff)  --alterado v1.6
end
end

local function doTornado(cid)
if isCreature(cid) then
for j = 1, 4 do
   for i = 1, 6 do                                                  --41/207  -- 14/54
       addEvent(sendDist, 350, cid, pos1[j][i], pos1[j][i+1], atk[spell][1], i*330)
       addEvent(sendDano, 350, cid, pos1[j][i], atk[spell][2], i*300, min, max)
       addEvent(sendDano, 350, cid, pos1[j][i], atk[spell][2], i*310, 0, 0)
       ---
       addEvent(sendDist, 350, cid, pos2[j][i], pos2[j][i+1], atk[spell][1], i*330)
       addEvent(sendDano, 350, cid, pos2[j][i], atk[spell][2], i*300, min, max)
       addEvent(sendDano, 350, cid, pos2[j][i], atk[spell][2], i*310, 0, 0)
       ----
       addEvent(sendDist, 800, cid, pos3[j][i], pos3[j][i+1], atk[spell][1], i*330)
       addEvent(sendDano, 800, cid, pos3[j][i], atk[spell][2], i*300, min, max)
       addEvent(sendDano, 800, cid, pos3[j][i], atk[spell][2], i*310, 0, 0)
       ---
       addEvent(sendDist, 800, cid, pos4[j][i], pos4[j][i+1], atk[spell][1], i*330)
       addEvent(sendDano, 800, cid, pos4[j][i], atk[spell][2], i*300, min, max)
       addEvent(sendDano, 800, cid, pos4[j][i], atk[spell][2], i*310, 0, 0)
   end
end
end
end

if spell == "Electro Field" then
   addEvent(doMoveInArea2, 1000, cid, 0, electro, ELECTRICDAMAGE, 0, 0, spell, ret)
end

if spell == "Flame Wheel" then   --alterado v1.8
   doTornado(cid)
else
    for b = 0, 2 do
        addEvent(doTornado, b*1500, cid)
    end
end

elseif spell == "Seed Bomb" then                  --alterado v1.6

local master = isSummon(cid) and getCreatureMaster(cid) or cid

local function doFall(cid)
for rocks = 1, 42 do   --62
    addEvent(fall, rocks*35, cid, master, SEED_BOMBDAMAGE, 1, 54)
end
end

for up = 1, 10 do
    addEvent(upEffect, up*75, cid, 1)
end
addEvent(doFall, 450, cid)
addEvent(doMoveInArea2, 1400, cid, 2, BigArea2, SEED_BOMBDAMAGE, min, max, spell)

elseif spell == "Reverse Earthshock" then

local p = getThingPosWithDebug(cid)
p.x = p.x+1
p.y = p.y+1

sendEffWithProtect(cid, p, 151)   --send eff

local function doDano(cid)
local pos = getThingPosWithDebug(cid)

    local function doSendBubble(cid, pos)
        if not isCreature(cid) then return true end
        doSendDistanceShoot(getThingPosWithDebug(cid), pos, 39)
        doSendMagicEffect(pos, 239)
    end
                                                              --alterado!!
    for a = 1, 20 do
        local r1 = math.random(-4, 4)
        local r2 = r1 == 0 and choose(-3, -2, -1, 2, 3) or math.random(-3, 3)
        --
        local lugar = {x = pos.x + r1, y = pos.y + r2, z = pos.z}
        addEvent(doSendBubble, a * 25, cid, lugar)
    end

    addEvent(doDanoWithProtect, 150, cid, ROCKDAMAGE, pos, waterarea, -min, -max, 0)
end

addEvent(doDano, 1250, cid)


elseif spell == "Fury Swipes" then

    doSendDistanceShoot(getThingPosWithDebug(cid), getThingPosWithDebug(target), 23)
    doDanoInTargetWithDelay(cid, target, NORMALDAMAGE, min, max, 152)  
    
    
elseif spell == "Poison Jab" then

    doSendDistanceShoot(getThingPosWithDebug(cid), getThingPosWithDebug(target), 15)
    doDanoInTargetWithDelay(cid, target, POISONDAMAGE, min, max, 153) 

                       
elseif spell == "Cross Poison" then

doMoveInArea2(cid, 153, cross, POISONDAMAGE, -min, -max, spell)


elseif spell == "Hydro Dance" then

       local eff = {155, 154, 53, 155, 53}
       local area = {psy1, psy2, psy3, psy4, psy5}

       setPlayerStorageValue(cid, 3644587, 1)
       addEvent(setPlayerStorageValue, 4*400, cid, 3644587, -1)
       for i = 0, 4 do
           addEvent(doMoveInArea2, i*400, cid, eff[i+1], area[i+1], WATERDAMAGE, min, max, spell)
       end
       
elseif spell == "Waterfall" then

local function sendStickEff(cid, dir)
    if not isCreature(cid) then return true end
       doAreaCombatHealth(cid, WATERDAMAGE, getPosByDir(getThingPosWithDebug(cid), dir), 0, -min, -max, 155)
    end

    local function doStick(cid)
    if not isCreature(cid) then return true end
    local t = {
          [1] = SOUTHWEST,
          [2] = SOUTH,
          [3] = SOUTHEAST,
          [4] = EAST,
          [5] = NORTHEAST,
          [6] = NORTH,
          [7] = NORTHWEST,
          [8] = WEST,
          [9] = SOUTHWEST,
        }
        for a = 1, 9 do
            addEvent(sendStickEff, a * 200, cid, t[a])
        end
    end
    
    stopNow(cid, 1800) 
    doStick(cid, false, cid)
    
elseif spell == "Gyro Ball" then

local ret = {}
ret.id = 0
ret.cd = 9
ret.check = 0
ret.eff = 0
ret.spell = spell
ret.cond = "Stun"

stopNow(cid, 2000)
doMoveInArea2(cid, 156, reto5, STEELDAMAGE, min, max, spell, ret) 

elseif spell == "Rock Tomb" then

local ret = {}
ret.id = target
ret.cd = 9
ret.eff = 0
ret.check = getPlayerStorageValue(target, conds["Slow"])
ret.first = true
ret.cond = "Slow"

        local function doRockFall(cid, frompos, target)
            if not isCreature(target) or not isCreature(cid) then return true end
            local pos = getThingPosWithDebug(target)
            local ry = math.abs(frompos.y - pos.y)
            doSendDistanceShoot(frompos, pos, 39)
            addEvent(doMoveDano2, ry * 11, cid, target, ROCKDAMAGE, min, max, ret, spell)
            addEvent(sendEffWithProtect, ry*11, cid, pos, 157)
        end

        local function doRockUp(cid, target)
            if not isCreature(target) or not isCreature(cid) then return true end
            local pos = getThingPosWithDebug(target)
            local mps = getThingPosWithDebug(cid)
            local xrg = math.floor((pos.x - mps.x) / 2)
            local topos = mps
            topos.x = topos.x + xrg
            local rd =  7
            topos.y = topos.y - rd
            doSendDistanceShoot(getThingPosWithDebug(cid), topos, 39)
            addEvent(doRockFall, rd * 49, cid, topos, target)
        end        

    addEvent(doRockUp, 155, cid, target)
    
elseif spell == "Sand Tomb" then

local ret = {}
ret.id = 0
ret.cd = 9
ret.eff = 34
ret.check = 0
ret.spell = spell
ret.cond = "Miss"

doMoveInAreaMulti(cid, 22, 158, bullet, bulletDano, GROUNDDAMAGE, min, max, ret)

elseif spell == "Rain Dance" then

local master = isSummon(cid) and getCreatureMaster(cid) or cid
------------
local ret = {}
ret.id = 0
ret.cd = 9
ret.check = 0
ret.eff = 1
ret.cond = "Silence"
---
local function doFall(cid)
for rocks = 1, 42 do --62
    addEvent(fall, rocks*35, cid, master, WATERDAMAGE, 52, 1)
end
end
---
local function doRain(cid)
if isSummon(cid) then 
   doCureBallStatus(getPlayerSlotItem(getCreatureMaster(cid), 8).uid, "all")
end                                                      --cura status
doCureStatus(cid, "all")
---
setPlayerStorageValue(cid, 253, 1)  --focus
doSendMagicEffect(getThingPosWithDebug(cid), 132)
---
doMoveInArea2(cid, 0, confusion, WATERDAMAGE, 0, 0, spell, ret)
end
---
addEvent(doFall, 200, cid)
addEvent(doRain, 1000, cid)

elseif spell == "Intense Rain" then

local master = isSummon(cid) and getCreatureMaster(cid) or cid
------------
local ret = {}
ret.id = 0
ret.cd = 9
ret.check = 0
ret.eff = 28
---
local function doFall(cid)
for rocks = 1, 42 do --62
    addEvent(fall, rocks*35, cid, master, WATERDAMAGE, 52, 68)
end
end
---
local function doRain(cid)
if isSummon(cid) then 
   doCureBallStatus(getPlayerSlotItem(getCreatureMaster(cid), 8).uid, "all")
end                                                      --cura status
doCureStatus(cid, "all")
---
setPlayerStorageValue(cid, 253, 1)  --focus
---
doMoveInArea2(cid, 0, confusion, WATERDAMAGE, 0, 0, spell, ret)
end
---
addEvent(doFall, 1200, cid)
addEvent(doRain, 1200, cid)


elseif spell == "Night Slash" then

local p = getThingPosWithDebug(cid)

local t = {
{251, {x = p.x+1, y = p.y-1, z = p.z}},
{253, {x = p.x+2, y = p.y+1, z = p.z}},
{252, {x = p.x+1, y = p.y+2, z = p.z}},
{254, {x = p.x-1, y = p.y+1, z = p.z}},
}

doAreaCombatHealth(cid, DARKDAMAGE, p, scyther5, -min, -max, 165)
for a = 0, 1 do
    for i = 1, 4 do
        addEvent(doSendMagicEffect, a*400, t[i][2], t[i][1])          --alterado v1.8
    end
end
addEvent(doAreaCombatHealth, 400, cid, DARKDAMAGE, p, scyther5, -min, -max, 165)

elseif spell == "Wild Charge" then

local ret = {}                 
ret.id = 0
ret.cd = 9
ret.eff = 48
ret.check = 0
ret.spell = spell
ret.cond = "Stun"

local pos = getThingPosWithDebug(cid)
local areas = {rock5, rock4, rock3, rock2, rock1, rock5, rock4, rock3, rock2, rock1, rock5, rock4, rock3, rock2, rock1}

for i = 0, 14 do
    addEvent(doMoveInArea2, i*320, cid, 48, areas[i+1], ELECTRICDAMAGE, min, max, spell, ret)
    addEvent(doMoveInArea2, i*330, cid, 48, areas[i+1], ELECTRICDAMAGE, 0, 0, spell)
end

elseif spell == "Jump Kick" then   --ver essa

doMoveInAreaMulti(cid, 42, 113, bullet, bulletDano, FIGHTINGDAMAGE, min, max)

elseif spell == "Lava Plume" then                               --alterado v1.8 \/\/\/

doMoveInArea2(cid, 5, cross, FIREDAMAGE, -min, -max, spell)
doMoveInArea2(cid, 87, cross, FIREDAMAGE, 0, 0, spell)

elseif spell == "Silver Wind" then

doSendDistanceShoot(getThingPosWithDebug(cid), getThingPosWithDebug(target), 39)
doDanoWithProtectWithDelay(cid, target, BUGDAMAGE, min, max, 78, SilverWing)

elseif spell == "Bug Buzz" then 

    local ret = {}
    ret.id = 0
    ret.cd = 9
    ret.eff = 0
    ret.check = 0
    ret.spell = spell
    ret.cond = "Stun"    

doMoveInArea2(cid, 86, db1, BUGDAMAGE, min, max, spell, ret)
addEvent(doMoveInArea2, 250, cid, 86, db1, BUGDAMAGE, 0, 0, spell)

elseif spell == "Whirlpool" then

local function setSto(cid)
if isCreature(cid) then
   setPlayerStorageValue(cid, 3644587, -1)
end
end

local function doDano(cid)
if isSleeping(cid) then return true end
      doDanoWithProtect(cid, WATERDAMAGE, getThingPosWithDebug(cid), splash, min, max, 89)
end

setPlayerStorageValue(cid, 3644587, 1)
for r = 0, 10 do  
    addEvent(doDano, 600 * r, cid)
end
addEvent(setSto, 600*10, cid)

elseif spell == "Iron Head" then

doSendDistanceShoot(getThingPosWithDebug(cid), getThingPosWithDebug(target), 39)
doDanoInTargetWithDelay(cid, target, STEELDAMAGE, -min, -max, 77) 

elseif spell == "Brick Beak" then

local ret = {}
ret.id = 0
ret.cd = 9                        
ret.eff = 88
ret.check = 0
ret.first = true
ret.cond = "Paralyze"

local a = isCreature(target) and getCreatureDirectionToTarget(cid, target) or getCreatureLookDir(cid)
local p = getThingPosWithDebug(cid)
local t = {
[0] = {90, {x=p.x+1, y=p.y-1, z=p.z}},
[1] = {90, {x=p.x+2, y=p.y+1, z=p.z}},   
[2] = {90, {x=p.x+1, y=p.y+2, z=p.z}},
[3] = {90, {x=p.x-1, y=p.y+1, z=p.z}},  
}

doMoveInArea2(cid, 0, BrickBeak, FIGHTINGDAMAGE, min, max, spell, ret)
doSendMagicEffect(t[a][2], t[a][1])


elseif spell == "Volcano Burst" then

local pos = getThingPosWithDebug(cid)

doMoveInArea2(cid, 91, inferno1, FIREDAMAGE, 0, 0, spell)
addEvent(doDanoWithProtect, math.random(100, 400), cid, FIREDAMAGE, pos, inferno2, -min, -max, 0)

elseif spell == "Hammer Arm" then

local ret = {}
ret.id = 0
ret.cd = 9                        
ret.eff = 88
ret.check = 0
ret.first = true
ret.cond = "Paralyze"

local a = isCreature(target) and getCreatureDirectionToTarget(cid, target) or getCreatureLookDir(cid)
local p = getThingPosWithDebug(cid)
local t = {
[0] = {92, {x=p.x, y=p.y-1, z=p.z}},
[1] = {94, {x=p.x+2, y=p.y, z=p.z}},   
[2] = {95, {x=p.x+1, y=p.y+2, z=p.z}},
[3] = {93, {x=p.x-1, y=p.y, z=p.z}},  
}

doMoveInArea2(cid, 0, BrickBeak, FIGHTINGDAMAGE, min, max, spell, ret)
doSendMagicEffect(t[a][2], t[a][1])


--///////////////////////   PASSIVAS /////////////////////////--

elseif spell == "Counter Helix" then
-- [nome] = {out = outfit girando, efeitos}
local OutFit = {
["Scyther"] = {out = 496, cima = 128, direita = 129, esquerda = 130, baixo = 131},  --scyther
["Scizor"] = {out = 918, cima = 236, direita = 232, esquerda = 224, baixo = 233},  --Scizor
["Shiny Scyther"] = {out = 849, cima = 128, direita = 129, esquerda = 130, baixo = 131}, --Shiny Scyther
["Hitmontop"] = {out = 1193, cima = 251, direita = 253, esquerda = 254, baixo = 252}, --Hitmontop
["Shiny Hitmontop"] = {out = 1451, cima = 251, direita = 253, esquerda = 254, baixo = 252}, --Shiny Hitmontop    
["Pineco"] = {out = 1194, cima = 251, direita = 253, esquerda = 254, baixo = 252}, --pineco
["Forretress"] = {out = 1192, cima = 251, direita = 253, esquerda = 254, baixo = 252}, --Forretress
}
      
      if getPlayerStorageValue(cid, 32623) == 1 then  --proteçao pra n usar a passiva 2x seguidas...
      return true
      end
      
      local nome1 = getSubName(cid, target)   --alterado v1.6.1
      local outfitt = OutFit[nome1]   --alterado v1.6.1        

      local function damage(cid, min, max)
      if isCreature(cid) then
         if isInArray({"Scyther", "Shiny Scyther", "Pineco"}, nome1) then   --alterado v1.6
            damage = BUGDAMAGE
         elseif isInArray({"Hitmontop", "Shiny Hitmontop"}, nome1) then               
            damage = FIGHTINGDAMAGE                --alterado v1.6.1
         else                                  
            damage = STEELDAMAGE
         end
         doAreaCombatHealth(cid, damage, getThingPosWithDebug(cid), scyther5, -min, -max, CONST_ME_NONE) --alterado v1.6.1
         ---
         doAreaCombatHealth(cid, null, getThingPos(cid), scythe1, 0, 0, outfitt.cima) --cima
         doAreaCombatHealth(cid, null, getThingPos(cid), scythe2, 0, 0, outfitt.baixo) --baixo
         doAreaCombatHealth(cid, null, getThingPos(cid), scythe3, 0, 0, outfitt.direita) --direita
         doAreaCombatHealth(cid, null, getThingPos(cid), scythe4, 0, 0, outfitt.esquerda)  --esquerda
      end
      end
      
      local function sendEff(cid)
      if isCreature(cid) then
         doAreaCombatHealth(cid, null, getThingPos(cid), scythe1, 0, 0, outfitt.cima) --cima
         doAreaCombatHealth(cid, null, getThingPos(cid), scythe2, 0, 0, outfitt.baixo) --baixo
         doAreaCombatHealth(cid, null, getThingPos(cid), scythe3, 0, 0, outfitt.direita) --direita       --alterado v1.6
         doAreaCombatHealth(cid, null, getThingPos(cid), scythe4, 0, 0, outfitt.esquerda)  --esquerda
      end
      end   

      local function doChangeO(cid)
      if not isCreature(cid) then return true end
         setPlayerStorageValue(cid, 32623, 0)      
         if isSleeping(cid) and getMonsterInfo(getCreatureName(cid)).lookCorpse ~= 0 then
            doSetCreatureOutfit(cid, {lookType = 0, lookTypeEx = getMonsterInfo(getCreatureName(cid)).lookCorpse}, -1)
         else
             doRemoveCondition(cid, CONDITION_OUTFIT)
         end
      end
      
      local delay = 200 -- não mexe
      local master = isSummon(cid) and getCreatureMaster(cid) or cid                    --alterado v1.6
      local summons = getCreatureSummons(master)                                          
      
      if (isPlayer(master) and #summons >= 2) or (ehMonstro(master) and #summons >= 1) then
         for j = 1, #summons do
             setPlayerStorageValue(summons[j], 32623, 1)      
             doSetCreatureOutfit(summons[j], {lookType = outfitt.out}, -1)

             for i = 1, 2 do                                                                     --alterado v1.6
                 addEvent(sendEff, delay*i, summons[j])
             end
             addEvent(doChangeO, 2 * 300 + 10, summons[j])
         end
         for i = 1, 2 do
             addEvent(damage, delay*i, (isPlayer(master) and summons[1] or master), min, max)
         end
      else
         setPlayerStorageValue(cid, 32623, 1)      
         doSetCreatureOutfit(cid, {lookType = outfitt.out}, -1)
   
         for i = 1, 2 do                                                                 --alterado v1.6
             addEvent(damage, delay*i, cid, min, max)
         end
         addEvent(doChangeO, 2 * 300 + 10, cid) 
      end
      
elseif spell == "Lava-Electricity" then

--["Nome"] = {effeito, damage}
local eff = {
["Magmar"] = {5, FIREDAMAGE, 1461},
["Magby"] = {5, FIREDAMAGE},                                    --alterado v1.5
["Electabuzz"] =  {207, ELECTRICDAMAGE, 1462},
["Shiny Electabuzz"] =  {207, ELECTRICDAMAGE, 1460},
["Elekid"] =  {207, ELECTRICDAMAGE},
}
   
      if getPlayerStorageValue(cid, 32623) == 1 then  --proteçao pra n usar a passiva 2x seguidas...
      return true
      end
      
      local tabela = eff[getSubName(cid, target)]   --alterado v1.6.1
      
      local canDoStun = false
      if math.random(1, 100) <= 30 then   --alterado v1.6
         canDoStun = true
      end
      
      local function sendFireEff(cid, dir, eff, damage)
            if not isCreature(cid) then return true end
            doAreaCombatHealth(cid, damage, getPosByDir(getThingPos(cid), dir), 0, -min, -max, eff)
            
            local pid = getThingFromPosWithProtect(getPosByDir(getThingPos(cid), dir))  --alterado v1.6
            
            if isCreature(pid) and not isNpc(pid) and tabela[2] == ELECTRICDAMAGE and canDoStun then
               local ret = {}
               ret.id = pid
               ret.cd = 9
               ret.eff = 48
               ret.check = getPlayerStorageValue(pid, conds["Stun"])
               ret.spell = "Electricity"          --alterado v1.6
               ret.cond = "Stun"
      
               doMoveDano2(cid, pid, ELECTRICDAMAGE, 0, 0, ret, "Electricity")
            end     
      end

      local function doSpinFire(cid)
      if not isCreature(cid) then return true end
      local t = {
          [1] = SOUTH,
          [2] = SOUTHEAST,
          [3] = EAST,
          [4] = NORTHEAST,
          [5] = NORTH,
          [6] = NORTHWEST,
          [7] = WEST,
          [8] = SOUTHWEST,
        }
        for a = 1, 8 do
            addEvent(sendFireEff, a * 140, cid, t[a], tabela[1], tabela[2])
        end
        addEvent(setPlayerStorageValue, 8*140, cid, 32623, 0)        --proteçao
       end

    local out = tabela[3]
    if out then
       doSetCreatureOutfit(cid, {lookType = out}, 8*140)
    end
    setPlayerStorageValue(cid, 32623, 1)        --proteçao
    doSpinFire(cid)
    
elseif spell == "Mega Drain" then

   local uid = checkAreaUid(getThingPos(cid), check, 1, 1)
   for _,pid in pairs(uid) do
       if isCreature(cid) and isCreature(pid) and pid ~= cid then
          if isPlayer(pid) and #getCreatureSummons(pid) >= 1 then return false end
        
          local life = getCreatureHealth(pid)

          doAreaCombatHealth(cid, GRASSDAMAGE, getThingPos(pid), 0, -min, -max, 508)

          local newlife = life - getCreatureHealth(pid)

          doSendMagicEffect(getThingPos(cid), 508)
          if newlife >= 1 then
             doCreatureAddHealth(cid, newlife)
             doSendAnimatedText(getThingPos(cid), "+"..newlife.."", 32)
          end  
       end
   end
   
elseif spell == "Melody" then

local ret = {}
ret.id = 0
ret.cd = math.random(6, ?
ret.check = 0
ret.first = true                                    --alterado v1.6
ret.cond = "Sleep"
    
doMoveInArea2(cid, 33, selfArea1, NORMALDAMAGE, 0, 0, "Melody", ret)

elseif spell == "Spores Reaction" then

local random = math.random(1, 3)

   if random == 1 then
      local ret = {}
      ret.id = 0
      ret.cd = math.random(2, 3)
      ret.check = 0                   --alterado v1.6
      ret.first = true
      ret.cond = "Sleep"
    
      doMoveInArea2(cid, 27, selfArea1, NORMALDAMAGE, 0, 0, "Spores Reaction", ret)
   elseif random == 2 then 
      local ret = {}
      ret.id = 0
      ret.cd = 6
      ret.eff = 0
      ret.check = 0
      ret.spell = spell
      ret.cond = "Stun"
    
      doMoveInArea2(cid, 85, confusion, NORMALDAMAGE, 0, 0, "Spores Reaction", ret)    
   else
      local ret = {}
      ret.id = 0
      ret.cd = math.random(6, 10)
      ret.check = 0
      local lvl = isSummon(cid) and getMasterLevel(cid) or getMasterLevel(cid)     --alterado v1.6
      ret.damage = math.floor((getMasterLevel(cid)+lvl)/2)
      ret.cond = "Poison"                              

      doMoveInArea2(cid, 84, confusion, NORMALDAMAGE, 0, 0, "Spores Reaction", ret) 
   end

elseif spell == "Stunning Confusion" then

      if getPlayerStorageValue(cid, 32623) == 1 then  --proteçao pra n usar a spell 2x seguidas...
      return true
      end
      
      local function damage(cid)
      if isCreature(cid) then
         doAreaCombatHealth(cid, PSYCHICDAMAGE, getThingPosWithDebug(cid), bombWee3, -min, -max, 136)
      end
      end
          
      setPlayerStorageValue(cid, 32623, 1)        --proteçao
      for i = 1, 7 do
          addEvent(damage, i*500, cid)
      end
      addEvent(setPlayerStorageValue, 3500, cid, 32623, 0)        --proteçao
      
elseif spell == "Amnesia" then

   if getPlayerStorageValue(cid, 253) >= 1 then return true end
   
   doCreatureSay(cid, "????", 20)              
   doSendMagicEffect(getThingPosWithDebug(cid), 132)
   setPlayerStorageValue(cid, 253, 1)
   
elseif spell == "Dragon Fury" then

   if getPlayerStorageValue(cid, 32623) == 1 then
   return true
   end

   setPlayerStorageValue(cid, 32623, 1)

   if isInArray({"Persian", "Raticate", "Shiny Raticate"}, getSubName(cid, target)) then  --alterado v1.6.1
      doRaiseStatus(cid, 1.5, 0, 0, 10)
   else                                               --alterado v1.5 
      doRaiseStatus(cid, 1.5, 1.5, 0, 10)     --ver isso
   end
            
   for t = 1, 7 do                  --alterado v1.5
       addEvent(sendMoveEffect, t*1500, cid, 12)
   end
   addEvent(setPlayerStorageValue, 10500, cid, 32623, 0) --alterado v1.8
   
elseif spell == "Electric Charge" then

   if getPlayerStorageValue(cid, 253) >= 1 then
   return true
   end
   
   setPlayerStorageValue(cid, 253, 1)
   doSendMagicEffect(getThingPosWithDebug(cid), 207)
   doSendAnimatedText(getThingPosWithDebug(cid), "FOCUS", 144)
   
elseif spell == "Groundshock" then

      doAreaCombatHealth(cid, NORMALDAMAGE, getThingPosWithDebug(cid), scyther5, -min, -max, 255)

      local sps = getThingPosWithDebug(cid)
      sps.x = sps.x+1
      sps.y = sps.y+1
      doSendMagicEffect(sps, 482)

elseif spell == "Faling Rain" then

      doAreaCombatHealth(cid, ELECTRICDAMAGE, getThingPosWithDebug(cid), scyther5, -min, -max, 255)

      local sps = getThingPosWithDebug(cid)
      sps.x = sps.x+2
      doSendMagicEffect(sps, 385)
      
elseif spell == "Mirror Coat" then

   if getPlayerStorageValue(cid, 21099) <= 0 then
      setPlayerStorageValue(cid, 21099, 1)
      doSetCreatureOutfit(cid, {lookType = 1447}, -1)
   end
   
elseif spell == "Zen Mind" then

   function doCure(cid)
   if not isCreature(cid) then return true end
   if isSummon(cid) then 
      doCureBallStatus(getPlayerSlotItem(getCreatureMaster(cid), 8).uid, "all")
   end
   doCureStatus(cid, "all")
   end
   
   addEvent(doCure, 1000, cid)
   doSetCreatureOutfit(cid, {lookType = 1001}, 2000)
   
elseif spell == "Demon Kicker" then

--[outfit] = outfit chutando,
local hitmonlees = {
["Hitmonlee"] =  652,      --hitmonlee
["Shiny Hitmonlee"] = 878,  --shiny hitmonlee
}
   
   local nome = getCreatureName(cid)  
                                                --alterado v1.6                                        --alterado v1.7
if (not hitmonlees[nome] and isCreature(target)) or (isCreature(target) and math.random(1, 100) <= passivesChances["Demon Kicker"][nome]) then
                                                         
      if getDistanceBetween(getThingPos(cid), getThingPos(target)) > 1 then
      return true
      end
      if getPlayerStorageValue(cid, 32623) == 1 then  --proteçao pra n usar a passiva 2x seguidas...
      return true
      end
      
      if not isSummon(cid) then       --alterado v1.7
         doCreatureSay(cid, string.upper(spell).."!", TALKTYPE_MONSTER)
      end
      
      local function doChangeHitmon(cid)
      if not isCreature(cid) then return true end
         setPlayerStorageValue(cid, 32623, 0)         --proteçao
         if isSleeping(cid) and getMonsterInfo(getCreatureName(cid)).lookCorpse ~= 0 then
            doSetCreatureOutfit(cid, {lookType = 0, lookTypeEx = getMonsterInfo(getCreatureName(cid)).lookCorpse}, -1)
         else
            doRemoveCondition(cid, CONDITION_OUTFIT)
         end
      end            
       
         setPlayerStorageValue(cid, 32623, 1)       --proteçao
         
         local look = hitmonlees[nome] or getPlayerStorageValue(cid, 21104)  --alterado v1.6
   
         doCreatureSetLookDir(cid, getCreatureDirectionToTarget(cid, target))
         doSetCreatureOutfit(cid, {lookType = look}, -1)   --alterado v1.6
         doTargetCombatHealth(cid, target, FIGHTINGDAMAGE, -min, -max, 255)
         
         addEvent(doChangeHitmon, 700, cid)    
end

-- Moves Att --

elseif spell == "Fire Fury Bird" then


local pos = getThingPosWithDebug(cid)
local areas = {walox1, walox2, walox3, walox4, walox5, walox6, walox7, walox8, walox9}
local ret = {}
ret.id = 0
ret.cd = 9
ret.eff = 5
ret.check = 0
ret.spell = spell

for i = 0, 8 do
doSetCreatureOutfit(cid, {lookType = 3073}, 10000)

    addEvent(doMoveInArea2, i*400, cid, 5, areas[i+1], FIREDAMAGE, min, max, spell, ret)
end

elseif spell == "Demon Puncher" then

   local name = getCreatureName(cid)
                                                                                                             --alterado v1.7
if (not hitmonchans[name] and isCreature(target)) or (isCreature(target) and math.random(1, 100) <= passivesChances["Demon Puncher"][name]) then 
                                                        
       if getDistanceBetween(getThingPosWithDebug(cid), getThingPosWithDebug(target)) > 1 then
       return true
       end
       
       if not isSummon(cid) then       --alterado v1.7
         doCreatureSay(cid, string.upper(spell).."!", TALKTYPE_MONSTER)
       end                                 
         
         if ehMonstro(cid) or not hitmonchans[name] then
            hands = 0
         else
            hands = getItemAttribute(getPlayerSlotItem(getCreatureMaster(cid), 8).uid, "hands")
         end
         
         if not hitmonchans[name] then
            tabela = hitmonchans[getCreatureName(target)][hands]
         else
            tabela = hitmonchans[name][hands]
         end
          
         doSendDistanceShoot(getThingPosWithDebug(cid), getThingPosWithDebug(target), 39)
         doTargetCombatHealth(cid, target, tabela.type, -min, -max, 255)
         
         local alvo = getThingPosWithDebug(target)
         alvo.x = alvo.x + 1                           ---alterado v1.7
         
         if hands == 4 then
            doSendMagicEffect(alvo, tabela.eff)
         else
            doSendMagicEffect(getThingPosWithDebug(target), tabela.eff)
         end
         
         if hands == 3 then
            local ret = {}
            ret.id = target
            ret.cd = 9                     --alterado v1.6
            ret.eff = 43
            ret.check = getPlayerStorageValue(target, conds["Slow"])
            ret.first = true
            ret.cond = "Slow"
         
            doMoveDano2(cid, target, FIGHTINGDAMAGE, 0, 0, ret, spell)
         end  
end


end
return true 
end

 

 

 

 

Você tem o código disponível? Se tiver publique-o aqui: 

 

 

Você tem alguma imagem que possa auxiliar no problema? Se sim, coloque-a aqui. 

 

Editado por Demon123 (veja o histórico de edições)
Link para o post
Compartilhar em outros sites

Verifica se no seu configuration.lua possui esse linha: attackRate, nela você configura all attack dos pokémons, caso queria retirar isso é só apagar a mesma e ir editando um por um.

Link para o post
Compartilhar em outros sites
1 hora atrás, Nysman disse:

Verifica se no seu configuration.lua possui esse linha: attackRate, nela você configura all attack dos pokémons, caso queria retirar isso é só apagar a mesma e ir editando um por um.

 Entao o problema e msm no pokemon moves, eu descobri pq passei pasta por pasta para outro servidor meu, e quando passo exatamente a pasta pokemon moves o dano das spell buga e todos tem um dano base e alguma funçao ou script dentro dessa pasta que esta ocasionando isso. mais fui checar o meu config.lua para ver se tinha essa funçao que vc citou, nao achei nada parecido. ela esta assim:

 

 

Spoiler

movestable = {    
["Bulbasaur"] = {
    move1 = {name = "Tackle", level = 1, cd = 10, dist = 1, target = 1, f = 1, t = "normal"},
    move2 = {name = "Razor Leaf", level = 1, cd = 10, dist = 10, target = 1, f = 1, t = "grass"},
    move3 = {name = "Vine Whip", level = 1, cd = 20, dist = 1, target = 0, f = 1, t = "grass"},
    move4 = {name = "Headbutt", level = 1, cd = 15, dist = 1, target = 1, f = 1, t = "normal"},
    move5 = {name = "Leech Seed", level = 22, cd = 60, dist = 10, target = 1, f = 1, t = "grass"},
    move6 = {name = "Solar Beam", level = 30, cd = 60, dist = 1, target = 0, f = 1, t = "grass"},
    move7 = {name = "Sleep Powder", level = 28, cd = 80, dist = 1, target = 0, f = 0, t = "normal"},
    move8 = {name = "Stun Spore", level = 26, cd = 45, dist = 1, target = 0, f = 0, t = "normal"},
    move9 = {name = "Poison Powder", level = 24, cd = 45, dist = 1, target = 0, f = 0, t = "normal"},
},
["Ivysaur"] =   {
    move1 = {name = "Tackle", level = 40, cd = 20, dist = 1, target = 1, f = 1, t = "normal"},
    move2 = {name = "Razor Leaf", level = 40, cd = 10, dist = 10, target = 1, f = 1, t = "grass"},
    move3 = {name = "Vine Whip", level = 40, cd = 20, dist = 1, target = 0, f = 1, t = "grass"},
    move4 = {name = "Headbutt", level = 40, cd = 15, dist = 1, target = 1, f = 1, t = "normal"},
    move5 = {name = "Leech Seed", level = 40, cd = 60, dist = 10, target = 1, f = 1, t = "grass"},
    move6 = {name = "Bullet Seed", level = 45, cd = 35, dist = 1, target = 0, f = 1, t = "grass"},
    move7 = {name = "Solar Beam", level = 50, cd = 60, dist = 1, target = 0, f = 1, t = "grass"},
    move8 = {name = "Sleep Powder", level = 44, cd = 80, dist = 1, target = 0, f = 0, t = "normal"},
    move9 = {name = "Stun Spore", level = 40, cd = 45, dist = 1, target = 0, f = 0, t = "normal"},
    move10 = {name = "Poison Powder", level = 40, cd = 45, dist = 1, target = 0, f = 0, t = "normal"},
},
["Venusaur"] =  {
    move1 = {name = "Tackle", level = 80, cd = 10, dist = 1, target = 1, f = 1, t = "normal"},
    move2 = {name = "Razor Leaf", level = 80, cd = 9, dist = 10, target = 1, f = 1, t = "grass"},
    move3 = {name = "Vine Whip", level = 80, cd = 20, dist = 1, target = 0, f = 1, t = "grass"}, --65
    move4 = {name = "Headbutt", level = 80, cd = 15, dist = 1, target = 1, f = 1, t = "normal"},
    move5 = {name = "Leech Seed", level = 80, cd = 35, dist = 10, target = 1, f = 1, t = "grass"},
    move6 = {name = "Bullet Seed", level = 80, cd = 35, dist = 1, target = 0, f = 1, t = "grass"},
    move7 = {name = "Solar Beam", level = 80, cd = 60, dist = 1, target = 0, f = 1, t = "grass"},
    move8 = {name = "Giga Drain", level = 85, cd = 25, dist = 1, target = 1, f = 1, t = "grass"},
    move9 = {name = "Sleep Powder", level = 80, cd = 80, dist = 1, target = 0, f = 0, t = "normal"},
    move10 = {name = "Poison Powder", level = 80, cd = 45, dist = 1, target = 0, f = 0, t = "normal"},
    move11 = {name = "Leaf Storm", level = 90, cd = 90, dist = 1, target = 0, f = 1, t = "grass"},
},
["Shiny Venusaur"] =  {
    move1 = {name = "Tackle", level = 80, cd = 10, dist = 1, target = 1, f = 1, t = "normal"},
    move2 = {name = "Razor Leaf", level = 80, cd = 9, dist = 10, target = 1, f = 1, t = "grass"},
    move3 = {name = "Vine Whip", level = 80, cd = 20, dist = 1, target = 0, f = 1, t = "grass"}, --65
    move4 = {name = "Headbutt", level = 80, cd = 15, dist = 1, target = 1, f = 1, t = "normal"},
    move5 = {name = "Leech Seed", level = 80, cd = 35, dist = 10, target = 1, f = 1, t = "grass"},
    move6 = {name = "Bullet Seed", level = 80, cd = 35, dist = 1, target = 0, f = 1, t = "grass"},
    move7 = {name = "Solar Beam", level = 80, cd = 60, dist = 1, target = 0, f = 1, t = "grass"},
    move8 = {name = "Giga Drain", level = 85, cd = 25, dist = 1, target = 1, f = 1, t = "grass"},
    move9 = {name = "Sleep Powder", level = 80, cd = 80, dist = 1, target = 0, f = 0, t = "normal"},
    move10 = {name = "Poison Powder", level = 80, cd = 45, dist = 1, target = 0, f = 0, t = "normal"},
    move11 = {name = "Leaf Storm", level = 90, cd = 90, dist = 1, target = 0, f = 1, t = "grass"},
},
["Charmander"] = {
    move1 = {name = "Scratch", level = 1, cd = 15, dist = 1, target = 1, f = 1, t = "normal"},
    move2 = {name = "Ember", level = 1, cd = 10, dist = 10, target = 1, f = 1, t = "fire"},
    move3 = {name = "Flamethrower", level = 1, cd = 20, dist = 1, target = 0, f = 1, t = "fire"},
    move4 = {name = "Fireball", level = 1, cd = 25, dist = 10, target = 1, f = 1, t = "fire"},
    move5 = {name = "Fire Fang", level = 22, cd = 20, dist = 1, target = 1, f = 1, t = "fire"},
    move6 = {name = "Fire Blast", level = 30, cd = 60, dist = 1, target = 0, f = 1, t = "fire"},
    move7 = {name = "Rage", level = 30, cd = 80, dist = 1, target = 0, f = 0, t = "dragon"},
},
["Charmeleon"] = {
    move1 = {name = "Scratch", level = 40, cd = 15, dist = 1, target = 1, f = 1, t = "normal"},
    move2 = {name = "Ember", level = 40, cd = 10, dist = 10, target = 1, f = 1, t = "fire"},
    move3 = {name = "Flamethrower", level = 40, cd = 20, dist = 1, target = 0, f = 1, t = "fire"},
    move4 = {name = "Fireball", level = 40, cd = 25, dist = 10, target = 1, f = 1, t = "fire"},
    move5 = {name = "Fire Fang", level = 40, cd = 20, dist = 1, target = 1, f = 1, t = "fire"},
    move6 = {name = "Raging Blast", level = 45, cd = 30, dist = 1, target = 0, f = 1, t = "fire"},
    move7 = {name = "Fire Blast", level = 50, cd = 60, dist = 1, target = 0, f = 1, t = "fire"},
    move8 = {name = "Rage", level = 40, cd = 80, dist = 1, target = 0, f = 0, t = "dragon"},
},
["Charizard"] =  {
    move1 = {name = "Ember", level = 80, cd = 10, dist = 10, target = 1, f = 5, t = "fire"},
    move2 = {name = "Flamethrower", level = 80, cd = 20, dist = 1, target = 0, f = 15, t = "fire"},
    move3 = {name = "Fireball", level = 80, cd = 25, dist = 10, target = 1, f = 20, t = "fire"},
    move4 = {name = "Fire Fang", level = 80, cd = 20, dist = 1, target = 1, f = 25, t = "fire"},
    move5 = {name = "Raging Blast", level = 80, cd = 35, dist = 1, target = 0, f = 35, t = "fire"},
    move6 = {name = "Fire Blast", level = 80, cd = 60, dist = 1, target = 0, f = 50, t = "fire"},
    move7 = {name = "Air Slash", level = 83, cd = 40, dist = 1, target = 0, f = 75, t = "flying"},
    move8 = {name = "Wing Attack", level = 85, cd = 35, dist = 1, target = 0, f = 20, t = "flying"},
    move9 = {name = "Magma Storm", level = 90, cd = 90, dist = 1, target = 0, f = 150, t = "fire"},
    move10 = {name = "Scary Face", level = 82, cd = 50, dist = 1, target = 0, f = 150, t = "ghost"},
    move11 = {name = "rage", level = 100, cd = 32, dist = 1, target = 0, f = 0, t = "normal"},
},
["Shiny Charizard"] =  {
    move1 = {name = "Ember", level = 80, cd = 10, dist = 10, target = 1, f = 5, t = "fire"},
    move2 = {name = "Flamethrower", level = 80, cd = 20, dist = 1, target = 0, f = 15, t = "fire"},
    move3 = {name = "Fireball", level = 80, cd = 25, dist = 10, target = 1, f = 20, t = "fire"},
    move4 = {name = "Fire Fang", level = 80, cd = 20, dist = 1, target = 1, f = 25, t = "fire"},
    move5 = {name = "Raging Blast", level = 80, cd = 35, dist = 1, target = 0, f = 35, t = "fire"},
    move6 = {name = "Fire Blast", level = 80, cd = 60, dist = 1, target = 0, f = 50, t = "fire"},
    move7 = {name = "Air Slash", level = 83, cd = 40, dist = 1, target = 0, f = 75, t = "flying"},
    move8 = {name = "Wing Attack", level = 85, cd = 35, dist = 1, target = 0, f = 20, t = "flying"},
    move9 = {name = "Magma Storm", level = 90, cd = 90, dist = 1, target = 0, f = 80, t = "fire"},
    move10 = {name = "Scary Face", level = 82, cd = 50, dist = 1, target = 0, f = 0, t = "ghost"},
    move11 = {name = "rage", level = 100, cd = 32, dist = 1, target = 0, f = 0, t = "normal"},
},
["Squirtle"] =   {
    move1 = {name = "Headbutt", level = 1, cd = 15, dist = 1, target = 1, f = 1, t = "normal"},
    move2 = {name = "Bubbles", level = 1, cd = 10, dist = 10, target = 1, f = 1, t = "water"},
    move3 = {name = "Water Gun", level = 1, cd = 20, dist = 1, target = 0, f = 1, t = "water"},
    move4 = {name = "Waterball", level = 1, cd = 25, dist = 10, target = 1, f = 1, t = "water"},
    move5 = {name = "Aqua Tail", level = 22, cd = 20, dist = 1, target = 1, f = 1, t = "water"},
    move6 = {name = "Hydro Cannon", level = 30, cd = 60, dist = 1, target = 0, f = 1, t = "water"},
    move7 = {name = "Harden", level = 28, cd = 50, dist = 1, target = 0, f = 0, t = "normal"},
},
["Wartortle"] =  {
    move1 = {name = "Headbutt", level = 40, cd = 15, dist = 1, target = 1, f = 1, t = "normal"},
    move2 = {name = "Bubbles", level = 40, cd = 10, dist = 10, target = 1, f = 1, t = "water"},
    move3 = {name = "Water Gun", level = 40, cd = 20, dist = 1, target = 0, f = 1, t = "water"},
    move4 = {name = "Waterball", level = 40, cd = 25, dist = 10, target = 1, f = 1, t = "water"},
    move5 = {name = "Aqua Tail", level = 40, cd = 20, dist = 1, target = 1, f = 1, t = "water"},
    move6 = {name = "Bubble Blast", level = 45, cd = 40, dist = 1, target = 0, f = 1, t = "water"},
    move7 = {name = "Hydro Cannon", level = 50, cd = 60, dist = 1, target = 0, f = 1, t = "water"},
    move8 = {name = "Harden", level = 40, cd = 50, dist = 1, target = 0, f = 0, t = "normal"},
},
["Blastoise"] =  {
    move1 = {name = "Headbutt", level = 80, cd = 15, dist = 1, target = 1, f = 5, t = "normal"},
    move2 = {name = "Bubbles", level = 80, cd = 10, dist = 10, target = 1, f = 20, t = "water"},
    move3 = {name = "Water Gun", level = 80, cd = 20, dist = 1, target = 0, f = 30, t = "water"},
    move4 = {name = "Waterball", level = 80, cd = 25, dist = 10, target = 1, f = 40, t = "water"},
    move5 = {name = "Water Pulse", level = 80, cd = 25, dist = 1, target = 0, f = 50, t = "water"},
    move6 = {name = "Bubble Blast", level = 80, cd = 40, dist = 1, target = 0, f = 60, t = "water"},
    move7 = {name = "Hydro Cannon", level = 80, cd = 60, dist = 1, target = 0, f = 70, t = "water"},
    move8 = {name = "Skull Bash", level = 85, cd = 45, dist = 1, target = 0, f = 80, t = "normal"},
    move9 = {name = "Hydropump", level = 90, cd = 90, dist = 1, target = 0, f = 100, t = "water"},
 -- move10 = {name = "Water Expansion", level = 90, cd = 90, dist = 1, target = 0, f = 125, t = "water"},
    move10 = {name = "Harden", level = 80, cd = 50, dist = 1, target = 0, f = 0, t = "normal"},          
},
["Shiny Blastoise"] =  {
    move1 = {name = "Headbutt", level = 80, cd = 15, dist = 1, target = 1, f = 5, t = "normal"},
    move2 = {name = "Bubbles", level = 80, cd = 10, dist = 10, target = 1, f = 20, t = "water"},
    move3 = {name = "Water Gun", level = 80, cd = 20, dist = 1, target = 0, f = 30, t = "water"},
    move4 = {name = "Waterball", level = 80, cd = 25, dist = 10, target = 1, f = 40, t = "water"},
    move5 = {name = "Water Pulse", level = 80, cd = 25, dist = 1, target = 0, f = 50, t = "water"},
    move6 = {name = "Bubble Blast", level = 80, cd = 40, dist = 1, target = 0, f = 60, t = "water"},
    move7 = {name = "Hydro Cannon", level = 80, cd = 60, dist = 1, target = 0, f = 70, t = "water"},
    move8 = {name = "Skull Bash", level = 85, cd = 45, dist = 1, target = 0, f = 80, t = "normal"},
    move9 = {name = "Hydropump", level = 90, cd = 90, dist = 1, target = 0, f = 100, t = "water"},
 -- move10 = {name = "Water Expansion", level = 90, cd = 90, dist = 1, target = 0, f = 125, t = "water"},
    move10 = {name = "Ancient Fury", level = 80, cd = 50, dist = 1, target = 0, f = 0, t = "normal"},          
},
["Caterpie"] =   {
    move1 = {name = "Headbutt", level = 1, cd = 10, dist = 1, target = 1, f = 1, t = "normal"},
    move2 = {name = "String Shot", level = 1, cd = 10, dist = 10, target = 1, f = 0, t = "bug"},
    move3 = {name = "Bug Bite", level = 1, cd = 5, dist = 1, target = 1, f = 1, t = "bug"},
},
["Metapod"] =    {
    move1 = {name = "String Shot", level = 10, cd = 10, dist = 10, target = 1, f = 0, t = "bug"},
    move2 = {name = "Headbutt", level = 10, cd = 10, dist = 1, target = 1, f = 1, t = "normal"},
    move3 = {name = "Harden", level = 10, cd = 15, dist = 1, target = 0, f = 0, t = "normal"},
    move4 = {name = "Bug Bite", level = 10, cd = 10, dist = 1, target = 1, f = 1, t = "bug"},
},                                                                                                     
["Butterfree"] = {
    move1 = {name = "Super Sonic", level = 30, cd = 15, dist = 10, target = 1, f = 0, t = "normal"},
    move2 = {name = "Silver Wind", level = 30, cd = 25, dist = 10, target = 1, f = 1, t = "bug"}, 
    move3 = {name = "Whirlwind", level = 32, cd = 25, dist = 1, target = 0, f = 1, t = "flying"},
    move4 = {name = "Confusion", level = 34, cd = 30, dist = 1, target = 0, f = 1, t = "psychic"},
    move5 = {name = "Psybeam", level = 36, cd = 15, dist = 1, target = 0, f = 1, t = "psychic"},
    move6 = {name = "Air Cutter", level = 38, cd = 40, dist = 1, target = 0, f = 1, t = "flying"},
    move7 = {name = "Sleep Powder", level = 30, cd = 60, dist = 1, target = 0, f = 0, t = "normal"},
    move8 = {name = "Safeguard", level = 40, cd = 40, dist = 1, target = 0, f = 0, t = "normal"},
    move9 = {name = "Poison Powder", level = 30, cd = 20, dist = 1, target = 0, f = 0, t = "normal"},
},
["Shiny Butterfree"] = {
    move1 = {name = "Super Sonic", level = 30, cd = 15, dist = 10, target = 1, f = 0, t = "normal"},
    move2 = {name = "Silver Wind", level = 30, cd = 25, dist = 10, target = 1, f = 1, t = "bug"}, 
    move3 = {name = "Whirlwind", level = 32, cd = 25, dist = 1, target = 0, f = 1, t = "flying"},
    move4 = {name = "Confusion", level = 34, cd = 30, dist = 1, target = 0, f = 1, t = "psychic"},
    move5 = {name = "Psybeam", level = 36, cd = 15, dist = 1, target = 0, f = 1, t = "psychic"},
    move6 = {name = "Air Cutter", level = 38, cd = 40, dist = 1, target = 0, f = 1, t = "flying"},
    move7 = {name = "Sleep Powder", level = 30, cd = 60, dist = 1, target = 0, f = 0, t = "normal"},
    move8 = {name = "Safeguard", level = 40, cd = 40, dist = 1, target = 0, f = 0, t = "normal"},
    move9 = {name = "Poison Powder", level = 30, cd = 20, dist = 1, target = 0, f = 0, t = "normal"},
},
["Weedle"] =     {
    move1 = {name = "Horn Attack", level = 1, cd = 10, dist = 2, target = 1, f = 1, t = "normal"},
    move2 = {name = "String Shot", level = 1, cd = 10, dist = 10, target = 1, f = 0, t = "normal"},
    move3 = {name = "Poison Sting", level = 1, cd = 5, dist = 2, target = 1, f = 1, t = "poison"},
},
["Kakuna"] =     {
    move1 = {name = "String Shot", level = 10, cd = 10, dist = 10, target = 1, f = 0, t = "normal"},
    move2 = {name = "Headbutt", level = 10, cd = 8, dist = 10, target = 1, f = 1, t = "normal"},
    move3 = {name = "Harden", level = 10, cd = 25, dist = 15, target = 0, f = 0, t = "normal"},
    move4 = {name = "Bug Bite", level = 10, cd = 9, dist = 10, target = 1, f = 1, t = "bug"},
},
["Beedrill"] =   {
    move1 = {name = "String Shot", level = 30, cd = 10, dist = 10, target = 1, f = 0, t = "normal"},
    move2 = {name = "Poison Jab", level = 30, cd = 16, dist = 10, target = 1, f = 1, t = "poison"},
    move3 = {name = "Poison Sting", level = 30, cd = 10, dist = 2, target = 1, f = 1, t = "poison"},
    move4 = {name = "Fury Cutter", level = 35, cd = 15, dist = 1, target = 0, f = 1, t = "bug"},
    move5 = {name = "Pin Missile", level = 35, cd = 20, dist = 1, target = 0, f = 1, t = "bug"},
    move6 = {name = "Toxic Spikes", level = 32, cd = 25, dist = 10, target = 1, f = 1, t = "poison"},
    move7 = {name = "Rage", level = 21, cd = 30, dist = 1, target = 0, f = 0, t = "dragon"},
    move8 = {name = "Strafe", level = 21, cd = 38, dist = 1, target = 0, f = 0, t = "normal"},
},
["Shiny Beedrill"] =   {
    move1 = {name = "String Shot", level = 30, cd = 10, dist = 10, target = 1, f = 0, t = "normal"},
    move2 = {name = "Poison Jab", level = 30, cd = 16, dist = 10, target = 1, f = 1, t = "poison"},
    move3 = {name = "Poison Sting", level = 30, cd = 10, dist = 2, target = 1, f = 1, t = "poison"},
    move4 = {name = "Fury Cutter", level = 35, cd = 15, dist = 1, target = 0, f = 1, t = "bug"},
    move5 = {name = "Pin Missile", level = 35, cd = 20, dist = 1, target = 0, f = 1, t = "bug"},
    move6 = {name = "Toxic Spikes", level = 32, cd = 25, dist = 10, target = 1, f = 1, t = "poison"},
    move7 = {name = "Rage", level = 21, cd = 30, dist = 1, target = 0, f = 0, t = "dragon"},
    move8 = {name = "Strafe", level = 21, cd = 38, dist = 1, target = 0, f = 0, t = "normal"},
},
["Pidgey"] =     {
    move1 = {name = "Quick Attack", level = 1, cd = 10, dist = 2, target = 1, f = 1, t = "normal"},
    move2 = {name = "Sand Attack", level = 1, cd = 10, dist = 1, target = 0, f = 0, t = "ground"},
    move3 = {name = "Gust", level = 3, cd = 15, dist = 1, target = 0, f = 1, t = "flying"},
    move4 = {name = "Drill Peck", level = 8, cd = 20, dist = 1, target = 1, f = 1, t = "flying"},
},
["Pidgeotto"] =  {
    move1 = {name = "Quick Attack", level = 20, cd = 10, dist = 2, target = 1, f = 1, t = "normal"},
    move2 = {name = "Sand Attack", level = 20, cd = 15, dist = 1, target = 0, f = 0, t = "ground"},
    move3 = {name = "Whirlwind", level = 20, cd = 22, dist = 1, target = 0, f = 1, t = "flying"},
    move4 = {name = "Drill Peck", level = 20, cd = 20, dist = 1, target = 1, f = 1, t = "flying"},
    move5 = {name = "Wing Attack", level = 25, cd = 30, dist = 1, target = 0, f = 1, t = "flying"},
    move6 = {name = "Tornado", level = 30, cd = 100, dist = 1, target = 0, f = 1, t = "flying"},
},
["Pidgeot"] = {
    move1 = {name = "Quick Attack", level = 80, cd = 10, dist = 2, target = 1, f = 1, t = "normal"},
    move2 = {name = "Sand Attack", level = 80, cd = 15, dist = 1, target = 0, f = 0, t = "ground"},
    move3 = {name = "Whirlwind", level = 80, cd = 22, dist = 1, target = 0, f = 1, t = "flying"},
    move4 = {name = "Drill Peck", level = 80, cd = 20, dist = 1, target = 1, f = 1, t = "flying"},
    move5 = {name = "Wing Attack", level = 82, cd = 30, dist = 1, target = 0, f = 1, t = "flying"},
    move6 = {name = "Hurricane", level = 90, cd = 60, dist = 1, target = 0, f = 1, t = "flying"},
    move7 = {name = "Tornado", level = 84, cd = 100, dist = 1, target = 0, f = 1, t = "flying"},
    move8 = {name = "Agility", level = 80, cd = 25, dist = 1, target = 0, f = 0, t = "flying"},
    move9 = {name = "Roost", level = 85, cd = 70, dist = 1, target = 0, f = 0, t = "flying"},
},
["Shiny Pidgeot"] = {
    move1 = {name = "Quick Attack", level = 80, cd = 10, dist = 2, target = 1, f = 1, t = "normal"},
    move2 = {name = "Sand Attack", level = 80, cd = 15, dist = 1, target = 0, f = 0, t = "ground"},
    move3 = {name = "Whirlwind", level = 80, cd = 22, dist = 1, target = 0, f = 1, t = "flying"},
    move4 = {name = "Drill Peck", level = 80, cd = 20, dist = 1, target = 1, f = 1, t = "flying"},
    move5 = {name = "Wing Attack", level = 82, cd = 30, dist = 1, target = 0, f = 1, t = "flying"},
    move6 = {name = "Hurricane", level = 90, cd = 60, dist = 1, target = 0, f = 1, t = "flying"},
    move7 = {name = "Tornado", level = 84, cd = 100, dist = 1, target = 0, f = 1, t = "flying"},
    move8 = {name = "Fury Bird", level = 100, cd = 60, dist = 1, target = 1, f = 1, t = "fire"},
    move9 = {name = "Agility", level = 80, cd = 25, dist = 1, target = 0, f = 0, t = "flying"},
    move10 = {name = "Roost", level = 85, cd = 70, dist = 1, target = 0, f = 0, t = "flying"},
},
["Rattata"] =  {
    move1 = {name = "Quick Attack", level = 1, cd = 10, dist = 2, target = 1, f = 1, t = "normal"},
    move2 = {name = "Bite", level = 1, cd = 15, dist = 1, target = 1, f = 1, t = "dark"},
    move3 = {name = "Scratch", level = 1, cd = 15, dist = 1, target = 1, f = 1, t = "normal"},
    move4 = {name = "Super Fang", level = 12, cd = 25, dist = 1, target = 1, f = 1, t = "normal"},
},
["Shiny Rattata"] =  {
    move1 = {name = "Quick Attack", level = 1, cd = 10, dist = 2, target = 1, f = 1, t = "normal"},
    move2 = {name = "Bite", level = 1, cd = 15, dist = 1, target = 1, f = 1, t = "dark"},
    move3 = {name = "Scratch", level = 1, cd = 15, dist = 1, target = 1, f = 1, t = "normal"},
    move4 = {name = "Super Fang", level = 12, cd = 25, dist = 1, target = 1, f = 1, t = "normal"},
},
["Raticate"] =   {
    move1 = {name = "Quick Attack", level = 30, cd = 10, dist = 2, target = 1, f = 1, t = "normal"},
    move2 = {name = "Bite", level = 30, cd = 10, dist = 1, target = 1, f = 1, t = "dark"},
    move3 = {name = "Scratch", level = 30, cd = 13, dist = 1, target = 1, f = 1, t = "normal"},
    move4 = {name = "Pursuit", level = 30, cd = 20, dist = 10, target = 1, f = 1, t = "dark"},
    move5 = {name = "Super Fang", level = 30, cd = 25, dist = 1, target = 1, f = 1, t = "normal"},
    move6 = {name = "Scary Face", level = 32, cd = 45, dist = 1, target = 0, f = 0, t = "ghost"},
},
["Shiny Raticate"] =   {
    move1 = {name = "Quick Attack", level = 30, cd = 10, dist = 2, target = 1, f = 1, t = "normal"},
    move2 = {name = "Bite", level = 30, cd = 10, dist = 1, target = 1, f = 1, t = "dark"},
    move3 = {name = "Scratch", level = 30, cd = 13, dist = 1, target = 1, f = 1, t = "normal"},
    move4 = {name = "Pursuit", level = 30, cd = 20, dist = 10, target = 1, f = 1, t = "dark"},
    move5 = {name = "Super Fang", level = 30, cd = 25, dist = 1, target = 1, f = 1, t = "normal"},
    move6 = {name = "Scary Face", level = 32, cd = 45, dist = 1, target = 0, f = 0, t = "ghost"},
},
["Spearow"] =    {
    move1 = {name = "Quick Attack", level = 10, cd = 10, dist = 2, target = 1, f = 1, t = "normal"},
    move2 = {name = "Sand Attack", level = 10, cd = 10, dist = 1, target = 0, f = 0, t = "ground"},
    move3 = {name = "Gust", level = 10, cd = 12, dist = 1, target = 0, f = 1, t = "flying"},
    move4 = {name = "Drill Peck", level = 10, cd = 16, dist = 1, target = 1, f = 1, t = "flying"},
    move5 = {name = "Agility", level = 10, cd = 25, dist = 1, target = 0, f = 0, t = "flying"},
},
["Fearow"] =  {
    move1 = {name = "Peck", level = 50, cd = 10, dist = 1, target = 1, f = 1, t = "flying"},
    move2 = {name = "Sand Attack", level = 50, cd = 15, dist = 1, target = 0, f = 0, t = "ground"},
    move3 = {name = "Drill Peck", level = 50, cd = 20, dist = 1, target = 1, f = 1, t = "flying"},
    move4 = {name = "Whirlwind", level = 50, cd = 22, dist = 1, target = 0, f = 1, t = "flying"},
    move5 = {name = "Air Cutter", level = 50, cd = 30, dist = 1, target = 0, f = 1, t = "flying"},
    move6 = {name = "Wing Attack", level = 52, cd = 30, dist = 1, target = 0, f = 1, t = "flying"},
    move7 = {name = "Aerial Ace", level = 50, cd = 60, dist = 1, target = 0, f = 1, t = "flying"},
    move8 = {name = "Agility", level = 50, cd = 20, dist = 1, target = 0, f = 0, t = "flying"},
},
["Shiny Fearow"] =  {
    move1 = {name = "Peck", level = 50, cd = 10, dist = 1, target = 1, f = 1, t = "flying"},
    move2 = {name = "Sand Attack", level = 50, cd = 15, dist = 1, target = 0, f = 0, t = "ground"},
    move3 = {name = "Drill Peck", level = 50, cd = 20, dist = 1, target = 1, f = 1, t = "flying"},
    move4 = {name = "Whirlwind", level = 50, cd = 22, dist = 1, target = 0, f = 1, t = "flying"},
    move5 = {name = "Air Cutter", level = 50, cd = 30, dist = 1, target = 0, f = 1, t = "flying"},
    move6 = {name = "Wing Attack", level = 52, cd = 30, dist = 1, target = 0, f = 1, t = "flying"},
    move7 = {name = "Aerial Ace", level = 50, cd = 60, dist = 1, target = 0, f = 1, t = "flying"},
    move8 = {name = "Agility", level = 50, cd = 20, dist = 1, target = 0, f = 0, t = "flying"},
},
["Ekans"] =  {
    move1 = {name = "Bite", level = 10, cd = 10, dist = 1, target = 1, f = 1, t = "dark"},
    move2 = {name = "Poison Fang", level = 10, cd = 15, dist = 1, target = 1, f = 1, t = "poison"},
    move3 = {name = "Sting Gun", level = 12, cd = 15, dist = 10, target = 1, f = 1, t = "poison"},
    move4 = {name = "Acid", level = 15, cd = 10, dist = 10, target = 1, f = 1, t = "poison"},
    move5 = {name = "Fear", level = 20, cd = 25, dist = 1, target = 0, f = 0, t = "ghost"},
},
["Arbok"] = {
    move1 = {name = "Bite", level = 40, cd = 10, dist = 1, target = 1, f = 1, t = "dark"},
    move2 = {name = "Poison Fang", level = 40, cd = 15, dist = 1, target = 1, f = 1, t = "poison"},
    move3 = {name = "Sting Gun", level = 40, cd = 15, dist = 10, target = 1, f = 1, t = "poison"},
    move4 = {name = "Wrap", level = 40, cd = 20, dist = 10, target = 1, f = 0, t = "normal"},
    move5 = {name = "Pin Missile", level = 43, cd = 25, dist = 1, target = 0, f = 1, t = "bug"},
    move6 = {name = "Acid", level = 40, cd = 15, dist = 10, target = 1, f = 1, t = "poison"},
    move7 = {name = "Iron Tail", level = 45, cd = 15, dist = 1, target = 1, f = 1, t = "steel"},
    move8 = {name = "Poison Jab", level = 40, cd = 16, dist = 10, target = 1, f = 1, t = "poison"},
},
["Pikachu"] =    {
    move1 = {name = "Mega Kick", level = 5, cd = 40, dist = 1, target = 1, f = 1, t = "fighting"},
    move2 = {name = "Thunder Shock", level = 5, cd = 10, dist = 10, target = 1, f = 1, t = "electric"},
    move3 = {name = "Thunder Bolt", level = 5, cd = 20, dist = 10, target = 1, f = 1, t = "electric"},
    move4 = {name = "Thunder Wave", level = 12, cd = 25, dist = 1, target = 0, f = 1, t = "electric"},
    move5 = {name = "Thunder Punch", level = 12, cd = 40, dist = 1, target = 1, f = 1, t = "electric"},
    move6 = {name = "Iron Tail", level = 11, cd = 20, dist = 1, target = 1, f = 1, t = "steel"},
    move7 = {name = "Thunder", level = 20, cd = 60, dist = 1, target = 0, f = 1, t = "electric"},
    move8 = {name = "Electric Storm", level = 30, cd = 25, dist = 1, target = 0, f = 1, t = "electric"},
    move9 = {name = "Agility", level = 5, cd = 60, dist = 1, target = 0, f = 0, t = "flying"},
},
["Raichu"] =  {
    move1 = {name = "Mega Kick", level = 80, cd = 40, dist = 1, target = 1, f = 1, t = "fighting"},
    move2 = {name = "Thunder Shock", level = 80, cd = 10, dist = 10, target = 1, f = 1, t = "electric"},
    move3 = {name = "Thunder Bolt", level = 80, cd = 20, dist = 10, target = 1, f = 1, t = "electric"},
    move4 = {name = "Thunder Wave", level = 80, cd = 25, dist = 1, target = 0, f = 1, t = "electric"},
    move5 = {name = "Thunder Punch", level = 80, cd = 40, dist = 1, target = 1, f = 1, t = "electric"},
    move6 = {name = "Iron Tail", level = 80, cd = 20, dist = 1, target = 1, f = 1, t = "steel"},
    move7 = {name = "Body Slam", level = 85, cd = 20, dist = 1, target = 1, f = 1, t = "normal"},
    move8 = {name = "Thunder", level = 80, cd = 60, dist = 1, target = 0, f = 1, t = "electric"},
    move9 = {name = "Electric Storm", level = 90, cd = 25, dist = 1, target = 0, f = 1, t = "electric"},
    move10 = {name = "Agility", level = 80, cd = 60, dist = 1, target = 0, f = 0, t = "flying"},
},
["Shiny Raichu"] =  {
    move1 = {name = "Mega Kick", level = 80, cd = 40, dist = 1, target = 1, f = 1, t = "fighting"},
    move2 = {name = "Thunder Shock", level = 80, cd = 10, dist = 10, target = 1, f = 1, t = "electric"},
    move3 = {name = "Thunder Bolt", level = 80, cd = 20, dist = 10, target = 1, f = 1, t = "electric"},
    move4 = {name = "Thunder Wave", level = 80, cd = 25, dist = 1, target = 0, f = 1, t = "electric"},
    move5 = {name = "Thunder Punch", level = 80, cd = 40, dist = 1, target = 1, f = 1, t = "electric"},
    move6 = {name = "Iron Tail", level = 80, cd = 20, dist = 1, target = 1, f = 1, t = "steel"},
    move7 = {name = "Body Slam", level = 85, cd = 20, dist = 1, target = 1, f = 1, t = "normal"},
    move8 = {name = "Thunder", level = 80, cd = 60, dist = 1, target = 0, f = 1, t = "electric"},
    move9 = {name = "Electric Storm", level = 90, cd = 25, dist = 1, target = 0, f = 1, t = "electric"},
    move10 = {name = "Agility", level = 80, cd = 60, dist = 1, target = 0, f = 0, t = "flying"},
},
["Sandshrew"] =  {
    move1 = {name = "Sand Attack", level = 20, cd = 10, dist = 1, target = 0, f = 0, t = "ground"},
    move2 = {name = "Mud Shot", level = 20, cd = 15, dist = 10, target = 1, f = 1, t = "ground"},
    move3 = {name = "Scratch", level = 20, cd = 10, dist = 1, target = 1, f = 1, t = "normal"},
    move4 = {name = "Rollout", level = 25, cd = 20, dist = 1, target = 0, f = 1, t = "rock"},
    move5 = {name = "Shockwave", level = 30, cd = 35, dist = 1, target = 0, f = 1, t = "ground"},
},
["Sandslash"] =  {
    move1 = {name = "Sand Attack", level = 70, cd = 15, dist = 1, target = 0, f = 0, t = "ground"},
    move2 = {name = "Mud Shot", level = 70, cd = 15, dist = 10, target = 1, f = 1, t = "ground"},
    move3 = {name = "Scratch", level = 70, cd = 10, dist = 1, target = 1, f = 1, t = "normal"},
    move4 = {name = "Rollout", level = 70, cd = 25, dist = 1, target = 0, f = 1, t = "rock"},
    move5 = {name = "Shockwave", level = 70, cd = 35, dist = 1, target = 0, f = 1, t = "ground"},
    move6 = {name = "Fury Cutter", level = 75, cd = 15, dist = 1, target = 0, f = 1, t = "bug"},
    move7 = {name = "Earthshock", level = 73, cd = 35, dist = 1, target = 0, f = 1, t = "ground"},
    move8 = {name = "Earthquake", level = 80, cd = 60, dist = 1, target = 0, f = 1, t = "ground"},
    move9 = {name = "Defense Curl", level = 70, cd = 80, dist = 1, target = 0, f = 0, t = "normal"},
},
["Nidoran Female"] = {
    move1 = {name = "Quick Attack", level = 10, cd = 10, dist = 2, target = 1, f = 1, t = "normal"},
    move2 = {name = "Bite", level = 10, cd = 10, dist = 1, target = 1, f = 1, t = "dark"},
    move3 = {name = "Horn Attack", level = 12, cd = 15, dist = 2, target = 1, f = 1, t = "normal"},
    move4 = {name = "Poison Sting", level = 10, cd = 15, dist = 2, target = 1, f = 1, t = "poison"},
    move5 = {name = "Poison Fang", level = 15, cd = 15, dist = 1, target = 1, f = 1, t = "poison"},
},
["Nidorina"] =   {
    move1 = {name = "Quick Attack", level = 30, cd = 15, dist = 2, target = 1, f = 1, t = "normal"},
    move2 = {name = "Horn Attack", level = 30, cd = 15, dist = 2, target = 1, f = 1, t = "normal"},
    move3 = {name = "Poison Jab", level = 30, cd = 25, dist = 10, target = 1, f = 1, t = "poison"},  
    move4 = {name = "Earthshock", level = 30, cd = 30, dist = 1, target = 0, f = 1, t = "ground"},
    move5 = {name = "Crusher Stomp", level = 32, cd = 25, dist = 1, target = 0, f = 1, t = "ground"},
    move6 = {name = "Cross Poison", level = 32, cd = 40, dist = 1, target = 0, f = 1, t = "poison"}, 
    move7 = {name = "Agility", level = 30, cd = 40, dist = 1, target = 0, f = 0, t = "flying"},
},
["Nidoqueen"] =  {
    move1 = {name = "Quick Attack", level = 70, cd = 15, dist = 2, target = 1, f = 1, t = "normal"},
    move2 = {name = "Horn Attack", level = 70, cd = 15, dist = 2, target = 1, f = 1, t = "normal"},
    move3 = {name = "Sand Tomb", level = 70, cd = 35, dist = 1, target = 0, f = 1, t = "ground"},
    move4 = {name = "Poison Jab", level = 70, cd = 25, dist = 10, target = 1, f = 1, t = "poison"},  
    move5 = {name = "Dig", level = 70, cd = 30, dist = 1, target = 0, f = 1, t = "ground"},
    move6 = {name = "Crusher Stomp", level = 70, cd = 45, dist = 1, target = 0, f = 1, t = "ground"},
    move7 = {name = "Cross Poison", level = 72, cd = 40, dist = 1, target = 0, f = 1, t = "poison"}, 
    move8 = {name = "Earthquake", level = 76, cd = 45, dist = 1, target = 0, f = 1, t = "ground"},
    move9 = {name = "Agility", level = 70, cd = 40, dist = 1, target = 0, f = 0, t = "flying"},
},
["Nidoran Male"] = {
    move1 = {name = "Quick Attack", level = 10, cd = 10, dist = 2, target = 1, f = 1, t = "normal"},
    move2 = {name = "Bite", level = 10, cd = 10, dist = 1, target = 1, f = 1, t = "dark"},
    move3 = {name = "Horn Attack", level = 12, cd = 15, dist = 2, target = 1, f = 1, t = "normal"},
    move4 = {name = "Poison Sting", level = 10, cd = 15, dist = 2, target = 1, f = 1, t = "poison"},
    move5 = {name = "Poison Fang", level = 15, cd = 15, dist = 1, target = 1, f = 1, t = "poison"},
},
["Nidorino"] =   {
    move1 = {name = "Quick Attack", level = 30, cd = 15, dist = 2, target = 1, f = 1, t = "normal"},
    move2 = {name = "Horn Attack", level = 30, cd = 15, dist = 2, target = 1, f = 1, t = "normal"},
    move3 = {name = "Poison Jab", level = 30, cd = 25, dist = 10, target = 1, f = 1, t = "poison"},
    move4 = {name = "Poison Fang", level = 30, cd = 15, dist = 1, target = 1, f = 1, t = "poison"},
    move5 = {name = "Crusher Stomp", level = 32, cd = 45, dist = 1, target = 0, f = 1, t = "ground"},
    move6 = {name = "Cross Poison", level = 32, cd = 40, dist = 1, target = 0, f = 1, t = "poison"},
    move7 = {name = "Rage", level = 30, cd = 20, dist = 1, target = 0, f = 0, t = "dragon"},
},
["Nidoking"] =   {
    move1 = {name = "Quick Attack", level = 70, cd = 8, dist = 2, target = 1, f = 1, t = "normal"},
    move2 = {name = "Horn Attack", level = 70, cd = 10, dist = 2, target = 1, f = 1, t = "normal"},
    move3 = {name = "Poison Jab", level = 70, cd = 15, dist = 10, target = 1, f = 1, t = "poison"},
    move4 = {name = "Poison Fang", level = 70, cd = 10, dist = 1, target = 1, f = 1, t = "poison"},
    move5 = {name = "Crusher Stomp", level = 70, cd = 45, dist = 1, target = 0, f = 1, t = "ground"},
    move6 = {name = "Venom Motion", level = 74, cd = 45, dist = 1, target = 0, f = 1, t = "poison"},
    move7 = {name = "Cross Poison", level = 72, cd = 40, dist = 1, target = 0, f = 1, t = "poison"},
    move8 = {name = "Rage", level = 76, cd = 20, dist = 1, target = 0, f = 0, t = "dragon"},
    move9 = {name = "Fear", level = 70, cd = 30, dist = 1, target = 0, f = 0, t = "ghost"},
},
["Shiny Nidoking"] =   {
    move1 = {name = "Quick Attack", level = 70, cd = 8, dist = 2, target = 1, f = 1, t = "normal"},
    move2 = {name = "Horn Attack", level = 70, cd = 10, dist = 2, target = 1, f = 1, t = "normal"},
    move3 = {name = "Poison Jab", level = 70, cd = 15, dist = 10, target = 1, f = 1, t = "poison"},
    move4 = {name = "Poison Fang", level = 70, cd = 10, dist = 1, target = 1, f = 1, t = "poison"},
    move5 = {name = "Crusher Stomp", level = 70, cd = 45, dist = 1, target = 0, f = 1, t = "ground"},
    move6 = {name = "Venom Motion", level = 74, cd = 45, dist = 1, target = 0, f = 1, t = "poison"},
    move7 = {name = "Cross Poison", level = 72, cd = 40, dist = 1, target = 0, f = 1, t = "poison"},
    move8 = {name = "Rage", level = 76, cd = 20, dist = 1, target = 0, f = 0, t = "dragon"},
    move9 = {name = "Fear", level = 70, cd = 30, dist = 1, target = 0, f = 0, t = "ghost"},
},
["Clefairy"] =   {
    move1 = {name = "Doubleslap", level = 40, cd = 5, dist = 1, target = 1, f = 1, t = "normal"},
    move2 = {name = "Body Slam", level = 44, cd = 20, dist = 1, target = 1, f = 1, t = "normal"},
    move3 = {name = "Sing", level = 40, cd = 30, dist = 0, target = 0, f = 0, t = "normal"},
    move4 = {name = "Multislap", level = 40, cd = 20, dist = 1, target = 0, f = 1, t = "normal"},
    move5 = {name = "Great Love", level = 47, cd = 40, dist = 1, target = 0, f = 1, t = "normal"},
    move6 = {name = "Healarea", level = 45, cd = 80, dist = 1, target = 0, f = 0, t = "normal"},
    move7 = {name = "Metronome", level = 40, cd = 30, dist = 1, target = 0, f = 0, t = "normal"},
    move8 = {name = "Defense Curl", level = 40, cd = 60, dist = 1, target = 0, f = 0, t = "normal"},
},
["Clefable"] =   {
    move1 = {name = "Doubleslap", level = 70, cd = 5, dist = 1, target = 1, f = 1, t = "normal"},
    move2 = {name = "Body Slam", level = 74, cd = 20, dist = 1, target = 1, f = 1, t = "normal"},
    move3 = {name = "Sing", level = 70, cd = 40, dist = 1, target = 0, f = 0, t = "normal"},
    move4 = {name = "Multislap", level = 70, cd = 25, dist = 1, target = 0, f = 1, t = "normal"},
    move5 = {name = "Meteor Smash", level = 74, cd = 20, dist = 10, target = 1, f = 1, t = "normal"},
    move6 = {name = "Great Love", level = 77, cd = 40, dist = 1, target = 0, f = 1, t = "normal"},
    move7 = {name = "Healarea", level = 75, cd = 80, dist = 1, target = 0, f = 0, t = "normal"},
    move8 = {name = "Metronome", level = 70, cd = 40, dist = 1, target = 0, f = 0, t = "normal"},
    move9 = {name = "Defense Curl", level = 70, cd = 60, dist = 1, target = 0, f = 0, t = "normal"},
},
["Shiny Clefable"] =   {
    move1 = {name = "Doubleslap", level = 70, cd = 5, dist = 1, target = 1, f = 1, t = "normal"},
    move2 = {name = "Body Slam", level = 74, cd = 20, dist = 1, target = 1, f = 1, t = "normal"},
    move3 = {name = "Sing", level = 70, cd = 40, dist = 1, target = 0, f = 0, t = "normal"},
    move4 = {name = "Multislap", level = 70, cd = 25, dist = 1, target = 0, f = 1, t = "normal"},
    move5 = {name = "Meteor Smash", level = 74, cd = 20, dist = 10, target = 1, f = 1, t = "normal"},
    move6 = {name = "Great Love", level = 77, cd = 40, dist = 1, target = 0, f = 1, t = "normal"},
    move7 = {name = "Healarea", level = 75, cd = 80, dist = 1, target = 0, f = 0, t = "normal"},
    move8 = {name = "Metronome", level = 70, cd = 40, dist = 1, target = 0, f = 0, t = "normal"},
    move9 = {name = "Defense Curl", level = 70, cd = 60, dist = 1, target = 0, f = 0, t = "normal"},
},
["Vulpix"] =     {
    move1 = {name = "Quick Attack", level = 20, cd = 10, dist = 2, target = 1, f = 1, t = "normal"},
    move2 = {name = "Iron Tail", level = 20, cd = 15, dist = 1, target = 1, f = 1, t = "steel"},
    move3 = {name = "Ember", level = 20, cd = 15, dist = 10, target = 1, f = 1, t = "fire"},
    move4 = {name = "Flamethrower", level = 22, cd = 20, dist = 1, target = 0, f = 1, t = "fire"},
    move5 = {name = "Flame Wheel", level = 24, cd = 26, dist = 1, target = 0, f = 1, t = "fire"},
    move6 = {name = "Fire Blast", level = 30, cd = 60, dist = 1, target = 0, f = 1, t = "fire"},
},
["Ninetales"] =  {
    move1 = {name = "Quick Attack", level = 70, cd = 10, dist = 2, target = 1, f = 1, t = "normal"},
    move2 = {name = "Iron Tail", level = 70, cd = 15, dist = 1, target = 1, f = 1, t = "steel"},
    move3 = {name = "Ember", level = 70, cd = 15, dist = 10, target = 1, f = 1, t = "fire"},
    move4 = {name = "Flamethrower", level = 70, cd = 20, dist = 1, target = 0, f = 1, t = "fire"},
    move5 = {name = "Flame Wheel", level = 70, cd = 20, dist = 1, target = 0, f = 1, t = "fire"},
    move6 = {name = "Fireball", level = 70, cd = 20, dist = 10, target = 1, f = 1, t = "fire"},
    move7 = {name = "Volcano Burst", level = 70, cd = 25, dist = 10, target = 1, f = 1, t = "ghost"},
    move8 = {name = "Fire Blast", level = 74, cd = 30, dist = 1, target = 0, f = 1, t = "fire"},
    move9 = {name = "Magma Storm", level = 78, cd = 60, dist = 1, target = 0, f = 1, t = "fire"},
    move10 = {name = "Inferno", level = 80, cd = 100, dist = 1, target = 0, f = 0, t = "normal"},
},
["Shiny Ninetales"] =  {
    move1 = {name = "Quick Attack", level = 70, cd = 10, dist = 2, target = 1, f = 1, t = "normal"},
    move2 = {name = "Iron Tail", level = 70, cd = 15, dist = 1, target = 1, f = 1, t = "steel"},
    move3 = {name = "Ember", level = 70, cd = 15, dist = 10, target = 1, f = 1, t = "fire"},
    move4 = {name = "Flamethrower", level = 70, cd = 20, dist = 1, target = 0, f = 1, t = "fire"},
    move5 = {name = "Flame Wheel", level = 70, cd = 20, dist = 1, target = 0, f = 1, t = "fire"},
    move6 = {name = "Fireball", level = 70, cd = 20, dist = 10, target = 1, f = 1, t = "fire"},
    move7 = {name = "Confuse Ray", level = 70, cd = 25, dist = 10, target = 1, f = 1, t = "ghost"},
    move8 = {name = "Fire Blast", level = 74, cd = 30, dist = 1, target = 0, f = 1, t = "fire"},
    move9 = {name = "Magma Storm", level = 78, cd = 60, dist = 1, target = 0, f = 1, t = "fire"},
    move10 = {name = "Safeguard", level = 80, cd = 40, dist = 1, target = 0, f = 0, t = "normal"},
},
["Jigglypuff"] = {
    move1 = {name = "Doubleslap", level = 40, cd = 5, dist = 1, target = 1, f = 1, t = "normal"},
    move2 = {name = "Body Slam", level = 44, cd = 20, dist = 1, target = 1, f = 1, t = "normal"},
    move3 = {name = "Sing", level = 40, cd = 22, dist = 1, target = 0, f = 0, t = "normal"},
    move4 = {name = "Hyper Voice", level = 40, cd = 20, dist = 1, target = 0, f = 1, t = "normal"},
    move5 = {name = "Multislap", level = 40, cd = 25, dist = 1, target = 0, f = 1, t = "normal"},
    move6 = {name = "Echoed Voice", level = 45, cd = 30, dist = 1, target = 0, f = 1, t = "normal"},
    move7 = {name = "Selfheal", level = 45, cd = 40, dist = 1, target = 0, f = 0, t = "normal"},
    move8 = {name = "Charm", level = 40, cd = 15, dist = 1, target = 0, f = 0, t = "normal"},
},
["Wigglytuff"] = {
    move1 = {name = "Doubleslap", level = 70, cd = 5, dist = 1, target = 1, f = 1, t = "normal"},
    move2 = {name = "Body Slam", level = 74, cd = 20, dist = 1, target = 1, f = 1, t = "normal"},
    move3 = {name = "Sing", level = 70, cd = 40, dist = 1, target = 0, f = 0, t = "normal"},
    move4 = {name = "Hyper Voice", level = 70, cd = 15, dist = 1, target = 0, f = 1, t = "normal"},
    move5 = {name = "Multislap", level = 70, cd = 25, dist = 1, target = 0, f = 1, t = "normal"},
    move6 = {name = "Rock n'Roll", level = 74, cd = 60, dist = 1, target = 0, f = 1, t = "normal"},  --alterado v1.5 
    move7 = {name = "Echoed Voice", level = 75, cd = 30, dist = 1, target = 0, f = 1, t = "normal"},
    move8 = {name = "Selfheal", level = 75, cd = 80, dist = 1, target = 0, f = 0, t = "normal"},
    move9 = {name = "Charm", level = 70, cd = 15, dist = 1, target = 0, f = 0, t = "normal"},
},
["Shiny Wigglytuff"] = {
    move1 = {name = "Doubleslap", level = 70, cd = 5, dist = 1, target = 1, f = 1, t = "normal"},
    move2 = {name = "Body Slam", level = 74, cd = 20, dist = 1, target = 1, f = 1, t = "normal"},
    move3 = {name = "Sing", level = 70, cd = 40, dist = 1, target = 0, f = 0, t = "normal"},
    move4 = {name = "Hyper Voice", level = 70, cd = 15, dist = 1, target = 0, f = 1, t = "normal"},
    move5 = {name = "Multislap", level = 70, cd = 25, dist = 1, target = 0, f = 1, t = "normal"},
    move6 = {name = "Rock n'Roll", level = 74, cd = 60, dist = 1, target = 0, f = 1, t = "normal"},  --alterado v1.5 
    move7 = {name = "Echoed Voice", level = 75, cd = 30, dist = 1, target = 0, f = 1, t = "normal"},
    move8 = {name = "Selfheal", level = 75, cd = 80, dist = 1, target = 0, f = 0, t = "normal"},
    move9 = {name = "Charm", level = 70, cd = 15, dist = 1, target = 0, f = 0, t = "normal"},
},
["Zubat"] =      {
    move1 = {name = "Super Sonic", level = 10, cd = 15, dist = 10, target = 1, f = 0, t = "normal"},
    move2 = {name = "Bite", level = 10, cd = 10, dist = 1, target = 1, f = 1, t = "dark"},
    move3 = {name = "Poison Fang", level = 10, cd = 10, dist = 1, target = 1, f = 1, t = "poison"},
    move4 = {name = "Absorb", level = 12, cd = 20, dist = 1, target = 1, f = 1, t = "grass"},
    move5 = {name = "Toxic", level = 15, cd = 20, dist = 1, target = 0, f = 1, t = "poison"},
},
["Shiny Zubat"] =      {
    move1 = {name = "Super Sonic", level = 10, cd = 15, dist = 10, target = 1, f = 0, t = "normal"},
    move2 = {name = "Bite", level = 10, cd = 10, dist = 1, target = 1, f = 1, t = "dark"},
    move3 = {name = "Poison Fang", level = 10, cd = 10, dist = 1, target = 1, f = 1, t = "poison"},
    move4 = {name = "Absorb", level = 12, cd = 20, dist = 1, target = 1, f = 1, t = "grass"},
    move5 = {name = "Toxic", level = 15, cd = 20, dist = 1, target = 0, f = 1, t = "poison"},
},
["Golbat"] =     {
    move1 = {name = "Super Sonic", level = 40, cd = 15, dist = 10, target = 1, f = 0, t = "normal"},
    move2 = {name = "Bite", level = 40, cd = 10, dist = 1, target = 1, f = 1, t = "dark"},
    move3 = {name = "Poison Fang", level = 40, cd = 10, dist = 1, target = 1, f = 1, t = "poison"},
    move4 = {name = "Toxic", level = 40, cd = 20, dist = 1, target = 0, f = 1, t = "poison"},
    move5 = {name = "Whirlwind", level = 40, cd = 22, dist = 1, target = 0, f = 1, t = "flying"},
    move6 = {name = "Wing Attack", level = 40, cd = 30, dist = 1, target = 0, f = 1, t = "flying"},
    move7 = {name = "Air Cutter", level = 44, cd = 40, dist = 1, target = 0, f = 1, t = "flying"},
},
["Shiny Golbat"] =     {
    move1 = {name = "Super Sonic", level = 40, cd = 15, dist = 10, target = 1, f = 0, t = "normal"},
    move2 = {name = "Bite", level = 40, cd = 10, dist = 1, target = 1, f = 1, t = "dark"},
    move3 = {name = "Poison Fang", level = 40, cd = 10, dist = 1, target = 1, f = 1, t = "poison"},
    move4 = {name = "Toxic", level = 40, cd = 20, dist = 1, target = 0, f = 1, t = "poison"},
    move5 = {name = "Whirlwind", level = 40, cd = 22, dist = 1, target = 0, f = 1, t = "flying"},
    move6 = {name = "Wing Attack", level = 40, cd = 30, dist = 1, target = 0, f = 1, t = "flying"},
    move7 = {name = "Air Cutter", level = 44, cd = 40, dist = 1, target = 0, f = 1, t = "flying"},
},
["Oddish"] = {
    move1 = {name = "Absorb", level = 7, cd = 15, dist = 1, target = 1, f = 1, t = "grass"},
    move2 = {name = "Acid", level = 1, cd = 10, dist = 10, target = 1, f = 1, t = "poison"},
    move3 = {name = "Leech Seed", level = 1, cd = 15, dist = 10, target = 1, f = 1, t = "grass"},
    move4 = {name = "Sleep Powder", level = 9, cd = 80, dist = 1, target = 0, f = 0, t = "normal"},
    move5 = {name = "Poison Powder", level = 8, cd = 15, dist = 1, target = 0, f = 0, t = "normal"},
    move6 = {name = "Stun Spore", level = 8, cd = 25, dist = 1, target = 0, f = 0, t = "normal"},
},
["Shiny Oddish"] = {
    move1 = {name = "Absorb", level = 7, cd = 15, dist = 1, target = 1, f = 1, t = "grass"},
    move2 = {name = "Acid", level = 1, cd = 10, dist = 10, target = 1, f = 1, t = "poison"},
    move3 = {name = "Leech Seed", level = 1, cd = 15, dist = 10, target = 1, f = 1, t = "grass"},
    move4 = {name = "Poison Gas", level = 37, cd = 32, dist = 1, target = 0, f = 1, t = "poison"},
    move5 = {name = "Sleep Powder", level = 9, cd = 80, dist = 1, target = 0, f = 0, t = "normal"},
    move6 = {name = "Poison Powder", level = 8, cd = 15, dist = 1, target = 0, f = 0, t = "normal"},
    move7 = {name = "Stun Spore", level = 8, cd = 25, dist = 1, target = 0, f = 0, t = "normal"},
},
["Gloom"] =  {
    move1 = {name = "Absorb", level = 30, cd = 20, dist = 1, target = 1, f = 1, t = "grass"},
    move2 = {name = "Leech Seed", level = 30, cd = 20, dist = 10, target = 1, f = 1, t = "grass"},
    move3 = {name = "Acid", level = 30, cd = 10, dist = 10, target = 1, f = 1, t = "poison"},
    move4 = {name = "Poison Bomb", level = 33, cd = 20, dist = 10, target = 1, f = 1, t = "poison"},
    move5 = {name = "Poison Gas", level = 37, cd = 32, dist = 1, target = 0, f = 1, t = "poison"},
    move6 = {name = "Sleep Powder", level = 30, cd = 80, dist = 1, target = 0, f = 0, t = "normal"},
    move7 = {name = "Stun Spore", level = 30, cd = 25, dist = 1, target = 0, f = 0, t = "normal"},
    move8 = {name = "Poison Powder", level = 30, cd = 20, dist = 1, target = 0, f = 0, t = "normal"},
},
["Vileplume"] =  {
    move1 = {name = "Absorb", level = 50, cd = 20, dist = 1, target = 1, f = 1, t = "grass"},
    move2 = {name = "Leech Seed", level = 50, cd = 20, dist = 10, target = 1, f = 1, t = "grass"},
    move3 = {name = "Acid", level = 50, cd = 10, dist = 10, target = 1, f = 1, t = "poison"},
    move4 = {name = "Poison Bomb", level = 50, cd = 20, dist = 10, target = 1, f = 1, t = "poison"},
    move5 = {name = "Poison Gas", level = 50, cd = 32, dist = 1, target = 0, f = 1, t = "poison"},
    move6 = {name = "Seed Straff", level = 55, cd = 20, dist = 1, target = 0, f = 1, t = "grass"},
    move7 = {name = "Solar Beam", level = 60, cd = 50, dist = 1, target = 0, f = 1, t = "grass"},
    move8 = {name = "Sleep Powder", level = 50, cd = 80, dist = 1, target = 0, f = 0, t = "normal"},
    move9 = {name = "Stun Spore", level = 50, cd = 25, dist = 1, target = 0, f = 0, t = "normal"},
    move10 = {name = "Poison Powder", level = 50, cd = 20, dist = 1, target = 0, f = 0, t = "normal"},
},
["Shiny Vileplume"] =  {
    move1 = {name = "Absorb", level = 50, cd = 20, dist = 1, target = 1, f = 1, t = "grass"},
    move2 = {name = "Leech Seed", level = 50, cd = 20, dist = 10, target = 1, f = 1, t = "grass"},
    move3 = {name = "Acid", level = 50, cd = 10, dist = 10, target = 1, f = 1, t = "poison"},
    move4 = {name = "Poison Bomb", level = 50, cd = 20, dist = 10, target = 1, f = 1, t = "poison"},
    move5 = {name = "Poison Gas", level = 50, cd = 32, dist = 1, target = 0, f = 1, t = "poison"},
    move6 = {name = "Petal Dance", level = 55, cd = 20, dist = 1, target = 0, f = 1, t = "grass"},
    move7 = {name = "Solar Beam", level = 60, cd = 50, dist = 1, target = 0, f = 1, t = "grass"},
    move8 = {name = "Sleep Powder", level = 50, cd = 80, dist = 1, target = 0, f = 0, t = "normal"},
    move9 = {name = "Stun Spore", level = 50, cd = 25, dist = 1, target = 0, f = 0, t = "normal"},
    move10 = {name = "Poison Powder", level = 50, cd = 20, dist = 1, target = 0, f = 0, t = "normal"},
},
["Paras"] =  {
    move1 = {name = "Scratch", level = 1, cd = 10, dist = 1, target = 1, f = 1, t = "normal"},
    move2 = {name = "Poison Sting", level = 1, cd = 10, dist = 2, target = 1, f = 1, t = "poison"},
    move3 = {name = "Slash", level = 1, cd = 15, dist = 1, target = 1, f = 1, t = "normal"},
    move4 = {name = "Stun Spore", level = 6, cd = 25, dist = 1, target = 0, f = 0, t = "normal"},
    move5 = {name = "Poison Powder", level = 4, cd = 15, dist = 1, target = 0, f = 0, t = "normal"},
    move6 = {name = "Sleep Powder", level = 8, cd = 80, dist = 1, target = 0, f = 0, t = "normal"},
},
["Shiny Paras"] =  {
    move1 = {name = "Scratch", level = 1, cd = 10, dist = 1, target = 1, f = 1, t = "normal"},
    move2 = {name = "Poison Sting", level = 1, cd = 10, dist = 2, target = 1, f = 1, t = "poison"},
    move3 = {name = "Slash", level = 1, cd = 15, dist = 1, target = 1, f = 1, t = "normal"},
    move4 = {name = "Stun Spore", level = 6, cd = 25, dist = 1, target = 0, f = 0, t = "normal"},
    move5 = {name = "Poison Powder", level = 4, cd = 15, dist = 1, target = 0, f = 0, t = "normal"},
    move6 = {name = "Sleep Powder", level = 8, cd = 80, dist = 1, target = 0, f = 0, t = "normal"},
},
["Parasect"] =   {
    move1 = {name = "Absorb", level = 50, cd = 20, dist = 1, target = 1, f = 1, t = "grass"},
    move2 = {name = "Scratch", level = 50, cd = 10, dist = 1, target = 1, f = 1, t = "normal"},
    move3 = {name = "Poison Sting", level = 50, cd = 10, dist = 10, target = 1, f = 1, t = "poison"},
    move4 = {name = "Slash", level = 50, cd = 15, dist = 1, target = 0, f = 1, t = "normal"},
    move5 = {name = "Poison Bomb", level = 50, cd = 20, dist = 10, target = 1, f = 1, t = "poison"},
    move6 = {name = "Stun Spore", level = 50, cd = 25, dist = 1, target = 0, f = 0, t = "normal"},
    move7 = {name = "Poison Powder", level = 50, cd = 20, dist = 10, target = 0, f = 0, t = "normal"},
    move8 = {name = "Sleep Powder", level = 50, cd = 80, dist = 1, target = 0, f = 0, t = "normal"},
    move9 = {name = "Fury Cutter", level = 56, cd = 25, dist = 1, target = 0, f = 1, t = "bug"},
    move10 = {name = "X-Scissor", level = 58, cd = 25, dist = 1, target = 0, f = 1, t = "bug"},
},
["Shiny Parasect"] =   {
    move1 = {name = "Absorb", level = 50, cd = 20, dist = 1, target = 1, f = 1, t = "grass"},
    move2 = {name = "Scratch", level = 50, cd = 10, dist = 1, target = 1, f = 1, t = "normal"},
    move3 = {name = "Poison Sting", level = 50, cd = 10, dist = 10, target = 1, f = 1, t = "poison"},
    move4 = {name = "Slash", level = 50, cd = 15, dist = 1, target = 0, f = 1, t = "normal"},
    move5 = {name = "Poison Bomb", level = 50, cd = 20, dist = 10, target = 1, f = 1, t = "poison"},
    move6 = {name = "Stun Spore", level = 50, cd = 25, dist = 1, target = 0, f = 0, t = "normal"},
    move7 = {name = "Poison Powder", level = 50, cd = 20, dist = 10, target = 0, f = 0, t = "normal"},
    move8 = {name = "Sleep Powder", level = 50, cd = 80, dist = 1, target = 0, f = 0, t = "normal"},
    move9 = {name = "Fury Cutter", level = 56, cd = 25, dist = 1, target = 0, f = 1, t = "bug"},
    move10 = {name = "X-Scissor", level = 58, cd = 25, dist = 1, target = 0, f = 1, t = "bug"},
},
["Venonat"] =  {
    move1 = {name = "Super Sonic", level = 20, cd = 15, dist = 10, target = 1, f = 0, t = "normal"},
    move2 = {name = "Psybeam", level = 20, cd = 20, dist = 1, target = 0, f = 1, t = "psychic"},
    move3 = {name = "Silver Wind", level = 20, cd = 25, dist = 10, target = 1, f = 1, t = "bug"}, 
    move4 = {name = "Confusion", level = 20, cd = 25, dist = 1, target = 0, f = 1, t = "psychic"},
    move5 = {name = "Psychic", level = 26, cd = 20, dist = 1, target = 0, f = 1, t = "psychic"},
    move6 = {name = "Sleep Powder", level = 30, cd = 60, dist = 1, target = 0, f = 0, t = "normal"},
    move7 = {name = "Poison Powder", level = 22, cd = 20, dist = 1, target = 0, f = 0, t = "normal"},
    move8 = {name = "Stun Spore", level = 24, cd = 25, dist = 1, target = 0, f = 0, t = "normal"},
},
["Shiny Venonat"] =  {
    move1 = {name = "Super Sonic", level = 20, cd = 15, dist = 10, target = 1, f = 0, t = "normal"},
    move2 = {name = "Psybeam", level = 20, cd = 20, dist = 1, target = 0, f = 1, t = "psychic"},
    move3 = {name = "Silver Wind", level = 20, cd = 25, dist = 10, target = 1, f = 1, t = "bug"}, 
    move4 = {name = "Confusion", level = 20, cd = 25, dist = 1, target = 0, f = 1, t = "psychic"},
    move5 = {name = "Psychic", level = 26, cd = 20, dist = 1, target = 0, f = 1, t = "psychic"},
    move6 = {name = "Sleep Powder", level = 30, cd = 60, dist = 1, target = 0, f = 0, t = "normal"},
    move7 = {name = "Poison Powder", level = 22, cd = 20, dist = 1, target = 0, f = 0, t = "normal"},
    move8 = {name = "Stun Spore", level = 24, cd = 25, dist = 1, target = 0, f = 0, t = "normal"},
},
["Venomoth"] =   {
    move1 = {name = "Super Sonic", level = 50, cd = 15, dist = 10, target = 1, f = 0, t = "normal"},
    move2 = {name = "Psybeam", level = 50, cd = 20, dist = 1, target = 0, f = 1, t = "psychic"},
    move3 = {name = "Silver Wind", level = 50, cd = 25, dist = 10, target = 1, f = 1, t = "bug"}, 
    move4 = {name = "Confusion", level = 56, cd = 25, dist = 1, target = 0, f = 1, t = "psychic"},
    move5 = {name = "Psychic", level = 50, cd = 20, dist = 1, target = 0, f = 1, t = "psychic"},
    move6 = {name = "Pin Missile", level = 56, cd = 15, dist = 10, target = 0, f = 910, t = "bug"},  
    move7 = {name = "Bug Buzz", level = 54, cd = 20, dist = 1, target = 0, f = 1, t = "bug"},
    move8 = {name = "Sleep Powder", level = 50, cd = 60, dist = 1, target = 0, f = 0, t = "normal"},
    move9 = {name = "Poison Powder", level = 50, cd = 20, dist = 1, target = 0, f = 0, t = "normal"},
},
["Shiny Venomoth"] =   {
    move1 = {name = "Super Sonic", level = 50, cd = 15, dist = 10, target = 1, f = 0, t = "normal"},
    move2 = {name = "Psybeam", level = 50, cd = 20, dist = 1, target = 0, f = 1, t = "psychic"},
    move3 = {name = "Silver Wind", level = 50, cd = 25, dist = 10, target = 1, f = 1, t = "bug"}, 
    move4 = {name = "Confusion", level = 56, cd = 25, dist = 1, target = 0, f = 1, t = "psychic"},
    move5 = {name = "Psychic", level = 50, cd = 20, dist = 1, target = 0, f = 1, t = "psychic"},
    move6 = {name = "Pin Missile", level = 56, cd = 15, dist = 10, target = 0, f = 910, t = "bug"},  
    move7 = {name = "Bug Buzz", level = 54, cd = 20, dist = 1, target = 0, f = 1, t = "bug"},
    move8 = {name = "Sleep Powder", level = 50, cd = 60, dist = 1, target = 0, f = 0, t = "normal"},
    move9 = {name = "Poison Powder", level = 50, cd = 20, dist = 1, target = 0, f = 0, t = "normal"},
},
["Diglett"] =  {
    move1 = {name = "Sand Attack", level = 10, cd = 15, dist = 1, target = 0, f = 0, t = "ground"},
    move2 = {name = "Slash", level = 10, cd = 10, dist = 1, target = 1, f = 1, t = "normal"},
    move3 = {name = "Mud Shot", level = 10, cd = 15, dist = 10, target = 1, f = 1, t = "ground"},   
    move4 = {name = "Mud Slap", level = 12, cd = 20, dist = 10, target = 1, f = 1, t = "ground"},
    move5 = {name = "Earthshock", level = 15, cd = 40, dist = 1, target = 0, f = 1, t = "ground"},
},
["Dugtrio"] =    {
    move1 = {name = "Sand Attack", level = 40, cd = 15, dist = 1, target = 0, f = 0, t = "ground"},
    move2 = {name = "Slash", level = 40, cd = 10, dist = 1, target = 1, f = 1, t = "normal"},
    move3 = {name = "Mud Shot", level = 40, cd = 15, dist = 10, target = 1, f = 1, t = "ground"},
    move4 = {name = "Mud Slap", level = 40, cd = 20, dist = 10, target = 1, f = 1, t = "ground"},
    move5 = {name = "Earthshock", level = 40, cd = 40, dist = 1, target = 0, f = 1, t = "ground"},
    move6 = {name = "Shockwave", level = 42, cd = 35, dist = 1, target = 0, f = 1, t = "ground"},
    move7 = {name = "Earthquake", level = 47, cd = 60, dist = 1, target = 0, f = 1, t = "ground"},
    move8 = {name = "Rage", level = 50, cd = 30, dist = 1, target = 0, f = 0, t = "dragon"},
},
["Meowth"] =  {
    move1 = {name = "Slash", level = 15, cd = 10, dist = 1, target = 1, f = 1, t = "normal"},
    move2 = {name = "Scratch", level = 15, cd = 10, dist = 1, target = 1, f = 1, t = "normal"},
    move3 = {name = "Bite", level = 15, cd = 15, dist = 1, target = 1, f = 1, t = "dark"},
    move4 = {name = "Night Slash", level = 18, cd = 20, dist = 1, target = 0, f = 1, t = "dark"},
    move5 = {name = "Pay Day", level = 18, cd = 15, dist = 10, target = 1, f = 1, t = "normal"},
},
["Persian"] =    {
    move1 = {name = "Slash", level = 50, cd = 10, dist = 1, target = 1, f = 1, t = "normal"},
    move2 = {name = "Scratch", level = 50, cd = 10, dist = 1, target = 1, f = 1, t = "normal"},
    move3 = {name = "Bite", level = 50, cd = 15, dist = 1, target = 1, f = 1, t = "dark"},
    move4 = {name = "Fury Swipes", level = 55, cd = 15, dist = 10, target = 1, f = 1, t = "normal"}, 
    move5 = {name = "Night Slash", level = 50, cd = 20, dist = 1, target = 0, f = 1, t = "dark"},
    move6 = {name = "Pay Day", level = 60, cd = 15, dist = 10, target = 1, f = 1, t = "normal"},
    move7 = {name = "Fear", level = 60, cd = 25, dist = 1, target = 0, f = 0, t = "ghost"},
},
["Psyduck"] =  {
    move1 = {name = "Water Gun", level = 25, cd = 15, dist = 1, target = 0, f = 1, t = "water"},
    move2 = {name = "Aqua Tail", level = 25, cd = 15, dist = 1, target = 1, f = 1, t = "water"},
    move3 = {name = "Waterball", level = 25, cd = 15, dist = 10, target = 1, f = 1, t = "water"},
    move4 = {name = "Confusion", level = 28, cd = 25, dist = 1, target = 0, f = 1, t = "psychic"},
    move5 = {name = "Headbutt", level = 25, cd = 15, dist = 1, target = 1, f = 1, t = "normal"},
},
["Golduck"] =    {
    move1 = {name = "Water Gun", level = 70, cd = 20, dist = 1, target = 0, f = 1, t = "water"},
    move2 = {name = "Fury Swipes", level = 70, cd = 15, dist = 10, target = 1, f = 1, t = "normal"}, 
    move3 = {name = "Water Pulse", level = 70, cd = 25, dist = 1, target = 0, f = 1, t = "water"},
    move4 = {name = "Confusion", level = 70, cd = 30, dist = 1, target = 0, f = 1, t = "psychic"},
    move5 = {name = "Psychic", level = 70, cd = 30, dist = 1, target = 0, f = 1, t = "psychic"},
    move6 = {name = "Hydro Dance", level = 80, cd = 90, dist = 1, target = 0, f = 1, t = "water"},
    move7 = {name = "Hydropump", level = 80, cd = 63, dist = 1, target = 0, f = 1, t = "water"},
},
["Mankey"] = {
    move1 = {name = "Scratch", level = 10, cd = 10, dist = 1, target = 1, f = 1, t = "normal"},
    move2 = {name = "Triple Kick", level = 10, cd = 15, dist = 1, target = 1, f = 1, t = "fighting"},
    move3 = {name = "Karate Chop", level = 13, cd = 20, dist = 1, target = 1, f = 1, t = "fighting"},
    move4 = {name = "Cross Chop", level = 15, cd = 15, dist = 1, target = 0, f = 1, t = "fighting"},
    move5 = {name = "Rage", level = 17, cd = 20, dist = 1, target = 0, f = 0, t = "dragon"},
},
["Primeape"] =   {
    move1 = {name = "Scratch", level = 50, cd = 10, dist = 1, target = 1, f = 1, t = "normal"},
    move2 = {name = "Triple Kick", level = 50, cd = 15, dist = 1, target = 1, f = 1, t = "fighting"},   
    move3 = {name = "Karate Chop", level = 50, cd = 25, dist = 1, target = 1, f = 1, t = "fighting"},
    move4 = {name = "Cross Chop", level = 54, cd = 20, dist = 1, target = 0, f = 1, t = "fighting"},
    move5 = {name = "Mega Punch", level = 56, cd = 20, dist = 1, target = 1, f = 1, t = "fighting"},
    move6 = {name = "Mega Kick", level = 58, cd = 20, dist = 1, target = 1, f = 1, t = "fighting"},
    move7 = {name = "Rage", level = 50, cd = 25, dist = 1, target = 0, f = 0, t = "dragon"},
    move8 = {name = "Fear", level = 50, cd = 25, dist = 1, target = 0, f = 0, t = "ghost"},
},
["Growlithe"] =  {
    move1 = {name = "Roar", level = 33, cd = 20, dist = 1, target = 0, f = 0, t = "normal"},
    move2 = {name = "Bite", level = 30, cd = 10, dist = 1, target = 1, f = 1, t = "dark"},
    move3 = {name = "Quick Attack", level = 30, cd = 10, dist = 2, target = 1, f = 1, t = "normal"},
    move4 = {name = "Ember", level = 30, cd = 15, dist = 10, target = 1, f = 1, t = "fire"},
    move5 = {name = "Flamethrower", level = 30, cd = 20, dist = 1, target = 0, f = 1, t = "fire"},
    move6 = {name = "Fireball", level = 32, cd = 20, dist = 10, target = 1, f = 1, t = "fire"},
    move7 = {name = "Tri Flames", level = 34, cd = 45, dist = 1, target = 0, f = 1, t = "fire"},
    move8 = {name = "War Dog", level = 36, cd = 30, dist = 1, target = 0, f = 0, t = "normal"},
},
["Shiny Growlithe"] =  {
    move1 = {name = "Roar", level = 33, cd = 20, dist = 1, target = 0, f = 0, t = "normal"},
    move2 = {name = "Bite", level = 30, cd = 10, dist = 1, target = 1, f = 1, t = "dark"},
    move3 = {name = "Quick Attack", level = 30, cd = 10, dist = 2, target = 1, f = 1, t = "normal"},
    move4 = {name = "Ember", level = 30, cd = 15, dist = 10, target = 1, f = 1, t = "fire"},
    move5 = {name = "Flamethrower", level = 30, cd = 20, dist = 1, target = 0, f = 1, t = "fire"},
    move6 = {name = "Fireball", level = 32, cd = 20, dist = 10, target = 1, f = 1, t = "fire"},
    move7 = {name = "Tri Flames", level = 34, cd = 45, dist = 1, target = 0, f = 1, t = "fire"},
    move8 = {name = "War Dog", level = 36, cd = 30, dist = 1, target = 0, f = 0, t = "normal"},
},
["Arcanine"] =   {
    move1 = {name = "Roar", level = 100, cd = 20, dist = 1, target = 0, f = 0, t = "normal"},
    move2 = {name = "Bite", level = 90, cd = 10, dist = 1, target = 1, f = 1, t = "dark"},
    move3 = {name = "Ember", level = 90, cd = 15, dist = 10, target = 1, f = 1, t = "fire"},
    move4 = {name = "Flamethrower", level = 90, cd = 20, dist = 1, target = 0, f = 1, t = "fire"},
    move5 = {name = "Fireball", level = 90, cd = 20, dist = 10, target = 1, f = 1, t = "fire"},
    move6 = {name = "Fire Fang", level = 90, cd = 25, dist = 1, target = 1, f = 1, t = "fire"},
    move7 = {name = "ExtremeSpeed", level = 90, cd = 20, dist = 10, target = 1, f = 1, t = "normal"},
    move8 = {name = "Fire Blast", level = 92, cd = 60, dist = 1, target = 0, f = 1, t = "fire"},
    move9 = {name = "Tri Flames", level = 94, cd = 45, dist = 1, target = 0, f = 1, t = "fire"},
    move10 = {name = "War Dog", level = 96, cd = 30, dist = 1, target = 0, f = 0, t = "normal"},
},
["Shiny Arcanine"] =   {
    move1 = {name = "Roar", level = 100, cd = 20, dist = 1, target = 0, f = 0, t = "normal"},
    move2 = {name = "Bite", level = 90, cd = 10, dist = 1, target = 1, f = 1, t = "dark"},
    move3 = {name = "Ember", level = 90, cd = 15, dist = 10, target = 1, f = 1, t = "fire"},
    move4 = {name = "Flamethrower", level = 90, cd = 20, dist = 1, target = 0, f = 1, t = "fire"},
    move5 = {name = "Fireball", level = 90, cd = 20, dist = 10, target = 1, f = 1, t = "fire"},
    move6 = {name = "Fire Fang", level = 90, cd = 25, dist = 1, target = 1, f = 1, t = "fire"},
    move7 = {name = "ExtremeSpeed", level = 90, cd = 20, dist = 10, target = 1, f = 1, t = "normal"},
    move8 = {name = "Fire Blast", level = 92, cd = 60, dist = 1, target = 0, f = 1, t = "fire"},
    move9 = {name = "Tri Flames", level = 94, cd = 45, dist = 1, target = 0, f = 1, t = "fire"},
    move10 = {name = "War Dog", level = 96, cd = 30, dist = 1, target = 0, f = 0, t = "normal"},
},
["Poliwag"] =    {
    move1 = {name = "Doubleslap", level = 1, cd = 5, dist = 1, target = 1, f = 1, t = "normal"},
    move2 = {name = "Bubbles", level = 1, cd = 10, dist = 10, target = 1, f = 1, t = "water"},
    move3 = {name = "Water Gun", level = 6, cd = 15, dist = 1, target = 0, f = 1, t = "water"},
    move4 = {name = "Aqua Tail", level = 3, cd = 15, dist = 1, target = 1, f = 1, t = "water"},
    move5 = {name = "Hypnosis", level = 8, cd = 20, dist = 10, target = 1, f = 0, t = "psychic"},
},
["Poliwhirl"] =  {
    move1 = {name = "Mud Shot", level = 30, cd = 15, dist = 10, target = 1, f = 1, t = "ground"},
    move2 = {name = "Doubleslap", level = 30, cd = 10, dist = 1, target = 1, f = 1, t = "normal"},
    move3 = {name = "Bubbles", level = 30, cd = 15, dist = 10, target = 1, f = 1, t = "water"},
    move4 = {name = "Water Gun", level = 30, cd = 20, dist = 1, target = 0, f = 1, t = "water"},
    move5 = {name = "Ice Beam", level = 30, cd = 25, dist = 1, target = 0, f = 1, t = "ice"},
    move6 = {name = "Hammer Arm", level = 32, cd = 60, dist = 1, target = 0, f = 1, t = "fighting"},
    move7 = {name = "Dynamic Punch", level = 40, cd = 25, dist = 1, target = 0, f = 1, t = "fighting"},
    move8 = {name = "Hypnosis", level = 30, cd = 20, dist = 10, target = 1, f = 0, t = "psychic"},
},
["Poliwrath"] =  {
    move1 = {name = "Mud Shot", level = 70, cd = 15, dist = 10, target = 1, f = 1, t = "ground"},
    move2 = {name = "Doubleslap", level = 70, cd = 10, dist = 1, target = 1, f = 1, t = "normal"},
    move3 = {name = "Bubblebeam", level = 70, cd = 20, dist = 10, target = 1, f = 1, t = "water"},
    move4 = {name = "Water Gun", level = 70, cd = 20, dist = 1, target = 0, f = 1, t = "water"},
    move5 = {name = "Ice Beam", level = 70, cd = 25, dist = 1, target = 0, f = 1, t = "ice"},
    move6 = {name = "Hammer Arm", level = 72, cd = 60, dist = 1, target = 0, f = 1, t = "fighting"},
    move7 = {name = "Dynamic Punch", level = 80, cd = 25, dist = 1, target = 0, f = 1, t = "fighting"},
    move8 = {name = "Ground Chop", level = 78, cd = 30, dist = 1, target = 0, f = 1, t = "fighting"},
    move9 = {name = "Hypnosis", level = 70, cd = 25, dist = 10, target = 1, f = 0, t = "psychic"},
},
["Abra"] =       {
    move1 = {name = "Restore", level = 15, cd = 180, dist = 1, target = 0, f = 0, t = "normal"},
    move2 = {name = "Psy Pulse", level = 10, cd = 15, dist = 10, target = 1, f = 1, t = "psychic"},
    move3 = {name = "Psychic", level = 20, cd = 40, dist = 1, target = 0, f = 1, t = "psychic"},
    move4 = {name = "Calm Mind", level = 13, cd = 50, dist = 1, target = 0, f = 0, t = "psychic"},
},
["Shiny Abra"] =       {
    move1 = {name = "Restore", level = 15, cd = 180, dist = 1, target = 0, f = 0, t = "normal"},
    move2 = {name = "Psy Pulse", level = 10, cd = 15, dist = 10, target = 1, f = 1, t = "psychic"},
    move3 = {name = "Psychic", level = 20, cd = 40, dist = 1, target = 0, f = 1, t = "psychic"},
    move4 = {name = "Calm Mind", level = 13, cd = 50, dist = 1, target = 0, f = 0, t = "psychic"},
},
["Kadabra"] =    {
    move1 = {name = "Psybeam", level = 40, cd = 15, dist = 1, target = 0, f = 1, t = "psychic"},
    move2 = {name = "Psywave", level = 40, cd = 20, dist = 1, target = 0, f = 1, t = "psychic"},
    move3 = {name = "Psy Pulse", level = 40, cd = 15, dist = 10, target = 1, f = 1, t = "psychic"},
    move4 = {name = "Confusion", level = 40, cd = 35, dist = 1, target = 0, f = 1, t = "psychic"},
    move5 = {name = "Psychic", level = 42, cd = 40, dist = 1, target = 0, f = 1, t = "psychic"},
    move6 = {name = "Calm Mind", level = 40, cd = 50, dist = 1, target = 0, f = 0, t = "psychic"},
    move7 = {name = "Hypnosis", level = 40, cd = 80, dist = 10, target = 1, f = 0, t = "psychic"},
    move8 = {name = "Reflect", level = 55, cd = 60, dist = 1, target = 0, f = 0, t = "psychic"},
    move9 = {name = "Restore", level = 45, cd = 180, dist = 1, target = 0, f = 0, t = "normal"},
},
["Alakazam"] =  {
    move1 = {name = "Psybeam", level = 80, cd = 15, dist = 1, target = 0, f = 1, t = "psychic"},
    move2 = {name = "Psywave", level = 80, cd = 20, dist = 1, target = 0, f = 1, t = "psychic"},
    move3 = {name = "Psy Pulse", level = 80, cd = 15, dist = 10, target = 1, f = 1, t = "psychic"},
    move4 = {name = "Confusion", level = 80, cd = 35, dist = 1, target = 0, f = 1, t = "psychic"},
    move5 = {name = "Psychic", level = 80, cd = 40, dist = 1, target = 0, f = 1, t = "psychic"},
    move6 = {name = "Psyusion", level = 95, cd = 90, dist = 1, target = 0, f = 1, t = "psychic"},
    move7 = {name = "Calm Mind", level = 80, cd = 50, dist = 1, target = 0, f = 0, t = "psychic"},
    move8 = {name = "Hypnosis", level = 80, cd = 80, dist = 10, target = 1, f = 0, t = "psychic"},
    move9 = {name = "Reflect", level = 85, cd = 60, dist = 1, target = 0, f = 0, t = "psychic"},
    move10 = {name = "Restore", level = 85, cd = 180, dist = 1, target = 0, f = 0, t = "normal"},
    move11 = {name = "Miracle Eye", level = 80, cd = 40, dist = 1, target = 0, f = 0, t = "psychic"},    
},
["Shiny Alakazam"] =  {
    move1 = {name = "Psybeam", level = 80, cd = 15, dist = 1, target = 0, f = 1, t = "psychic"},
    move2 = {name = "Psywave", level = 80, cd = 20, dist = 1, target = 0, f = 1, t = "psychic"},
    move3 = {name = "Psy Pulse", level = 80, cd = 15, dist = 10, target = 1, f = 1, t = "psychic"},
    move4 = {name = "Confusion", level = 80, cd = 35, dist = 1, target = 0, f = 1, t = "psychic"},
    move5 = {name = "Psychic", level = 80, cd = 40, dist = 1, target = 0, f = 1, t = "psychic"},
    move6 = {name = "Psyusion", level = 95, cd = 90, dist = 1, target = 0, f = 1, t = "psychic"},
    move7 = {name = "Calm Mind", level = 80, cd = 50, dist = 1, target = 0, f = 0, t = "psychic"},
    move8 = {name = "Hypnosis", level = 80, cd = 80, dist = 10, target = 1, f = 0, t = "psychic"},
    move9 = {name = "Reflect", level = 85, cd = 60, dist = 1, target = 0, f = 0, t = "psychic"},
    move10 = {name = "Restore", level = 85, cd = 180, dist = 1, target = 0, f = 0, t = "normal"},
    move11 = {name = "Miracle Eye", level = 80, cd = 40, dist = 1, target = 0, f = 0, t = "psychic"},    
},
["Machop"] =   {
    move1 = {name = "Triple Punch", level = 20, cd = 10, dist = 1, target = 1, f = 1, t = "fighting"},
    move2 = {name = "Mega Punch", level = 20, cd = 15, dist = 1, target = 1, f = 1, t = "fighting"},
    move3 = {name = "Karate Chop", level = 24, cd = 15, dist = 1, target = 1, f = 1, t = "fighting"},
    move4 = {name = "Ground Chop", level = 28, cd = 15, dist = 1, target = 0, f = 1, t = "fighting"},
    move5 = {name = "Strafe", level = 30, cd = 20, dist = 1, target = 0, f = 0, t = "normal"},
},
["Machoke"] = {
    move1 = {name = "Triple Punch", level = 42, cd = 10, dist = 1, target = 1, f = 1, t = "fighting"},
    move2 = {name = "Mega Punch", level = 40, cd = 15, dist = 1, target = 1, f = 1, t = "fighting"},
    move3 = {name = "Mega Kick", level = 44, cd = 15, dist = 1, target = 1, f = 1, t = "fighting"},
    move4 = {name = "Karate Chop", level = 40, cd = 20, dist = 1, target = 1, f = 1, t = "fighting"},
    move5 = {name = "Ground Chop", level = 40, cd = 20, dist = 1, target = 0, f = 1, t = "fighting"},
    move6 = {name = "Hammer Arm", level = 45, cd = 60, dist = 1, target = 0, f = 1, t = "fighting"},
    move7 = {name = "Strafe", level = 48, cd = 20, dist = 1, target = 0, f = 0, t = "normal"},
},
["Machamp"] =  {
    move1 = {name = "Triple Punch", level = 80, cd = 15, dist = 1, target = 1, f = 1, t = "fighting"},
    move2 = {name = "Mega Punch", level = 80, cd = 15, dist = 1, target = 1, f = 1, t = "fighting"},
    move3 = {name = "Revenge", level = 82, cd = 40, dist = 1, target = 0, f = 1, t = "fighting"},
    move4 = {name = "Ground Chop", level = 80, cd = 25, dist = 1, target = 0, f = 1, t = "fighting"},
    move5 = {name = "Fist Machine", level = 86, cd = 25, dist = 1, target = 0, f = 1, t = "fighting"},
    move6 = {name = "Destroyer Hand", level = 88, cd = 45, dist = 1, target = 0, f = 1, t = "fighting"},
    move7 = {name = "Dynamic Punch", level = 90, cd = 30, dist = 1, target = 0, f = 1, t = "fighting"},  
    move8 = {name = "Strafe", level = 80, cd = 25, dist = 1, target = 0, f = 0, t = "normal"},
},
["Shiny Machamp"] =  {
    move1 = {name = "Triple Punch", level = 80, cd = 15, dist = 1, target = 1, f = 1, t = "fighting"},
    move2 = {name = "Mega Punch", level = 80, cd = 15, dist = 1, target = 1, f = 1, t = "fighting"},
    move3 = {name = "Revenge", level = 82, cd = 40, dist = 1, target = 0, f = 1, t = "fighting"},
    move4 = {name = "Ground Chop", level = 80, cd = 25, dist = 1, target = 0, f = 1, t = "fighting"},
    move5 = {name = "Fist Machine", level = 86, cd = 25, dist = 1, target = 0, f = 1, t = "fighting"},
    move6 = {name = "Destroyer Hand", level = 88, cd = 45, dist = 1, target = 0, f = 1, t = "fighting"},
    move7 = {name = "Dynamic Punch", level = 90, cd = 30, dist = 1, target = 0, f = 1, t = "fighting"},  
    move8 = {name = "Strafe", level = 80, cd = 25, dist = 1, target = 0, f = 0, t = "normal"},
},
["Bellsprout"] = {
    move1 = {name = "Razor Leaf", level = 10, cd = 10, dist = 10, target = 1, f = 1, t = "grass"},  
    move2 = {name = "Vine Whip", level = 12, cd = 12, dist = 1, target = 0, f = 1, t = "grass"},
    move3 = {name = "Acid", level = 8, cd = 10, dist = 10, target = 1, f = 1, t = "poison"},
    move4 = {name = "Slash", level = 5, cd = 15, dist = 1, target = 1, f = 1, t = "normal"},
},
["Weepinbell"] = {
    move1 = {name = "Razor Leaf", level = 30, cd = 10, dist = 10, target = 1, f = 1, t = "grass"},
    move2 = {name = "Vine Whip", level = 30, cd = 15, dist = 1, target = 0, f = 1, t = "grass"},
    move3 = {name = "Acid", level = 30, cd = 10, dist = 10, target = 1, f = 1, t = "poison"},
    move4 = {name = "Poison Bomb", level = 32, cd = 14, dist = 10, target = 1, f = 1, t = "poison"},
    move5 = {name = "Slash", level = 30, cd = 20, dist = 1, target = 1, f = 1, t = "normal"},
    move6 = {name = "Stun Spore", level = 30, cd = 25, dist = 1, target = 0, f = 0, t = "normal"},
    move7 = {name = "Leaf Storm", level = 38, cd = 60, dist = 1, target = 0, f = 1, t = "grass"},
},
["Victreebel"] = {
    move1 = {name = "Razor Leaf", level = 50, cd = 10, dist = 10, target = 1, f = 1, t = "grass"},
    move2 = {name = "Vine Whip", level = 50, cd = 15, dist = 1, target = 0, f = 1, t = "grass"},
    move3 = {name = "Acid", level = 50, cd = 12, dist = 10, target = 1, f = 1, t = "poison"},
    move4 = {name = "Poison Bomb", level = 50, cd = 20, dist = 10, target = 1, f = 1, t = "poison"},
    move5 = {name = "Slash", level = 50, cd = 20, dist = 1, target = 1, f = 1, t = "normal"},
    move6 = {name = "Stun Spore", level = 50, cd = 25, dist = 1, target = 0, f = 0, t = "normal"},
    move7 = {name = "Poison powder", level = 50, cd = 20, dist = 1, target = 0, f = 0, t = "normal"},
    move8 = {name = "Sleep Powder", level = 55, cd = 70, dist = 1, target = 0, f = 0, t = "normal"},
    move9 = {name = "Leaf Storm", level = 60, cd = 60, dist = 1, target = 0, f = 1, t = "grass"},
    move10 = {name = "Giga Drain", level = 55, cd = 25, dist = 1, target = 1, f = 1, t = "grass"},
},
["Tentacool"] =  {
    move1 = {name = "Super Sonic", level = 16, cd = 15, dist = 10, target = 1, f = 0, t = "normal"},
    move2 = {name = "Wrap", level = 10, cd = 20, dist = 10, target = 1, f = 0, t = "normal"}, 
    move3 = {name = "Bubbles", level = 10, cd = 10, dist = 10, target = 1, f = 1, t = "water"},
    move4 = {name = "Poison Jab", level = 10, cd = 16, dist = 10, target = 1, f = 1, t = "poison"},
    move5 = {name = "Acid", level = 10, cd = 15, dist = 10, target = 1, f = 1, t = "poison"},
    move6 = {name = "Waterball", level = 10, cd = 20, dist = 10, target = 1, f = 1, t = "water"},
},
["Shiny Tentacool"] =  {
    move1 = {name = "Super Sonic", level = 16, cd = 15, dist = 10, target = 1, f = 0, t = "normal"},
    move2 = {name = "Wrap", level = 10, cd = 20, dist = 10, target = 1, f = 0, t = "normal"}, 
    move3 = {name = "Bubbles", level = 10, cd = 10, dist = 10, target = 1, f = 1, t = "water"},
    move4 = {name = "Poison Jab", level = 10, cd = 16, dist = 10, target = 1, f = 1, t = "poison"},
    move5 = {name = "Acid", level = 10, cd = 15, dist = 10, target = 1, f = 1, t = "poison"},
    move6 = {name = "Waterball", level = 10, cd = 20, dist = 10, target = 1, f = 1, t = "water"},
},
["Tentacruel"] = {
    move1 = {name = "Super Sonic", level = 80, cd = 15, dist = 10, target = 1, f = 0, t = "normal"},
    move2 = {name = "Wrap", level = 80, cd = 20, dist = 10, target = 1, f = 0, t = "normal"}, 
    move3 = {name = "Bubbles", level = 80, cd = 10, dist = 10, target = 1, f = 1, t = "water"},
    move4 = {name = "Poison Jab", level = 80, cd = 16, dist = 10, target = 1, f = 1, t = "poison"},
    move5 = {name = "Waterball", level = 80, cd = 20, dist = 10, target = 1, f = 1, t = "water"},
    move6 = {name = "Bubblebeam", level = 80, cd = 20, dist = 10, target = 1, f = 1, t = "water"},
    move7 = {name = "Acid", level = 80, cd = 15, dist = 10, target = 1, f = 1, t = "poison"},
    move8 = {name = "Poison Bomb", level = 80, cd = 25, dist = 10, target = 1, f = 1, t = "poison"},
    move9 = {name = "Mortal Gas", level = 88, cd = 45, dist = 1, target = 0, f = 1, t = "poison"},
    move10 = {name = "Hydropump", level = 90, cd = 60, dist = 1, target = 0, f = 1, t = "water"},
},
["Shiny Tentacruel"] = {
    move1 = {name = "Super Sonic", level = 80, cd = 15, dist = 10, target = 1, f = 0, t = "normal"},
    move2 = {name = "Wrap", level = 80, cd = 20, dist = 10, target = 1, f = 0, t = "normal"}, 
    move3 = {name = "Bubbles", level = 80, cd = 10, dist = 10, target = 1, f = 1, t = "water"},
    move4 = {name = "Poison Jab", level = 80, cd = 16, dist = 10, target = 1, f = 1, t = "poison"},
    move5 = {name = "Waterball", level = 80, cd = 20, dist = 10, target = 1, f = 1, t = "water"},
    move6 = {name = "Bubblebeam", level = 80, cd = 20, dist = 10, target = 1, f = 1, t = "water"},
    move7 = {name = "Acid", level = 80, cd = 15, dist = 10, target = 1, f = 1, t = "poison"},
    move8 = {name = "Poison Bomb", level = 80, cd = 25, dist = 10, target = 1, f = 1, t = "poison"},
    move9 = {name = "Mortal Gas", level = 88, cd = 45, dist = 1, target = 0, f = 1, t = "poison"},
    move10 = {name = "Hydropump", level = 90, cd = 60, dist = 1, target = 0, f = 1, t = "water"},
},
["Geodude"] =    {
    move1 = {name = "Rock Throw", level = 10, cd = 10, dist = 10, target = 1, f = 1, t = "rock"},
    move2 = {name = "Rock Slide", level = 10, cd = 15, dist = 10, target = 1, f = 1, t = "rock"},
    move3 = {name = "Stone Edge", level = 13, cd = 20, dist = 10, target = 1, f = 1, t = "rock"}, 
    move4 = {name = "Earthshock", level = 20, cd = 80, dist = 1, target = 0, f = 1, t = "ground"},
    move5 = {name = "Harden", level = 15, cd = 50, dist = 1, target = 0, f = 0, t = "normal"},
},
["Graveler"] =   {
    move1 = {name = "Rock Throw", level = 40, cd = 10, dist = 10, target = 1, f = 1, t = "rock"},
    move2 = {name = "Rock Slide", level = 40, cd = 15, dist = 10, target = 1, f = 1, t = "rock"},
    move3 = {name = "Stone Edge", level = 40, cd = 20, dist = 10, target = 1, f = 1, t = "rock"}, 
    move4 = {name = "Earthshock", level = 40, cd = 80, dist = 1, target = 0, f = 1, t = "ground"},
    move5 = {name = "Falling Rocks", level = 50, cd = 100, dist = 1, target = 0, f = 1, t = "rock"},
    move6 = {name = "Harden", level = 45, cd = 50, dist = 1, target = 0, f = 0, t = "normal"},
    move7 = {name = "Selfdestruct", level = 40, cd = 120, dist = 1, target = 0, f = 0, t = "normal"},
},
["Golem"] =  {
    move1 = {name = "Rock Throw", level = 70, cd = 10, dist = 10, target = 1, f = 1, t = "rock"},
    move2 = {name = "Rock Slide", level = 70, cd = 15, dist = 10, target = 1, f = 1, t = "rock"},
    move3 = {name = "Stone Edge", level = 70, cd = 20, dist = 10, target = 1, f = 1, t = "rock"}, 
    move4 = {name = "Earthshock", level = 70, cd = 80, dist = 1, target = 0, f = 1, t = "ground"},
    move5 = {name = "Falling Rocks", level = 75, cd = 100, dist = 1, target = 0, f = 1, t = "rock"},
    move6 = {name = "Harden", level = 70, cd = 50, dist = 1, target = 0, f = 0, t = "normal"},
    move7 = {name = "Rollout", level = 70, cd = 60, dist = 1, target = 0, f = 1, t = "rock"},
    move8 = {name = "Selfdestruct", level = 70, cd = 120, dist = 1, target = 0, f = 0, t = "normal"},
},
["Shiny Golem"] =  {
    move1 = {name = "Rock Throw", level = 70, cd = 10, dist = 10, target = 1, f = 1, t = "rock"},
    move2 = {name = "Rock Slide", level = 70, cd = 15, dist = 10, target = 1, f = 1, t = "rock"},
    move3 = {name = "Stone Edge", level = 70, cd = 20, dist = 10, target = 1, f = 1, t = "rock"}, 
    move4 = {name = "Earthshock", level = 70, cd = 80, dist = 1, target = 0, f = 1, t = "ground"},
    move5 = {name = "Falling Rocks", level = 75, cd = 100, dist = 1, target = 0, f = 1, t = "rock"},
    move6 = {name = "Harden", level = 70, cd = 50, dist = 1, target = 0, f = 0, t = "normal"},
    move7 = {name = "Rollout", level = 70, cd = 60, dist = 1, target = 0, f = 1, t = "rock"},
    move8 = {name = "Selfdestruct", level = 70, cd = 120, dist = 1, target = 0, f = 0, t = "normal"},
},
["Ponyta"] =  {
    move1 = {name = "Quick Attack", level = 20, cd = 15, dist = 2, target = 1, f = 1, t = "normal"},
    move2 = {name = "Ember", level = 20, cd = 10, dist = 10, target = 1, f = 1, t = "fire"},
    move3 = {name = "Flamethrower", level = 26, cd = 20, dist = 1, target = 0, f = 1, t = "fire"},
    move4 = {name = "Fireball", level = 23, cd = 25, dist = 10, target = 1, f = 1, t = "fire"},
    move5 = {name = "Stomp", level = 28, cd = 40, dist = 1, target = 0, f = 1, t = "ground"},
},
["Rapidash"] =   {
    move1 = {name = "Horn Attack", level = 70, cd = 10, dist = 2, target = 1, f = 1, t = "normal"},
    move2 = {name = "Ember", level = 70, cd = 10, dist = 10, target = 1, f = 1, t = "fire"},
    move3 = {name = "Stomp", level = 78, cd = 40, dist = 1, target = 0, f = 1, t = "ground"},
    move4 = {name = "Fireball", level = 73, cd = 20, dist = 10, target = 1, f = 1, t = "fire"},
    move5 = {name = "Flamethrower", level = 76, cd = 20, dist = 1, target = 0, f = 1, t = "fire"},
    move6 = {name = "Fire Blast", level = 70, cd = 60, dist = 1, target = 0, f = 1, t = "fire"},
    move7 = {name = "Inferno", level = 80, cd = 45, dist = 1, target = 0, f = 1, t = "fire"},
    move8 = {name = "Megahorn", level = 77, cd = 35, dist = 1, target = 0, f = 1, t = "bug"},   
},
["Slowpoke"] =   {
    move1 = {name = "Aqua Tail", level = 10, cd = 10, dist = 1, target = 1, f = 1, t = "water"},
    move2 = {name = "Headbutt", level = 10, cd = 15, dist = 1, target = 1, f = 1, t = "normal"},
    move3 = {name = "Iron Tail", level = 10, cd = 10, dist = 1, target = 1, f = 1, t = "steel"},
    move4 = {name = "Waterball", level = 13, cd = 15, dist = 10, target = 1, f = 1, t = "water"},
    move5 = {name = "Water Gun", level = 15, cd = 19, dist = 1, target = 0, f = 1, t = "water"},
    move6 = {name = "Confusion", level = 20, cd = 25, dist = 1, target = 0, f = 1, t = "psychic"},
},
["Slowbro"] =    {
    move1 = {name = "Aqua Tail", level = 50, cd = 15, dist = 1, target = 1, f = 1, t = "water"},
    move2 = {name = "Headbutt", level = 50, cd = 10, dist = 1, target = 1, f = 1, t = "normal"},
    move3 = {name = "Iron Tail", level = 50, cd = 10, dist = 1, target = 1, f = 1, t = "steel"},
    move4 = {name = "Waterball", level = 50, cd = 15, dist = 10, target = 1, f = 1, t = "water"},
    move5 = {name = "Water Pulse", level = 50, cd = 25, dist = 1, target = 0, f = 1, t = "water"},
    move6 = {name = "Confusion", level = 50, cd = 25, dist = 1, target = 0, f = 1, t = "psychic"},
    move7 = {name = "Psychic", level = 60, cd = 30, dist = 1, target = 0, f = 1, t = "psychic"},
    move8 = {name = "Yawn", level = 50, cd = 50, dist = 10, target = 1, f = 0, t = "normal"}, 
},
["Magnemite"] =  {
    move1 = {name = "Super Sonic", level = 10, cd = 35, dist = 10, target = 1, f = 0, t = "normal"},
    move2 = {name = "Thunder Shock", level = 10, cd = 10, dist = 10, target = 1, f = 1, t = "electric"},
    move3 = {name = "Spark", level = 10, cd = 15, dist = 10, target = 1, f = 1, t = "electric"},
    move4 = {name = "Zap Cannon", level = 15, cd = 40, dist = 1, target = 0, f = 1, t = "electric"},
    move5 = {name = "Sonicboom", level = 15, cd = 30, dist = 10, target = 1, f = 1, t = "normal"},
},
["Magneton"] =   {
    move1 = {name = "Super Sonic", level = 80, cd = 35, dist = 10, target = 1, f = 0, t = "normal"},
    move2 = {name = "Thunder Shock", level = 80, cd = 10, dist = 10, target = 1, f = 1, t = "electric"},
    move3 = {name = "Spark", level = 80, cd = 15, dist = 10, target = 1, f = 1, t = "electric"},
    move4 = {name = "Tri-Attack", level = 95, cd = 25, dist = 10, target = 1, f = 1, t = "normal"},
    move5 = {name = "Thunder", level = 88, cd = 35, dist = 1, target = 0, f = 1, t = "electric"},
    move6 = {name = "Electric Storm", level = 92, cd = 50, dist = 1, target = 0, f = 1, t = "electric"},
    move7 = {name = "Zap Cannon", level = 80, cd = 40, dist = 1, target = 0, f = 1, t = "electric"},
    move8 = {name = "Hyper Beam", level = 65, cd = 25, dist = 1, target = 0, f = 1, t = "normal"},
    move9 = {name = "Sonicboom", level = 60, cd = 30, dist = 10, target = 1, f = 1, t = "normal"},
},
["Shiny Magneton"] =   {
    move1 = {name = "Super Sonic", level = 80, cd = 35, dist = 10, target = 1, f = 0, t = "normal"},
    move2 = {name = "Thunder Shock", level = 80, cd = 10, dist = 10, target = 1, f = 1, t = "electric"},
    move3 = {name = "Spark", level = 80, cd = 15, dist = 10, target = 1, f = 1, t = "electric"},
    move4 = {name = "Tri-Attack", level = 95, cd = 25, dist = 10, target = 1, f = 1, t = "normal"},
    move5 = {name = "Thunder", level = 88, cd = 35, dist = 1, target = 0, f = 1, t = "electric"},
    move6 = {name = "Electric Storm", level = 92, cd = 50, dist = 1, target = 0, f = 1, t = "electric"},
    move7 = {name = "Zap Cannon", level = 80, cd = 40, dist = 1, target = 0, f = 1, t = "electric"},
    move8 = {name = "Hyper Beam", level = 65, cd = 25, dist = 1, target = 0, f = 1, t = "normal"},
    move9 = {name = "Sonicboom", level = 60, cd = 30, dist = 10, target = 1, f = 1, t = "normal"},
},
["Farfetchd"] = {
    move1 = {name = "Sand Attack", level = 50, cd = 15, dist = 1, target = 0, f = 0, t = "ground"},
    move2 = {name = "Drill Peck", level = 50, cd = 20, dist = 1, target = 1, f = 1, t = "flying"},
    move3 = {name = "Stick Throw", level = 52, cd = 20, dist = 1, target = 0, f = 1, t = "flying"},
    move4 = {name = "Stickslash", level = 51, cd = 25, dist = 1, target = 0, f = 1, t = "flying"},
    move5 = {name = "Stickmerang", level = 54, cd = 15, dist = 10, target = 1, f = 1, t = "flying"},
    move6 = {name = "Night Slash", level = 50, cd = 20, dist = 1, target = 0, f = 1, t = "dark"},
    move7 = {name = "Air Slash", level = 53, cd = 40, dist = 1, target = 0, f = 1, t = "flying"},
    move8 = {name = "Agility", level = 50, cd = 40, dist = 1, target = 0, f = 0, t = "flying"},
},
["Shiny Farfetchd"] = {
    move1 = {name = "Sand Attack", level = 50, cd = 15, dist = 1, target = 0, f = 0, t = "ground"},
    move2 = {name = "Drill Peck", level = 50, cd = 20, dist = 1, target = 1, f = 1, t = "flying"},
    move3 = {name = "Stick Throw", level = 52, cd = 20, dist = 1, target = 0, f = 1, t = "flying"},
    move4 = {name = "Stickslash", level = 51, cd = 25, dist = 1, target = 0, f = 1, t = "flying"},
    move5 = {name = "Stickmerang", level = 54, cd = 15, dist = 10, target = 1, f = 1, t = "flying"},
    move6 = {name = "Night Slash", level = 50, cd = 20, dist = 1, target = 0, f = 1, t = "dark"},
    move7 = {name = "Air Slash", level = 53, cd = 40, dist = 1, target = 0, f = 1, t = "flying"},
    move8 = {name = "Agility", level = 50, cd = 40, dist = 1, target = 0, f = 0, t = "flying"},
},
["Doduo"] =  {
    move1 = {name = "Sand Attack", level = 10, cd = 15, dist = 1, target = 0, f = 0, t = "ground"},
    move2 = {name = "Quick Attack", level = 10, cd = 10, dist = 2, target = 1, f = 1, t = "normal"},
    move3 = {name = "Drill Peck", level = 11, cd = 15, dist = 1, target = 1, f = 1, t = "flying"},
    move4 = {name = "Rage", level = 15, cd = 20, dist = 1, target = 0, f = 0, t = "dragon"},
    move5 = {name = "Strafe", level = 15, cd = 20, dist = 1, target = 0, f = 0, t = "normal"},
},
["Dodrio"] =     {
    move1 = {name = "Sand Attack", level = 50, cd = 15, dist = 1, target = 0, f = 0, t = "ground"},
    move2 = {name = "Quick Attack", level = 50, cd = 10, dist = 2, target = 1, f = 1, t = "normal"},
    move3 = {name = "Drill Peck", level = 50, cd = 20, dist = 1, target = 1, f = 1, t = "flying"},
    move4 = {name = "Pluck", level = 55, cd = 15, dist = 1, target = 1, f = 1, t = "flying"},
    move5 = {name = "Tri-Attack", level = 60, cd = 25, dist = 10, target = 1, f = 1, t = "normal"},
    move6 = {name = "Air Cutter", level = 50, cd = 30, dist = 1, target = 0, f = 1, t = "flying"},
    move7 = {name = "Air Slash", level = 53, cd = 40, dist = 1, target = 0, f = 1, t = "flying"},
    move8 = {name = "Roost", level = 55, cd = 60, dist = 1, target = 0, f = 0, t = "flying"},
    move9 = {name = "Rage", level = 50, cd = 20, dist = 1, target = 0, f = 0, t = "dragon"},
    move10 = {name = "Strafe", level = 50, cd = 20, dist = 1, target = 0, f = 0, t = "normal"},
},
["Shiny Dodrio"] =     {
    move1 = {name = "Sand Attack", level = 50, cd = 15, dist = 1, target = 0, f = 0, t = "ground"},
    move2 = {name = "Quick Attack", level = 50, cd = 10, dist = 2, target = 1, f = 1, t = "normal"},
    move3 = {name = "Drill Peck", level = 50, cd = 20, dist = 1, target = 1, f = 1, t = "flying"},
    move4 = {name = "Pluck", level = 55, cd = 15, dist = 1, target = 1, f = 1, t = "flying"},
    move5 = {name = "Aerial Ace", level = 50, cd = 60, dist = 1, target = 0, f = 1, t = "flying"},
    move6 = {name = "Air Cutter", level = 50, cd = 30, dist = 1, target = 0, f = 1, t = "flying"},
    move7 = {name = "Air Slash", level = 53, cd = 40, dist = 1, target = 0, f = 1, t = "flying"},
    move8 = {name = "Roost", level = 55, cd = 60, dist = 1, target = 0, f = 0, t = "flying"},
    move9 = {name = "Rage", level = 50, cd = 20, dist = 1, target = 0, f = 0, t = "dragon"},
    move10 = {name = "Strafe", level = 50, cd = 20, dist = 1, target = 0, f = 0, t = "normal"},
},
["Seel"] =  {
    move1 = {name = "Headbutt", level = 20, cd = 10, dist = 1, target = 1, f = 1, t = "normal"},
    move2 = {name = "Aqua Tail", level = 20, cd = 10, dist = 1, target = 1, f = 1, t = "water"},
    move3 = {name = "Ice Shards", level = 20, cd = 15, dist = 10, target = 1, f = 1, t = "ice"},
    move4 = {name = "Ice Beam", level = 24, cd = 25, dist = 1, target = 0, f = 1, t = "ice"},
    move5 = {name = "Icy Wind", level = 26, cd = 20, dist = 1, target = 0, f = 1, t = "ice"},
    move6 = {name = "Aurora Beam", level = 30, cd = 25, dist = 1, target = 0, f = 1, t = "ice"},
},
["Dewgong"] =  {
    move1 = {name = "Aqua Tail", level = 60, cd = 15, dist = 1, target = 1, f = 1, t = "water"},
    move2 = {name = "Headbutt", level = 60, cd = 10, dist = 1, target = 1, f = 1, t = "normal"},
    move3 = {name = "Bubble Blast", level = 60, cd = 40, dist = 1, target = 0, f = 1, t = "water"},
    move4 = {name = "Ice Shards", level = 60, cd = 20, dist = 10, target = 1, f = 1, t = "ice"},
    move5 = {name = "Ice Beam", level = 60, cd = 25, dist = 1, target = 0, f = 1, t = "ice"},
    move6 = {name = "Icy Wind", level = 60, cd = 20, dist = 1, target = 0, f = 1, t = "ice"},
    move7 = {name = "Aurora Beam", level = 64, cd = 25, dist = 1, target = 0, f = 1, t = "ice"},
    move8 = {name = "Blizzard", level = 66, cd = 50, dist = 1, target = 0, f = 1, t = "ice"},
    move9 = {name = "Rest", level = 66, cd = 60, dist = 1, target = 0, f = 0, t = "normal"},
    move10 = {name = "Safeguard", level = 70, cd = 40, dist = 1, target = 0, f = 0, t = "normal"},
},
["Grimer"] =  {
    move1 = {name = "Mud Shot", level = 10, cd = 15, dist = 10, target = 1, f = 1, t = "ground"},
    move2 = {name = "Acid", level = 10, cd = 10, dist = 10, target = 1, f = 1, t = "poison"},
    move3 = {name = "Sludge", level = 10, cd = 15, dist = 10, target = 1, f = 1, t = "poison"},
    move4 = {name = "Mud Bomb", level = 13, cd = 20, dist = 10, target = 1, f = 1, t = "ground"},
    move5 = {name = "Poison Bomb", level = 15, cd = 25, dist = 10, target = 1, f = 1, t = "poison"},
    move6 = {name = "Harden", level = 17, cd = 30, dist = 1, target = 0, f = 0, t = "normal"},
},
["Shiny Grimer"] =  {
    move1 = {name = "Mud Shot", level = 10, cd = 15, dist = 10, target = 1, f = 1, t = "ground"},
    move2 = {name = "Acid", level = 10, cd = 10, dist = 10, target = 1, f = 1, t = "poison"},
    move3 = {name = "Sludge", level = 10, cd = 15, dist = 10, target = 1, f = 1, t = "poison"},
    move4 = {name = "Mud Bomb", level = 13, cd = 20, dist = 10, target = 1, f = 1, t = "ground"},
    move5 = {name = "Poison Bomb", level = 15, cd = 25, dist = 10, target = 1, f = 1, t = "poison"},
    move6 = {name = "Harden", level = 17, cd = 30, dist = 1, target = 0, f = 0, t = "normal"},
},
["Muk"] =  {
    move1 = {name = "Mud Shot", level = 80, cd = 15, dist = 10, target = 1, f = 1, t = "ground"},
    move2 = {name = "Acid", level = 80, cd = 10, dist = 10, target = 1, f = 1, t = "poison"},
    move3 = {name = "Sludge", level = 80, cd = 20, dist = 10, target = 1, f = 1, t = "poison"},
    move4 = {name = "Mud Bomb", level = 80, cd = 20, dist = 10, target = 1, f = 1, t = "ground"},
    move5 = {name = "Poison Bomb", level = 80, cd = 30, dist = 10, target = 1, f = 1, t = "poison"},
    move6 = {name = "Sludge Rain", level = 92, cd = 60, dist = 1, target = 0, f = 1, t = "poison"},
    move7 = {name = "Venom Motion", level = 80, cd = 45, dist = 1, target = 0, f = 1, t = "poison"},
    move8 = {name = "Harden", level = 95, cd = 40, dist = 1, target = 0, f = 0, t = "normal"},
    move9 = {name = "Acid Armor", level = 88, cd = 55, dist = 1, target = 0, f = 0, t = "poison"},
},
["Shiny Muk"] =  {
    move1 = {name = "Mud Shot", level = 80, cd = 15, dist = 10, target = 1, f = 1, t = "ground"},
    move2 = {name = "Acid", level = 80, cd = 10, dist = 10, target = 1, f = 1, t = "poison"},
    move3 = {name = "Sludge", level = 80, cd = 20, dist = 10, target = 1, f = 1, t = "poison"},
    move4 = {name = "Mud Bomb", level = 80, cd = 20, dist = 10, target = 1, f = 1, t = "ground"},
    move5 = {name = "Poison Bomb", level = 80, cd = 30, dist = 10, target = 1, f = 1, t = "poison"},
    move6 = {name = "Sludge Rain", level = 92, cd = 60, dist = 1, target = 0, f = 1, t = "poison"},
    move7 = {name = "Venom Motion", level = 80, cd = 45, dist = 1, target = 0, f = 1, t = "poison"},
    move8 = {name = "Harden", level = 95, cd = 40, dist = 1, target = 0, f = 0, t = "normal"},
    move9 = {name = "Acid Armor", level = 88, cd = 55, dist = 1, target = 0, f = 0, t = "poison"},
},
["Shellder"] =   {
    move1 = {name = "Lick", level = 10, cd = 15, dist = 1, target = 1, f = 0, t = "normal"},
    move2 = {name = "Super Sonic", level = 17, cd = 15, dist = 10, target = 1, f = 0, t = "normal"},
    move3 = {name = "Clamp", level = 14, cd = 10, dist = 10, target = 1, f = 1, t = "water"},
    move4 = {name = "Bubbles", level = 18, cd = 10, dist = 10, target = 1, f = 1, t = "water"},
    move5 = {name = "Ice Beam", level = 20, cd = 20, dist = 1, target = 0, f = 1, t = "ice"},
    move6 = {name = "Harden", level = 16, cd = 25, dist = 1, target = 0, f = 0, t = "normal"},
},
["Cloyster"] =   {
    move1 = {name = "Lick", level = 60, cd = 15, dist = 1, target = 1, f = 0, t = "normal"},
    move2 = {name = "Super Sonic", level = 60, cd = 15, dist = 10, target = 1, f = 0, t = "normal"},
    move3 = {name = "Clamp", level = 60, cd = 15, dist = 10, target = 1, f = 1, t = "water"},
    move4 = {name = "Bubbles", level = 60, cd = 10, dist = 10, target = 1, f = 1, t = "water"},
    move5 = {name = "Ice Beam", level = 60, cd = 20, dist = 1, target = 0, f = 1, t = "ice"},
    move6 = {name = "Aurora Beam", level = 64, cd = 25, dist = 1, target = 0, f = 1, t = "ice"},
    move7 = {name = "Blizzard", level = 68, cd = 50, dist = 1, target = 0, f = 1, t = "ice"},
    move8 = {name = "Harden", level = 62, cd = 30, dist = 1, target = 0, f = 0, t = "normal"},
},
["Gastly"] =   {
    move1 = {name = "Lick", level = 20, cd = 40, dist = 1, target = 1, f = 0, t = "normal"},
    move2 = {name = "Shadow Ball", level = 20, cd = 8, dist = 10, target = 1, f = 1, t = "ghost"},
    move3 = {name = "Night Shade", level = 26, cd = 35, dist = 1, target = 0, f = 1, t = "ghost"},
    move4 = {name = "Invisible", level = 24, cd = 20, dist = 1, target = 0, f = 0, t = "ghost"},
    move5 = {name = "Hypnosis", level = 28, cd = 80, dist = 10, target = 1, f = 0, t = "psychic"},
    move5 = {name = "Fear", level = 30, cd = 40, dist = 1, target = 0, f = 0, t = "ghost"},
},
["Haunter"] =    {
    move1 = {name = "Lick", level = 40, cd = 40, dist = 1, target = 1, f = 0, t = "normal"},
    move2 = {name = "Shadow Ball", level = 40, cd = 10, dist = 10, target = 1, f = 1, t = "ghost"},
    move3 = {name = "Night Shade", level = 40, cd = 35, dist = 1, target = 0, f = 1, t = "ghost"},
    move4 = {name = "Shadow Storm", level = 55, cd = 120, dist = 1, target = 0, f = 1, t = "ghost"},
    move5 = {name = "Invisible", level = 40, cd = 15, dist = 1, target = 0, f = 0, t = "ghost"},
    move6 = {name = "Nightmare", level = 45, cd = 70, dist = 10, target = 1, f = 1, t = "ghost"}, 
    move7 = {name = "Hypnosis", level = 40, cd = 80, dist = 10, target = 1, f = 0, t = "psychic"},
    move8 = {name = "Fear", level = 40, cd = 40, dist = 1, target = 0, f = 0, t = "ghost"},
    move9 = {name = "Dark Eye", level = 40, cd = 35, dist = 1, target = 0, f = 0, t = "ghost"},
},
["Gengar"] =   {
    move1 = {name = "Lick", level = 80, cd = 40, dist = 1, target = 1, f = 0, t = "normal"},
    move2 = {name = "Shadow Ball", level = 80, cd = 15, dist = 10, target = 1, f = 1, t = "ghost"},
    move3 = {name = "Shadow Punch", level = 84, cd = 40, dist = 1, target = 1, f = 1, t = "ghost"},
    move4 = {name = "Night Shade", level = 80, cd = 35, dist = 1, target = 0, f = 1, t = "ghost"},
    move5 = {name = "Shadow Storm", level = 86, cd = 120, dist = 1, target = 0, f = 1, t = "ghost"},
    move6 = {name = "Invisible", level = 80, cd = 15, dist = 1, target = 0, f = 0, t = "ghost"},
    move7 = {name = "Nightmare", level = 80, cd = 70, dist = 10, target = 1, f = 1, t = "ghost"},
    move8 = {name = "Hypnosis", level = 80, cd = 80, dist = 10, target = 1, f = 0, t = "psychic"},
    move9 = {name = "Fear", level = 80, cd = 40, dist = 1, target = 0, f = 0, t = "ghost"},
    move10 = {name = "Dark Eye", level = 80, cd = 35, dist = 1, target = 0, f = 0, t = "ghost"},
},
["Shiny Gengar"] =   {
    move1 = {name = "Lick", level = 80, cd = 40, dist = 1, target = 1, f = 0, t = "normal"},
    move2 = {name = "Shadow Ball", level = 80, cd = 15, dist = 10, target = 1, f = 1, t = "ghost"},
    move3 = {name = "Shadow Punch", level = 84, cd = 40, dist = 1, target = 1, f = 1, t = "ghost"},
    move4 = {name = "Night Shade", level = 80, cd = 35, dist = 1, target = 0, f = 1, t = "ghost"},
    move5 = {name = "Shadow Storm", level = 86, cd = 120, dist = 1, target = 0, f = 1, t = "ghost"},
    move6 = {name = "Invisible", level = 80, cd = 15, dist = 1, target = 0, f = 0, t = "ghost"},
    move7 = {name = "Nightmare", level = 80, cd = 70, dist = 10, target = 1, f = 1, t = "ghost"},
    move8 = {name = "Hypnosis", level = 80, cd = 80, dist = 10, target = 1, f = 0, t = "psychic"},
    move9 = {name = "Fear", level = 80, cd = 40, dist = 1, target = 0, f = 0, t = "ghost"},
    move10 = {name = "Dark Eye", level = 80, cd = 35, dist = 1, target = 0, f = 0, t = "ghost"},
},
["Onix"] =  {
    move1 = {name = "Sand Attack", level = 50, cd = 15, dist = 1, target = 0, f = 0, t = "ground"},
    move2 = {name = "Iron Tail", level = 50, cd = 10, dist = 1, target = 1, f = 1, t = "steel"},  --alterado v1.9
    move3 = {name = "Rock Throw", level = 50, cd = 10, dist = 10, target = 1, f = 1, t = "rock"},
    move4 = {name = "Rock Slide", level = 50, cd = 15, dist = 10, target = 1, f = 1, t = "rock"},
    move5 = {name = "Earthshock", level = 50, cd = 30, dist = 1, target = 0, f = 1, t = "ground"},
    move6 = {name = "Falling Rocks", level = 58, cd = 50, dist = 1, target = 0, f = 1, t = "rock"},
    move7 = {name = "Earthquake", level = 62, cd = 45, dist = 1, target = 0, f = 1, t = "ground"},
    move8 = {name = "Harden", level = 50, cd = 35, dist = 1, target = 0, f = 0, t = "normal"},
},
["Shiny Onix"] =  {
    move1 = {name = "Sand Attack", level = 50, cd = 15, dist = 1, target = 0, f = 0, t = "ground"},
    move2 = {name = "Iron Tail", level = 50, cd = 10, dist = 1, target = 1, f = 1, t = "steel"},  --alterado v1.9
    move3 = {name = "Rock Throw", level = 50, cd = 10, dist = 10, target = 1, f = 1, t = "rock"},
    move4 = {name = "Rock Slide", level = 50, cd = 15, dist = 10, target = 1, f = 1, t = "rock"},
    move5 = {name = "Earthshock", level = 50, cd = 30, dist = 1, target = 0, f = 1, t = "ground"},
    move6 = {name = "Falling Rocks", level = 58, cd = 50, dist = 1, target = 0, f = 1, t = "rock"},
    move7 = {name = "Earthquake", level = 62, cd = 45, dist = 1, target = 0, f = 1, t = "ground"},
    move8 = {name = "Harden", level = 50, cd = 35, dist = 1, target = 0, f = 0, t = "normal"},
},
["Drowzee"] =    {
    move1 = {name = "Headbutt", level = 30, cd = 10, dist = 1, target = 1, f = 1, t = "normal"},
    move2 = {name = "Psybeam", level = 30, cd = 15, dist = 1, target = 0, f = 1, t = "psychic"},
    move3 = {name = "Confusion", level = 32, cd = 25, dist = 1, target = 0, f = 1, t = "psychic"},
    move4 = {name = "Dream Eater", level = 35, cd = 25, dist = 10, target = 1, f = 1, t = "psychic"},
    move5 = {name = "Hypnosis", level = 35, cd = 40, dist = 10, target = 1, f = 0, t = "psychic"},
    move6 = {name = "Focus", level = 37, cd = 30, dist = 1, target = 0, f = 0, t = "normal"},
},
["Hypno"] =   {
    move1 = {name = "Psy Pulse", level = 50, cd = 15, dist = 10, target = 1, f = 1, t = "psychic"},
    move2 = {name = "Psywave", level = 50, cd = 15, dist = 1, target = 0, f = 1, t = "psychic"},
    move3 = {name = "Psybeam", level = 50, cd = 15, dist = 1, target = 0, f = 1, t = "psychic"},
    move4 = {name = "Confusion", level = 50, cd = 25, dist = 1, target = 0, f = 1, t = "psychic"},
    move5 = {name = "Psychic", level = 53, cd = 30, dist = 1, target = 0, f = 1, t = "psychic"},
    move6 = {name = "Dream Eater", level = 56, cd = 30, dist = 10, target = 1, f = 1, t = "psychic"},
    move7 = {name = "Hypnosis", level = 55, cd = 40, dist = 10, target = 1, f = 0, t = "psychic"},
    move8 = {name = "Focus", level = 65, cd = 30, dist = 1, target = 0, f = 0, t = "normal"},
},
["Shiny Hypno"] =   {
    move1 = {name = "Psy Pulse", level = 50, cd = 15, dist = 10, target = 1, f = 1, t = "psychic"},
    move2 = {name = "Psywave", level = 50, cd = 15, dist = 1, target = 0, f = 1, t = "psychic"},
    move3 = {name = "Psybeam", level = 50, cd = 15, dist = 1, target = 0, f = 1, t = "psychic"},
    move4 = {name = "Confusion", level = 50, cd = 25, dist = 1, target = 0, f = 1, t = "psychic"},
    move5 = {name = "Psychic", level = 53, cd = 30, dist = 1, target = 0, f = 1, t = "psychic"},
    move6 = {name = "Dream Eater", level = 56, cd = 30, dist = 10, target = 1, f = 1, t = "psychic"},
    move7 = {name = "Hypnosis", level = 55, cd = 40, dist = 10, target = 1, f = 0, t = "psychic"},
    move8 = {name = "Focus", level = 65, cd = 30, dist = 1, target = 0, f = 0, t = "normal"},
},
["Krabby"] =   {
    move1 = {name = "Bubbles", level = 10, cd = 10, dist = 10, target = 1, f = 1, t = "water"},
    move2 = {name = "Bubblebeam", level = 12, cd = 20, dist = 10, target = 1, f = 1, t = "water"},
    move3 = {name = "Mud Shot", level = 10, cd = 20, dist = 10, target = 1, f = 1, t = "ground"},
    move4 = {name = "Crabhammer", level = 15, cd = 25, dist = 1, target = 1, f = 1, t = "normal"},
    move5 = {name = "Harden", level = 13, cd = 80, dist = 1, target = 0, f = 0, t = "normal"},
},
["Shiny Krabby"] =   {
    move1 = {name = "Bubbles", level = 10, cd = 10, dist = 10, target = 1, f = 1, t = "water"},
    move2 = {name = "Bubblebeam", level = 12, cd = 20, dist = 10, target = 1, f = 1, t = "water"},
    move3 = {name = "Mud Shot", level = 10, cd = 20, dist = 10, target = 1, f = 1, t = "ground"},
    move4 = {name = "Crabhammer", level = 15, cd = 25, dist = 1, target = 1, f = 1, t = "normal"},
    move5 = {name = "Harden", level = 13, cd = 80, dist = 1, target = 0, f = 0, t = "normal"},
},
["Kingler"] = {
    move1 = {name = "Bubbles", level = 40, cd = 10, dist = 10, target = 1, f = 1, t = "water"},
    move2 = {name = "Bubblebeam", level = 40, cd = 20, dist = 10, target = 1, f = 1, t = "water"},
    move3 = {name = "Mud Shot", level = 40, cd = 20, dist = 10, target = 1, f = 1, t = "ground"},
    move4 = {name = "Crabhammer", level = 40, cd = 30, dist = 1, target = 1, f = 1, t = "normal"},
    move5 = {name = "Metal Claw", level = 45, cd = 15, dist = 1, target = 1, f = 1, t = "steel"},   
    move6 = {name = "Bubble Blast", level = 40, cd = 40, dist = 1, target = 0, f = 1, t = "water"},
    move7 = {name = "Hyper Beam", level = 49, cd = 25, dist = 1, target = 0, f = 1, t = "normal"},
    move8 = {name = "Guillotine", level = 50, cd = 20, dist = 1, target = 1, f = 1, t = "normal"},
    move9 = {name = "Harden", level = 40, cd = 80, dist = 1, target = 0, f = 0, t = "normal"},
},
["Shiny Kingler"] = {
    move1 = {name = "Bubbles", level = 40, cd = 10, dist = 10, target = 1, f = 1, t = "water"},
    move2 = {name = "Bubblebeam", level = 40, cd = 20, dist = 10, target = 1, f = 1, t = "water"},
    move3 = {name = "Mud Shot", level = 40, cd = 20, dist = 10, target = 1, f = 1, t = "ground"},
    move4 = {name = "Crabhammer", level = 40, cd = 30, dist = 1, target = 1, f = 1, t = "normal"},
    move5 = {name = "Metal Claw", level = 45, cd = 15, dist = 1, target = 1, f = 1, t = "steel"},   
    move6 = {name = "Bubble Blast", level = 40, cd = 40, dist = 1, target = 0, f = 1, t = "water"},
    move7 = {name = "Hyper Beam", level = 49, cd = 25, dist = 1, target = 0, f = 1, t = "normal"},
    move8 = {name = "Guillotine", level = 50, cd = 20, dist = 1, target = 1, f = 1, t = "normal"},
    move9 = {name = "Harden", level = 40, cd = 80, dist = 1, target = 0, f = 0, t = "normal"},
},
["Voltorb"] =    {
    move1 = {name = "Thunder Shock", level = 10, cd = 10, dist = 10, target = 1, f = 1, t = "electric"},
    move2 = {name = "Spark", level = 0, cd = 15, dist = 10, target = 1, f = 1, t = "electric"},
    move3 = {name = "Thunder Wave", level = 12, cd = 25, dist = 1, target = 0, f = 1, t = "electric"},
    move4 = {name = "Rollout", level = 15, cd = 60, dist = 1, target = 0, f = 1, t = "rock"},
    move5 = {name = "Selfdestruct", level = 10, cd = 120, dist = 1, target = 0, f = 0, t = "normal"},
},
["Shiny Voltorb"] =    {
    move1 = {name = "Thunder Shock", level = 10, cd = 10, dist = 10, target = 1, f = 1, t = "electric"},
    move2 = {name = "Spark", level = 0, cd = 15, dist = 10, target = 1, f = 1, t = "electric"},
    move3 = {name = "Thunder Wave", level = 12, cd = 25, dist = 1, target = 0, f = 1, t = "electric"},
    move4 = {name = "Rollout", level = 15, cd = 60, dist = 1, target = 0, f = 1, t = "rock"},
    move5 = {name = "Selfdestruct", level = 10, cd = 120, dist = 1, target = 0, f = 0, t = "normal"},
},
["Electrode"] =  {
    move1 = {name = "Thunder Shock", level = 40, cd = 10, dist = 10, target = 1, f = 1, t = "electric"},
    move2 = {name = "Spark", level = 40, cd = 15, dist = 10, target = 1, f = 1, t = "electric"},
    move3 = {name = "Thunder Wave", level = 40, cd = 14, dist = 1, target = 0, f = 1, t = "electric"},
    move4 = {name = "Rollout", level = 40, cd = 45, dist = 1, target = 0, f = 1, t = "rock"},
    move5 = {name = "Charge Beam", level = 40, cd = 30, dist = 1, target = 0, f = 1, t = "electric"},
    move6 = {name = "Electric Storm", level = 45, cd = 60, dist = 1, target = 0, f = 1, t = "electric"},
    move7 = {name = "Selfdestruct", level = 40, cd = 120, dist = 1, target = 0, f = 0, t = "normal"},
},
["Shiny Electrode"] =  {
    move1 = {name = "Thunder Shock", level = 40, cd = 10, dist = 10, target = 1, f = 1, t = "electric"},
    move2 = {name = "Spark", level = 40, cd = 15, dist = 10, target = 1, f = 1, t = "electric"},
    move3 = {name = "Thunder Wave", level = 40, cd = 14, dist = 1, target = 0, f = 1, t = "electric"},
    move4 = {name = "Rollout", level = 40, cd = 45, dist = 1, target = 0, f = 1, t = "rock"},
    move5 = {name = "Charge Beam", level = 40, cd = 30, dist = 1, target = 0, f = 1, t = "electric"},
    move6 = {name = "Electric Storm", level = 45, cd = 60, dist = 1, target = 0, f = 1, t = "electric"},
    move7 = {name = "Selfdestruct", level = 40, cd = 120, dist = 1, target = 0, f = 0, t = "normal"},
},
["Exeggcute"] =  {
    move1 = {name = "Hypnosis", level = 14, cd = 15, dist = 10, target = 1, f = 0, t = "psychic"},
    move2 = {name = "Leech Seed", level = 10, cd = 18, dist = 10, target = 1, f = 1, t = "grass"},
    move3 = {name = "Egg Bomb", level = 10, cd = 10, dist = 10, target = 1, f = 1, t = "normal"},
    move4 = {name = "Confusion", level = 16, cd = 15, dist = 1, target = 0, f = 1, t = "psychic"},
},
["Exeggutor"] =  {
    move1 = {name = "Seed Bomb", level = 80, cd = 30, dist = 1, target = 0, f = 1, t = "grass"},
    move2 = {name = "Egg Bomb", level = 80, cd = 10, dist = 10, target = 1, f = 1, t = "normal"},
    move3 = {name = "Leaf Blade", level = 80, cd = 15, dist = 10, target = 1, f = 1, t = "grass"},
    move4 = {name = "Confusion", level = 80, cd = 30, dist = 1, target = 0, f = 1, t = "psychic"},    --alterado v1.6
    move5 = {name = "Psyshock", level = 88, cd = 35, dist = 1, target = 0, f = 1, t = "psychic"},
    move6 = {name = "Bullet Seed", level = 80, cd = 45, dist = 1, target = 0, f = 1, t = "grass"},
    move7 = {name = "Solar Beam", level = 84, cd = 60, dist = 1, target = 0, f = 1, t = "grass"},
    move8 = {name = "Leaf Storm", level = 95, cd = 80, dist = 1, target = 0, f = 1, t = "grass"},
    move9 = {name = "Hypnosis", level = 80, cd = 60, dist = 10, target = 1, f = 0, t = "psychic"},
},
["Cubone"] =   {
    move1 = {name = "Headbutt", level = 20, cd = 10, dist = 1, target = 1, f = 1, t = "normal"},
    move2 = {name = "Bonemerang", level = 20, cd = 15, dist = 10, target = 1, f = 1, t = "ground"},
    move3 = {name = "Bone Club", level = 22, cd = 20, dist = 10, target = 1, f = 1, t = "ground"},
    move4 = {name = "Bone Slash", level = 27, cd = 25, dist = 1, target = 0, f = 1, t = "ground"},
    move5 = {name = "Rage", level = 32, cd = 20, dist = 1, target = 0, f = 0, t = "dragon"},
},
["Shiny Cubone"] =   {
    move1 = {name = "Headbutt", level = 20, cd = 10, dist = 1, target = 1, f = 1, t = "normal"},
    move2 = {name = "Bonemerang", level = 20, cd = 15, dist = 10, target = 1, f = 1, t = "ground"},
    move3 = {name = "Bone Club", level = 22, cd = 20, dist = 10, target = 1, f = 1, t = "ground"},
    move4 = {name = "Bone Slash", level = 27, cd = 25, dist = 1, target = 0, f = 1, t = "ground"},
    move5 = {name = "Rage", level = 32, cd = 20, dist = 1, target = 0, f = 0, t = "dragon"},
},
["Marowak"] = {
    move1 = {name = "Mud Shot", level = 50, cd = 15, dist = 10, target = 1, f = 1, t = "ground"},
    move2 = {name = "Headbutt", level = 50, cd = 10, dist = 1, target = 1, f = 1, t = "normal"},
    move3 = {name = "Bonemerang", level = 50, cd = 15, dist = 10, target = 1, f = 1, t = "ground"},
    move4 = {name = "Bone Club", level = 50, cd = 20, dist = 10, target = 1, f = 1, t = "ground"},
    move5 = {name = "Bone Rush", level = 50, cd = 25, dist = 1, target = 0, f = 1, t = "ground"},
    move6 = {name = "Earthshock", level = 54, cd = 30, dist = 1, target = 0, f = 1, t = "ground"},
    move7 = {name = "Shockwave", level = 56, cd = 35, dist = 1, target = 0, f = 1, t = "ground"},
    move8 = {name = "Rage", level = 60, cd = 25, dist = 1, target = 0, f = 0, t = "dragon"},
},
["Shiny Marowak"] = {
    move1 = {name = "Mud Shot", level = 50, cd = 15, dist = 10, target = 1, f = 1, t = "ground"},
    move2 = {name = "Headbutt", level = 50, cd = 10, dist = 1, target = 1, f = 1, t = "normal"},
    move3 = {name = "Bonemerang", level = 50, cd = 15, dist = 10, target = 1, f = 1, t = "ground"},
    move4 = {name = "Bone Club", level = 50, cd = 20, dist = 10, target = 1, f = 1, t = "ground"},
    move5 = {name = "Bone Rush", level = 50, cd = 25, dist = 1, target = 0, f = 1, t = "ground"},
    move6 = {name = "Earthshock", level = 54, cd = 30, dist = 1, target = 0, f = 1, t = "ground"},
    move7 = {name = "Shockwave", level = 56, cd = 35, dist = 1, target = 0, f = 1, t = "ground"},
    move8 = {name = "Rage", level = 60, cd = 25, dist = 1, target = 0, f = 0, t = "dragon"},
},
["Hitmonlee"] =  {
    move1 = {name = "Triple Kick Lee", level = 60, cd = 15, dist = 1, target = 1, f = 1, t = "fighting"},
    move2 = {name = "Mega Kick", level = 60, cd = 20, dist = 1, target = 1, f = 1, t = "fighting"},
    move3 = {name = "Multi-Kick", level = 65, cd = 25, dist = 1, target = 0, f = 1, t = "fighting"},
    move4 = {name = "Furious Legs", level = 60, cd = 30, dist = 1, target = 0, f = 0, t = "fighting"},
},
["Shiny Hitmonlee"] =  {
    move1 = {name = "Triple Kick Lee", level = 60, cd = 15, dist = 1, target = 1, f = 1, t = "fighting"},
    move2 = {name = "Mega Kick", level = 60, cd = 20, dist = 1, target = 1, f = 1, t = "fighting"},
    move3 = {name = "Multi-Kick", level = 65, cd = 25, dist = 1, target = 0, f = 1, t = "fighting"},
    move4 = {name = "Furious Legs", level = 60, cd = 30, dist = 1, target = 0, f = 0, t = "fighting"},
},
["Hitmonchan"] = {
    move1 = {name = "Triple Punch", level = 60, cd = 15, dist = 1, target = 1, f = 1, t = "fighting"},
    move2 = {name = "Mega Punch", level = 60, cd = 20, dist = 1, target = 1, f = 1, t = "fighting"},
    move3 = {name = "Multi-Punch", level = 65, cd = 25, dist = 1, target = 0, f = 1, t = "fighting"},
    move4 = {name = "Ultimate Champion", level = 60, cd = 30, dist = 1, target = 0, f = 0, t = "fighting"},
    move5 = {name = "Elemental Hands", level = 60, cd = 1, dist = 1, target = 0, f = 0, t = "unknow"},
},
["Shiny Hitmonchan"] = {
    move1 = {name = "Triple Punch", level = 60, cd = 15, dist = 1, target = 1, f = 1, t = "fighting"},
    move2 = {name = "Mega Punch", level = 60, cd = 20, dist = 1, target = 1, f = 1, t = "fighting"},
    move3 = {name = "Multi-Punch", level = 65, cd = 25, dist = 1, target = 0, f = 1, t = "fighting"},
    move4 = {name = "Ultimate Champion", level = 60, cd = 30, dist = 1, target = 0, f = 0, t = "fighting"},
    move5 = {name = "Elemental Hands", level = 60, cd = 1, dist = 1, target = 0, f = 0, t = "unknow"},
},
["Licktung"] =  {
    move1 = {name = "Lick", level = 60, cd = 15, dist = 1, target = 1, f = 0, t = "normal"},
    move2 = {name = "Shadow Ball", level = 60, cd = 8, dist = 10, target = 1, f = 1, t = "ghost"},
    move3 = {name = "Headbutt", level = 60, cd = 15, dist = 1, target = 1, f = 1, t = "normal"},
    move4 = {name = "Body Slam", level = 64, cd = 10, dist = 1, target = 1, f = 1, t = "normal"},
    move5 = {name = "Mega Punch", level = 60, cd = 20, dist = 1, target = 1, f = 1, t = "fighting"},
    move6 = {name = "Iron Tail", level = 60, cd = 20, dist = 1, target = 1, f = 1, t = "steel"},
    move7 = {name = "Squisky Licking", level = 65, cd = 35, dist = 1, target = 0, f = 1, t = "normal"},
    move8 = {name = "Super Sonic", level = 60, cd = 20, dist = 10, target = 1, f = 0, t = "normal"},
    move9 = {name = "Defense Curl", level = 60, cd = 35, dist = 1, target = 0, f = 0, t = "normal"},
},
["Koffing"] =    {
    move1 = {name = "Mud Shot", level = 10, cd = 15, dist = 10, target = 1, f = 1, t = "ground"},
    move2 = {name = "Acid", level = 10, cd = 10, dist = 10, target = 1, f = 1, t = "poison"},
    move3 = {name = "Headbutt", level = 10, cd = 15, dist = 1, target = 1, f = 1, t = "normal"},
    move4 = {name = "Mud Bomb", level = 13, cd = 25, dist = 10, target = 1, f = 1, t = "ground"},
    move5 = {name = "Poison Bomb", level = 15, cd = 25, dist = 10, target = 1, f = 1, t = "poison"},
    move6 = {name = "Poison Gas", level = 15, cd = 32, dist = 1, target = 0, f = 1, t = "poison"},
    move7 = {name = "Selfdestruct", level = 10, cd = 120, dist = 1, target = 0, f = 0, t = "normal"},
},
["Weezing"] =    {
    move1 = {name = "Mud Shot", level = 50, cd = 15, dist = 10, target = 1, f = 1, t = "ground"},
    move2 = {name = "Acid", level = 50, cd = 10, dist = 10, target = 1, f = 1, t = "poison"},
    move3 = {name = "Headbutt", level = 50, cd = 15, dist = 1, target = 1, f = 1, t = "normal"},
    move4 = {name = "Mud Bomb", level = 52, cd = 25, dist = 10, target = 1, f = 1, t = "ground"},
    move5 = {name = "Poison Bomb", level = 55, cd = 25, dist = 10, target = 1, f = 1, t = "poison"},
    move6 = {name = "Poison Gas", level = 50, cd = 32, dist = 1, target = 0, f = 1, t = "poison"},
    move7 = {name = "Mortal Gas", level = 60, cd = 45, dist = 1, target = 0, f = 1, t = "poison"},
    move8 = {name = "Selfdestruct", level = 52, cd = 120, dist = 1, target = 0, f = 0, t = "normal"},
},
["Rhyhorn"] =    {
    move1 = {name = "Horn Attack", level = 30, cd = 25, dist = 2, target = 1, f = 1, t = "normal"},
    move2 = {name = "Stone Edge", level = 30, cd = 20, dist = 10, target = 1, f = 1, t = "rock"}, 
    move3 = {name = "Rock Throw", level = 30, cd = 25, dist = 10, target = 1, f = 1, t = "rock"},
    move4 = {name = "Crusher Stomp", level = 32, cd = 45, dist = 1, target = 0, f = 1, t = "ground"},
    move5 = {name = "Shockwave", level = 33, cd = 45, dist = 1, target = 0, f = 1, t = "ground"},
    move6 = {name = "Rock Drill", level = 37, cd = 35, dist = 10, target = 1, f = 1, t = "rock"},
},
["Rhydon"] = {
    move1 = {name = "Horn Attack", level = 80, cd = 25, dist = 2, target = 1, f = 1, t = "normal"},
    move2 = {name = "Stone Edge", level = 80, cd = 20, dist = 10, target = 1, f = 1, t = "rock"}, 
    move3 = {name = "Rock Throw", level = 80, cd = 25, dist = 10, target = 1, f = 1, t = "rock"},
    move4 = {name = "Crusher Stomp", level = 85, cd = 45, dist = 1, target = 0, f = 1, t = "ground"},
    move5 = {name = "Horn Drill", level = 80, cd = 30, dist = 2, target = 1, f = 1, t = "normal"},
    move6 = {name = "Shockwave", level = 83, cd = 50, dist = 1, target = 0, f = 1, t = "ground"},
    move7 = {name = "Hammer Arm", level = 80, cd = 60, dist = 1, target = 0, f = 1, t = "fighting"},
    move8 = {name = "Falling Rocks", level = 85, cd = 80, dist = 1, target = 0, f = 1, t = "rock"},
    move9 = {name = "Rock Drill", level = 87, cd = 35, dist = 1, target = 0, f = 1, t = "rock"},
},
["Shiny Rhydon"] = {
    move1 = {name = "Horn Attack", level = 80, cd = 25, dist = 2, target = 1, f = 1, t = "normal"},
    move2 = {name = "Stone Edge", level = 80, cd = 20, dist = 10, target = 1, f = 1, t = "rock"}, 
    move3 = {name = "Rock Throw", level = 80, cd = 25, dist = 10, target = 1, f = 1, t = "rock"},
    move4 = {name = "Crusher Stomp", level = 85, cd = 45, dist = 1, target = 0, f = 1, t = "ground"},
    move5 = {name = "Horn Drill", level = 80, cd = 30, dist = 2, target = 1, f = 1, t = "normal"},
    move6 = {name = "Shockwave", level = 83, cd = 50, dist = 1, target = 0, f = 1, t = "ground"},
    move7 = {name = "Hammer Arm", level = 80, cd = 60, dist = 1, target = 0, f = 1, t = "fighting"},
    move8 = {name = "Falling Rocks", level = 85, cd = 80, dist = 1, target = 0, f = 1, t = "rock"},
    move9 = {name = "Rock Drill", level = 87, cd = 35, dist = 1, target = 0, f = 1, t = "rock"},
},
["Chansey"] =  {
    move1 = {name = "Doubleslap", level = 60, cd = 5, dist = 1, target = 1, f = 1, t = "normal"},
    move2 = {name = "Egg Bomb", level = 60, cd = 10, dist = 10, target = 1, f = 1, t = "normal"},
    move3 = {name = "Great Love", level = 68, cd = 60, dist = 1, target = 0, f = 1, t = "normal"},          
    move4 = {name = "Sing", level = 60, cd = 40, dist = 1, target = 0, f = 0, t = "normal"},
    move5 = {name = "Healarea", level = 60, cd = 80, dist = 1, target = 0, f = 0, t = "normal"},
    move6 = {name = "Harden", level = 66, cd = 30, dist = 1, target = 0, f = 0, t = "normal"},             --fazer protection
    move7 = {name = "Egg Rain", level = 70, cd = 50, dist = 1, target = 0, f = 1, t = "normal"},
},
["Shiny Chansey"] =  {
    move1 = {name = "Doubleslap", level = 60, cd = 5, dist = 1, target = 1, f = 1, t = "normal"},
    move2 = {name = "Egg Bomb", level = 60, cd = 10, dist = 10, target = 1, f = 1, t = "normal"},
    move3 = {name = "Great Love", level = 68, cd = 60, dist = 1, target = 0, f = 1, t = "normal"},          
    move4 = {name = "Sing", level = 60, cd = 40, dist = 1, target = 0, f = 0, t = "normal"},
    move5 = {name = "Healarea", level = 60, cd = 80, dist = 1, target = 0, f = 0, t = "normal"},
    move6 = {name = "Harden", level = 66, cd = 30, dist = 1, target = 0, f = 0, t = "normal"},             --fazer protection
    move7 = {name = "Egg Rain", level = 70, cd = 50, dist = 1, target = 0, f = 1, t = "normal"},
},
["Tangela"] = {
    move1 = {name = "Absorb", level = 50, cd = 15, dist = 1, target = 1, f = 1, t = "grass"},
    move2 = {name = "Leech Seed", level = 50, cd = 10, dist = 10, target = 1, f = 1, t = "grass"},
    move3 = {name = "Vine Whip", level = 50, cd = 8, dist = 1, target = 0, f = 1, t = "grass"},
    move4 = {name = "Super Vines", level = 57, cd = 22, dist = 1, target = 0, f = 1, t = "grass"},
    move5 = {name = "Poison Powder", level = 50, cd = 10, dist = 1, target = 0, f = 0, t = "normal"},
    move6 = {name = "Sleep Powder", level = 55, cd = 80, dist = 1, target = 0, f = 0, t = "normal"},
    move7 = {name = "Stun Spore", level = 50, cd = 30, dist = 1, target = 0, f = 0, t = "normal"},
},
["Shiny Tangela"] = {
    move1 = {name = "Absorb", level = 50, cd = 15, dist = 1, target = 1, f = 1, t = "grass"},
    move2 = {name = "Leech Seed", level = 50, cd = 10, dist = 10, target = 1, f = 1, t = "grass"},
    move3 = {name = "Vine Whip", level = 50, cd = 8, dist = 1, target = 0, f = 1, t = "grass"},
    move4 = {name = "Super Vines", level = 57, cd = 22, dist = 1, target = 0, f = 5, t = "grass"},
    move5 = {name = "Poison Powder", level = 50, cd = 10, dist = 1, target = 0, f = 0, t = "normal"},
    move6 = {name = "Sleep Powder", level = 55, cd = 80, dist = 1, target = 0, f = 0, t = "normal"},
    move7 = {name = "Stun Spore", level = 50, cd = 30, dist = 1, target = 0, f = 0, t = "normal"},
},
["Kangaskhan"] = {
    move1 = {name = "Bite", level = 80, cd = 15, dist = 1, target = 1, f = 1, t = "dark"},
    move2 = {name = "Dizzy Punch", level = 80, cd = 25, dist = 1, target = 1, f = 1, t = "normal"},
    move3 = {name = "Headbutt", level = 80, cd = 15, dist = 1, target = 1, f = 1, t = "normal"},
    move4 = {name = "Mega Punch", level = 80, cd = 25, dist = 1, target = 1, f = 1, t = "fighting"},
    move5 = {name = "Crunch", level = 80, cd = 10, dist = 1, target = 0, f = 1, t = "dark"},
    move6 = {name = "Sucker Punch", level = 83, cd = 20, dist = 1, target = 1, f = 1, t = "dark"},
    move7 = {name = "Hammer Arm", level = 80, cd = 40, dist = 1, target = 0, f = 1, t = "fighting"},
    move8 = {name = "Epicenter", level = 95, cd = 50, dist = 1, target = 0, f = 1, t = "ground"},
    move9 = {name = "Rage", level = 80, cd = 40, dist = 1, target = 0, f = 0, t = "dragon"},
},
["Horsea"] =  {
    move1 = {name = "Mud Shot", level = 10, cd = 15, dist = 10, target = 1, f = 1, t = "ground"},
    move2 = {name = "Bubbles", level = 10, cd = 10, dist = 10, target = 1, f = 1, t = "water"},
    move3 = {name = "Bubblebeam", level = 15, cd = 20, dist = 10, target = 1, f = 1, t = "water"},
    move4 = {name = "Water Gun", level = 12, cd = 20, dist = 1, target = 0, f = 1, t = "water"},
    move5 = {name = "Waterball", level = 10, cd = 15, dist = 10, target = 1, f = 1, t = "water"},
},
["Shiny Horsea"] =  {
    move1 = {name = "Mud Shot", level = 10, cd = 15, dist = 10, target = 1, f = 1, t = "ground"},
    move2 = {name = "Bubbles", level = 10, cd = 10, dist = 10, target = 1, f = 1, t = "water"},
    move3 = {name = "Bubblebeam", level = 15, cd = 20, dist = 10, target = 1, f = 1, t = "water"},
    move4 = {name = "Water Gun", level = 12, cd = 20, dist = 1, target = 0, f = 1, t = "water"},
    move5 = {name = "Waterball", level = 10, cd = 15, dist = 10, target = 1, f = 1, t = "water"},
},
["Seadra"] =   {
    move1 = {name = "Mud Shot", level = 40, cd = 15, dist = 10, target = 1, f = 1, t = "ground"},
    move2 = {name = "SmokeScreen", level = 40, cd = 40, dist = 1, target = 0, f = 0, t = "normal"},
    move3 = {name = "Quick Attack", level = 40, cd = 10, dist = 2, target = 1, f = 1, t = "normal"},
    move4 = {name = "Bubbles", level = 40, cd = 15, dist = 10, target = 1, f = 1, t = "water"},
    move5 = {name = "Bubblebeam", level = 40, cd = 20, dist = 10, target = 1, f = 1, t = "water"},
    move6 = {name = "Water Gun", level = 40, cd = 25, dist = 1, target = 0, f = 1, t = "water"},
    move7 = {name = "Dragon Pulse", level = 45, cd = 45, dist = 1, target = 0, f = 1, t = "dragon"},
    move8 = {name = "Hydro Cannon", level = 50, cd = 35, dist = 1, target = 0, f = 1, t = "water"},
},
["Shiny Seadra"] =   {
    move1 = {name = "Mud Shot", level = 40, cd = 15, dist = 10, target = 1, f = 1, t = "ground"},
    move2 = {name = "SmokeScreen", level = 40, cd = 40, dist = 1, target = 0, f = 0, t = "normal"},
    move3 = {name = "Quick Attack", level = 40, cd = 10, dist = 2, target = 1, f = 1, t = "normal"},
    move4 = {name = "Bubbles", level = 40, cd = 15, dist = 10, target = 1, f = 1, t = "water"},
    move5 = {name = "Bubblebeam", level = 40, cd = 20, dist = 10, target = 1, f = 1, t = "water"},
    move6 = {name = "Water Gun", level = 40, cd = 25, dist = 1, target = 0, f = 1, t = "water"},
    move7 = {name = "Dragon Pulse", level = 45, cd = 45, dist = 1, target = 0, f = 1, t = "dragon"},
    move8 = {name = "Hydro Cannon", level = 50, cd = 35, dist = 1, target = 0, f = 1, t = "water"},
},
["Goldeen"] =  {
    move1 = {name = "Super Sonic", level = 18, cd = 20, dist = 10, target = 1, f = 0, t = "normal"},
    move2 = {name = "Horn Attack", level = 10, cd = 10, dist = 2, target = 1, f = 1, t = "normal"},
    move3 = {name = "Poison Sting", level = 10, cd = 10, dist = 2, target = 1, f = 1, t = "poison"},
    move4 = {name = "Water Gun", level = 12, cd = 15, dist = 1, target = 0, f = 1, t = "water"},
    move5 = {name = "Water Pulse", level = 15, cd = 25, dist = 1, target = 0, f = 1, t = "water"},
    move6 = {name = "Aqua Tail", level = 12, cd = 15, dist = 1, target = 1, f = 1, t = "water"},
},
["Seaking"] = {
    move1 = {name = "Super Sonic", level = 40, cd = 20, dist = 10, target = 1, f = 0, t = "normal"},
    move2 = {name = "Horn Attack", level = 40, cd = 10, dist = 2, target = 1, f = 1, t = "normal"},
    move3 = {name = "Poison Sting", level = 40, cd = 10, dist = 2, target = 1, f = 1, t = "poison"},
    move4 = {name = "Water Gun", level = 40, cd = 15, dist = 1, target = 0, f = 1, t = "water"},
    move5 = {name = "Water Pulse", level = 40, cd = 20, dist = 1, target = 0, f = 1, t = "water"},
    move6 = {name = "Aqua Tail", level = 40, cd = 20, dist = 1, target = 1, f = 1, t = "water"},
    move7 = {name = "Horn Drill", level = 48, cd = 20, dist = 2, target = 1, f = 1, t = "normal"},
    move8 = {name = "Rock Drill", level = 47, cd = 35, dist = 10, target = 1, f = 1, t = "rock"},
},
["Staryu"] = {
    move1 = {name = "Swift", level = 20, cd = 10, dist = 10, target = 1, f = 1, t = "normal"},
    move2 = {name = "Water Gun", level = 20, cd = 20, dist = 1, target = 0, f = 1, t = "water"},
    move3 = {name = "Bubblebeam", level = 23, cd = 20, dist = 10, target = 1, f = 1, t = "water"},
    move4 = {name = "Psyshock", level = 28, cd = 35, dist = 1, target = 0, f = 1, t = "psychic"},
    move5 = {name = "Psychic", level = 20, cd = 30, dist = 1, target = 0, f = 1, t = "psychic"},
    move6 = {name = "Harden", level = 20, cd = 25, dist = 1, target = 0, f = 0, t = "normal"},
    move7 = {name = "Restore", level = 25, cd = 30, dist = 1, target = 0, f = 0, t = "normal"},
},
["Starmie"] = {
    move1 = {name = "Swift", level = 80, cd = 20, dist = 10, target = 1, f = 1, t = "normal"},
    move2 = {name = "Water Gun", level = 80, cd = 20, dist = 1, target = 0, f = 1, t = "water"},
    move3 = {name = "Confuse Ray", level = 80, cd = 25, dist = 10, target = 1, f = 1, t = "ghost"},
    move4 = {name = "Bubblebeam", level = 80, cd = 20, dist = 10, target = 1, f = 1, t = "water"},
    move5 = {name = "Psyshock", level = 88, cd = 35, dist = 1, target = 0, f = 1, t = "psychic"},
    move6 = {name = "Psychic", level = 80, cd = 30, dist = 1, target = 0, f = 1, t = "psychic"},
    move7 = {name = "Harden", level = 80, cd = 25, dist = 1, target = 0, f = 0, t = "normal"},
    move8 = {name = "Hydropump", level = 85, cd = 60, dist = 1, target = 0, f = 1, t = "water"},
    move9 = {name = "Magic Coat", level = 80, cd = 40, dist = 1, target = 0, f = 0, t = "psychic"}, 
    move10 = {name = "Restore", level = 85, cd = 120, dist = 1, target = 0, f = 0, t = "normal"},
},
["Mr. Mime"] = {
    move1 = {name = "Doubleslap", level = 70, cd = 10, dist = 1, target = 1, f = 1, t = "normal"},
    move2 = {name = "Psywave", level = 70, cd = 15, dist = 1, target = 0, f = 1, t = "psychic"},
    move3 = {name = "Magical Leaf", level = 70, cd = 15, dist = 10, target = 1, f = 1, t = "grass"},
    move4 = {name = "Confusion", level = 70, cd = 35, dist = 1, target = 0, f = 1, t = "psychic"},
    move5 = {name = "Psychic", level = 70, cd = 30, dist = 1, target = 0, f = 1, t = "psychic"},
    move6 = {name = "Psyusion", level = 85, cd = 60, dist = 1, target = 0, f = 1, t = "psychic"},
    move7 = {name = "Ice Punch", level = 70, cd = 25, dist = 1, target = 1, f = 1, t = "ice"},
    move8 = {name = "Reflect", level = 70, cd = 35, dist = 1, target = 0, f = 0, t = "psychic"},
    move9 = {name = "Mimic Wall", level = 70, cd = 3, dist = 1, target = 0, f = 0, t = "psychic"},
    move10 = {name = "Miracle Eye", level = 70, cd = 40, dist = 1, target = 0, f = 0, t = "psychic"},
},
["Shiny Mr. Mime"] = {
    move1 = {name = "Doubleslap", level = 70, cd = 10, dist = 1, target = 1, f = 1, t = "normal"},
    move2 = {name = "Psywave", level = 70, cd = 15, dist = 1, target = 0, f = 1, t = "psychic"},
    move3 = {name = "Magical Leaf", level = 70, cd = 15, dist = 10, target = 1, f = 1, t = "grass"},
    move4 = {name = "Confusion", level = 70, cd = 35, dist = 1, target = 0, f = 1, t = "psychic"},
    move5 = {name = "Psychic", level = 70, cd = 30, dist = 1, target = 0, f = 1, t = "psychic"},
    move6 = {name = "Psyusion", level = 85, cd = 60, dist = 1, target = 0, f = 1, t = "psychic"},
    move7 = {name = "Ice Punch", level = 70, cd = 25, dist = 1, target = 1, f = 1, t = "ice"},
    move8 = {name = "Reflect", level = 70, cd = 35, dist = 1, target = 0, f = 0, t = "psychic"},
    move9 = {name = "Mimic Wall", level = 70, cd = 3, dist = 1, target = 0, f = 0, t = "psychic"},
    move10 = {name = "Miracle Eye", level = 70, cd = 40, dist = 1, target = 0, f = 0, t = "psychic"},
},
["Scyther"] =  {
    move1 = {name = "Quick Attack", level = 80, cd = 10, dist = 2, target = 1, f = 1, t = "normal"},
    move2 = {name = "Slash", level = 80, cd = 25, dist = 1, target = 1, f = 1, t = "normal"},
    move3 = {name = "Wing Attack", level = 80, cd = 35, dist = 1, target = 0, f = 1, t = "flying"},
    move4 = {name = "Fury Cutter", level = 85, cd = 15, dist = 1, target = 0, f = 1, t = "bug"},
    move5 = {name = "Shredder Team", level = 95, cd = 40, dist = 1, target = 0, f = 0, t = "normal"},
    move6 = {name = "Air Slash", level = 83, cd = 40, dist = 1, target = 0, f = 1, t = "flying"},
    move7 = {name = "Agility", level = 80, cd = 40, dist = 1, target = 0, f = 0, t = "flying"},
    move8 = {name = "Team Slice", level = 95, cd = 7, dist = 10, target = 1, f = 1, t = "bug"},
},
["Shiny Scyther"] =  {
    move1 = {name = "Quick Attack", level = 80, cd = 10, dist = 2, target = 1, f = 1, t = "normal"},
    move2 = {name = "Slash", level = 80, cd = 25, dist = 1, target = 1, f = 1, t = "normal"},
    move3 = {name = "Wing Attack", level = 80, cd = 35, dist = 1, target = 0, f = 1, t = "flying"},
    move4 = {name = "Fury Cutter", level = 85, cd = 15, dist = 1, target = 0, f = 1, t = "bug"},
    move5 = {name = "Shredder Team", level = 95, cd = 40, dist = 1, target = 0, f = 0, t = "normal"},
    move6 = {name = "Air Slash", level = 83, cd = 40, dist = 1, target = 0, f = 1, t = "flying"},
    move7 = {name = "Agility", level = 80, cd = 40, dist = 1, target = 0, f = 0, t = "flying"},
    move8 = {name = "Team Slice", level = 95, cd = 7, dist = 10, target = 1, f = 1, t = "bug"},
},
["Jynx"] = {
    move1 = {name = "Lovely Kiss", level = 80, cd = 15, dist = 10, target = 1, f = 0, t = "normal"},
    move2 = {name = "Doubleslap", level = 80, cd = 10, dist = 1, target = 1, f = 1, t = "normal"},
    move3 = {name = "Psywave", level = 80, cd = 20, dist = 1, target = 0, f = 1, t = "psychic"},
    move4 = {name = "Psy Pulse", level = 80, cd = 15, dist = 10, target = 1, f = 1, t = "psychic"},
    move5 = {name = "Ice Punch", level = 80, cd = 25, dist = 1, target = 1, f = 1, t = "ice"},
    move6 = {name = "Ice Beam", level = 80, cd = 25, dist = 1, target = 0, f = 1, t = "ice"},
    move7 = {name = "Icy Wind", level = 80, cd = 35, dist = 1, target = 0, f = 1, t = "ice"},
    move8 = {name = "Aurora Beam", level = 84, cd = 20, dist = 1, target = 0, f = 1, t = "ice"},
    move9 = {name = "Blizzard", level = 86, cd = 60, dist = 1, target = 0, f = 1, t = "ice"},
    move10 = {name = "Great Love", level = 88, cd = 50, dist = 1, target = 0, f = 1, t = "normal"},
},
["Shiny Jynx"] = {
    move1 = {name = "Lovely Kiss", level = 80, cd = 15, dist = 10, target = 1, f = 0, t = "normal"},
    move2 = {name = "Doubleslap", level = 80, cd = 10, dist = 1, target = 1, f = 1, t = "normal"},
    move3 = {name = "Psywave", level = 80, cd = 20, dist = 1, target = 0, f = 1, t = "psychic"},
    move4 = {name = "Psy Pulse", level = 80, cd = 15, dist = 10, target = 1, f = 1, t = "psychic"},
    move5 = {name = "Ice Punch", level = 80, cd = 25, dist = 1, target = 1, f = 1, t = "ice"},
    move6 = {name = "Ice Beam", level = 80, cd = 25, dist = 1, target = 0, f = 1, t = "ice"},
    move7 = {name = "Icy Wind", level = 80, cd = 35, dist = 1, target = 0, f = 1, t = "ice"},
    move8 = {name = "Aurora Beam", level = 84, cd = 20, dist = 1, target = 0, f = 1, t = "ice"},
    move9 = {name = "Blizzard", level = 86, cd = 60, dist = 1, target = 0, f = 1, t = "ice"},
    move10 = {name = "Great Love", level = 88, cd = 50, dist = 1, target = 0, f = 1, t = "normal"},
},
["Electabuzz"] = {
    move1 = {name = "Quick Attack", level = 80, cd = 10, dist = 2, target = 1, f = 1, t = "normal"},
    move2 = {name = "Low Kick", level = 80, cd = 25, dist = 1, target = 1, f = 1, t = "fighting"},
    move3 = {name = "Thunder Punch", level = 80, cd = 20, dist = 1, target = 1, f = 1, t = "electric"},
    move4 = {name = "Thunder Shock", level = 80, cd = 10, dist = 10, target = 1, f = 1, t = "electric"},
    move5 = {name = "Thunder Bolt", level = 80, cd = 25, dist = 10, target = 1, f = 1, t = "electric"},
    move6 = {name = "Thunder Wave", level = 80, cd = 25, dist = 1, target = 0, f = 1, t = "electric"},
    move7 = {name = "Electrical Burning", level = 86, cd = 35, dist = 1, target = 0, f = 1, t = "electric"},
    move8 = {name = "Electric Storm", level = 90, cd = 80, dist = 1, target = 0, f = 1, t = "electric"},
    move9 = {name = "Charge", level = 90, cd = 80, dist = 1, target = 0, f = 1, t = "electric"},
},
["Shiny Electabuzz"] = {
    move1 = {name = "Quick Attack", level = 80, cd = 10, dist = 2, target = 1, f = 1, t = "normal"},
    move2 = {name = "Low Kick", level = 80, cd = 25, dist = 1, target = 1, f = 1, t = "fighting"},
    move3 = {name = "Thunder Punch", level = 80, cd = 20, dist = 1, target = 1, f = 1, t = "electric"},
    move4 = {name = "Thunder Shock", level = 80, cd = 10, dist = 10, target = 1, f = 1, t = "electric"},
    move5 = {name = "Thunder Bolt", level = 80, cd = 25, dist = 10, target = 1, f = 1, t = "electric"},
    move6 = {name = "Thunder Wave", level = 80, cd = 25, dist = 1, target = 0, f = 1, t = "electric"},
    move7 = {name = "Thunder", level = 86, cd = 35, dist = 1, target = 0, f = 1, t = "electric"},
    move8 = {name = "Electric Storm", level = 90, cd = 80, dist = 1, target = 0, f = 1, t = "electric"},
},
["Magmar"] = {
    move1 = {name = "Scratch", level = 80, cd = 10, dist = 1, target = 1, f = 1, t = "normal"},
    move2 = {name = "Fire Punch", level = 80, cd = 30, dist = 1, target = 1, f = 1, t = "fire"},
    move3 = {name = "Ember", level = 80, cd = 10, dist = 10, target = 1, f = 1, t = "fire"},
    move4 = {name = "Flamethrower", level = 80, cd = 15, dist = 1, target = 0, f = 1, t = "fire"},
    move5 = {name = "Fireball", level = 80, cd = 20, dist = 10, target = 1, f = 1, t = "fire"},
    move6 = {name = "Fire Blast", level = 80, cd = 40, dist = 1, target = 0, f = 1, t = "fire"},
    move7 = {name = "Mortal Gas", level = 88, cd = 90, dist = 1, target = 0, f = 1, t = "fire"},
    move8 = {name = "Magma Storm", level = 88, cd = 90, dist = 1, target = 0, f = 1, t = "fire"},
    move9 = {name = "Sunny Day", level = 92, cd = 60, dist = 1, target = 0, f = 0, t = "fire"},
},
["Pinsir"] = {
    move1 = {name = "Bug Bite", level = 50, cd = 10, dist = 1, target = 1, f = 1, t = "bug"},
    move2 = {name = "Hammer Arm", level = 50, cd = 60, dist = 1, target = 0, f = 1, t = "fighting"},
    move3 = {name = "X-Scissor", level = 50, cd = 25, dist = 1, target = 0, f = 1, t = "bug"},
    move4 = {name = "Fury Cutter", level = 50, cd = 25, dist = 1, target = 0, f = 1, t = "bug"},
    move5 = {name = "Guillotine", level = 54, cd = 20, dist = 1, target = 1, f = 1, t = "normal"}, 
    move6 = {name = "Revenge", level = 56, cd = 25, dist = 1, target = 0, f = 1, t = "fighting"},
    move7 = {name = "Megahorn", level = 50, cd = 35, dist = 1, target = 0, f = 1, t = "bug"},
    move8 = {name = "Harden", level = 50, cd = 25, dist = 1, target = 0, f = 0, t = "normal"},
    move9 = {name = "Rage", level = 60, cd = 25, dist = 1, target = 0, f = 0, t = "dragon"},
    move10 = {name = "Swords Dance", level = 58, cd = 60, dist = 1, target = 0, f = 0, t = "normal"},
},
["Shiny Pinsir"] = {
    move1 = {name = "Bug Bite", level = 50, cd = 10, dist = 1, target = 1, f = 1, t = "bug"},
    move2 = {name = "Hammer Arm", level = 50, cd = 60, dist = 1, target = 0, f = 1, t = "fighting"},
    move3 = {name = "X-Scissor", level = 50, cd = 25, dist = 1, target = 0, f = 1, t = "bug"},
    move4 = {name = "Fury Cutter", level = 50, cd = 25, dist = 1, target = 0, f = 1, t = "bug"},
    move5 = {name = "Guillotine", level = 54, cd = 20, dist = 1, target = 1, f = 1, t = "normal"}, 
    move6 = {name = "Revenge", level = 56, cd = 25, dist = 1, target = 0, f = 1, t = "fighting"},
    move7 = {name = "Megahorn", level = 50, cd = 35, dist = 1, target = 0, f = 1, t = "bug"},
    move8 = {name = "Harden", level = 50, cd = 25, dist = 1, target = 0, f = 0, t = "normal"},
    move9 = {name = "Rage", level = 60, cd = 25, dist = 1, target = 0, f = 0, t = "dragon"},
    move10 = {name = "Swords Dance", level = 58, cd = 60, dist = 1, target = 0, f = 0, t = "normal"},
},
["Tauros"] = {
    move1 = {name = "Headbutt", level = 50, cd = 10, dist = 1, target = 1, f = 1, t = "normal"},
    move2 = {name = "Body Slam", level = 50, cd = 15, dist = 1, target = 1, f = 1, t = "normal"},
    move3 = {name = "Horn Attack", level = 50, cd = 15, dist = 2, target = 1, f = 1, t = "normal"},
    move4 = {name = "Hyper Beam", level = 55, cd = 25, dist = 1, target = 0, f = 1, t = "normal"},
    move5 = {name = "Thrash", level = 56, cd = 25, dist = 1, target = 0, f = 1, t = "normal"},
    move6 = {name = "Rage", level = 50, cd = 20, dist = 1, target = 0, f = 0, t = "dragon"},
    move7 = {name = "Rest", level = 60, cd = 60, dist = 1, target = 0, f = 0, t = "normal"},
    move8 = {name = "Fear", level = 58, cd = 25, dist = 1, target = 0, f = 0, t = "ghost"},
},
["Shiny Tauros"] = {
    move1 = {name = "Headbutt", level = 50, cd = 10, dist = 1, target = 1, f = 1, t = "normal"},
    move2 = {name = "Body Slam", level = 50, cd = 15, dist = 1, target = 1, f = 1, t = "normal"},
    move3 = {name = "Horn Attack", level = 50, cd = 15, dist = 2, target = 1, f = 1, t = "normal"},
    move4 = {name = "Hyper Beam", level = 55, cd = 25, dist = 1, target = 0, f = 1, t = "normal"},
    move5 = {name = "Thrash", level = 56, cd = 25, dist = 1, target = 0, f = 1, t = "normal"},
    move6 = {name = "Rage", level = 50, cd = 20, dist = 1, target = 0, f = 0, t = "dragon"},
    move7 = {name = "Rest", level = 60, cd = 60, dist = 1, target = 0, f = 0, t = "normal"},
    move8 = {name = "Fear", level = 58, cd = 25, dist = 1, target = 0, f = 0, t = "ghost"},
},
["Magikarp"] =   {
    move1 = {name = "Splash", level = 1, cd = 5, dist = 1, target = 0, f = 1, t = "water"},
},
["Shiny Magikarp"] =   {
    move1 = {name = "Splash", level = 1, cd = 5, dist = 1, target = 0, f = 1, t = "water"},
},
["Gyarados"] =   {
    move1 = {name = "Roar", level = 100, cd = 30, dist = 1, target = 0, f = 0, t = "normal"},
    move2 = {name = "Bite", level = 90, cd = 15, dist = 1, target = 1, f = 1, t = "dark"},
    move3 = {name = "Aqua Tail", level = 90, cd = 15, dist = 1, target = 1, f = 1, t = "water"},
    move4 = {name = "Waterball", level = 90, cd = 20, dist = 10, target = 1, f = 1, t = "water"},
    move5 = {name = "Twister", level = 94, cd = 30, dist = 1, target = 0, f = 1, t = "dragon"},
    move6 = {name = "Hydro Cannon", level = 90, cd = 45, dist = 1, target = 0, f = 1, t = "water"},
    move7 = {name = "Dragon Breath", level = 90, cd = 30, dist = 1, target = 0, f = 1, t = "dragon"},
    move8 = {name = "Hyper Beam", level = 90, cd = 45, dist = 1, target = 0, f = 1, t = "normal"},
    move9 = {name = "Hydropump", level = 98, cd = 70, dist = 1, target = 0, f = 1, t = "water"},
    move10 = {name = "Rain Dance", level = 90, cd = 50, dist = 1, target = 0, f = 0, t = "water"},
},
["Shiny Gyarados"] =   {
    move1 = {name = "Roar", level = 100, cd = 30, dist = 1, target = 0, f = 0, t = "normal"},
    move2 = {name = "Bite", level = 90, cd = 15, dist = 1, target = 1, f = 1, t = "dark"},
    move3 = {name = "Aqua Tail", level = 90, cd = 15, dist = 1, target = 1, f = 1, t = "water"},
    move4 = {name = "Waterball", level = 90, cd = 20, dist = 10, target = 1, f = 1, t = "water"},
    move5 = {name = "Twister", level = 94, cd = 30, dist = 1, target = 0, f = 1, t = "dragon"},
    move6 = {name = "Hydro Cannon", level = 90, cd = 45, dist = 1, target = 0, f = 1, t = "water"},
    move7 = {name = "Dragon Breath", level = 90, cd = 30, dist = 1, target = 0, f = 1, t = "dragon"},
    move8 = {name = "Hyper Beam", level = 90, cd = 45, dist = 1, target = 0, f = 1, t = "normal"},
    move9 = {name = "Hydropump", level = 98, cd = 70, dist = 1, target = 0, f = 1, t = "water"},
    move10 = {name = "Rain Dance", level = 90, cd = 50, dist = 1, target = 0, f = 0, t = "water"},
},
["Ditto"] =      {},
["Lapras"] = {
    move1 = {name = "Ice Beam", level = 80, cd = 20, dist = 1, target = 0, f = 1, t = "ice"},
    move2 = {name = "Ice Shards", level = 80, cd = 15, dist = 10, target = 1, f = 1, t = "ice"},
    move3 = {name = "Water Gun", level = 80, cd = 18, dist = 1, target = 0, f = 1, t = "water"},
    move4 = {name = "Waterball", level = 80, cd = 18, dist = 10, target = 1, f = 1, t = "water"},
    move5 = {name = "Bubble Blast", level = 80, cd = 40, dist = 1, target = 0, f = 1, t = "water"},
    move6 = {name = "Aurora Beam", level = 80, cd = 20, dist = 1, target = 0, f = 1, t = "ice"},
    move7 = {name = "Blizzard", level = 88, cd = 60, dist = 1, target = 0, f = 1, t = "ice"},
    move8 = {name = "Hydropump", level = 90, cd = 75, dist = 1, target = 0, f = 1, t = "water"},
    move9 = {name = "Sing", level = 80, cd = 30, dist = 1, target = 0, f = 0, t = "normal"},
    move10 = {name = "Safeguard", level = 90, cd = 40, dist = 1, target = 0, f = 0, t = "normal"},
},
["Shiny Lapras"] = {
    move1 = {name = "Ice Beam", level = 80, cd = 20, dist = 1, target = 0, f = 1, t = "ice"},
    move2 = {name = "Ice Shards", level = 80, cd = 15, dist = 10, target = 1, f = 1, t = "ice"},
    move3 = {name = "Water Gun", level = 80, cd = 18, dist = 1, target = 0, f = 1, t = "water"},
    move4 = {name = "Waterball", level = 80, cd = 18, dist = 10, target = 1, f = 1, t = "water"},
    move5 = {name = "Bubble Blast", level = 80, cd = 40, dist = 1, target = 0, f = 1, t = "water"},
    move6 = {name = "Aurora Beam", level = 80, cd = 20, dist = 1, target = 0, f = 1, t = "ice"},
    move7 = {name = "Blizzard", level = 88, cd = 60, dist = 1, target = 0, f = 1, t = "ice"},
    move8 = {name = "Hydropump", level = 90, cd = 75, dist = 1, target = 0, f = 1, t = "water"},
    move9 = {name = "Sing", level = 80, cd = 30, dist = 1, target = 0, f = 0, t = "normal"},
    move10 = {name = "Safeguard", level = 90, cd = 40, dist = 1, target = 0, f = 0, t = "normal"},
},
["Eevee"] = {
    move1 = {name = "Sand Attack", level = 20, cd = 15, dist = 2, target = 0, f = 0, t = "ground"},
    move2 = {name = "Quick Attack", level = 20, cd = 10, dist = 1, target = 1, f = 1, t = "normal"},
    move3 = {name = "Bite", level = 20, cd = 10, dist = 1, target = 1, f = 1, t = "dark"},
    move4 = {name = "Headbutt", level = 24, cd = 15, dist = 1, target = 1, f = 1, t = "normal"},
    move5 = {name = "Iron Tail", level = 28, cd = 20, dist = 1, target = 1, f = 1, t = "steel"},
    move6 = {name = "Great Love", level = 35, cd = 25, dist = 1, target = 0, f = 1, t = "normal"},
},
["Vaporeon"] =   {
    move1 = {name = "Quick Attack", level = 60, cd = 10, dist = 2, target = 1, f = 1, t = "normal"},
    move2 = {name = "Bite", level = 60, cd = 15, dist = 1, target = 1, f = 1, t = "dark"},
    move3 = {name = "Water Gun", level = 60, cd = 20, dist = 1, target = 0, f = 1, t = "water"},
    move4 = {name = "Bubblebeam", level = 60, cd = 20, dist = 10, target = 1, f = 1, t = "water"},
    move5 = {name = "Water Pulse", level = 60, cd = 20, dist = 1, target = 0, f = 1, t = "water"},
    move6 = {name = "Muddy Water", level = 60, cd = 25, dist = 1, target = 0, f = 1, t = "water"},
    move7 = {name = "Aurora Beam", level = 64, cd = 25, dist = 1, target = 0, f = 1, t = "ice"},
    move8 = {name = "Hydro Cannon", level = 68, cd = 40, dist = 10, target = 0, f = 1, t = "water"},
},
["Shiny Vaporeon"] =   {
    move1 = {name = "Quick Attack", level = 60, cd = 10, dist = 2, target = 1, f = 1, t = "normal"},
    move2 = {name = "Bite", level = 60, cd = 15, dist = 1, target = 1, f = 1, t = "dark"},
    move3 = {name = "Water Gun", level = 60, cd = 20, dist = 1, target = 0, f = 1, t = "water"},
    move4 = {name = "Bubblebeam", level = 60, cd = 20, dist = 10, target = 1, f = 1, t = "water"},
    move5 = {name = "Water Pulse", level = 60, cd = 20, dist = 1, target = 0, f = 1, t = "water"},
    move6 = {name = "Muddy Water", level = 60, cd = 25, dist = 1, target = 0, f = 1, t = "water"},
    move7 = {name = "Aurora Beam", level = 64, cd = 25, dist = 1, target = 0, f = 1, t = "ice"},
    move8 = {name = "Hydro Cannon", level = 68, cd = 40, dist = 10, target = 0, f = 1, t = "water"},
},
["Jolteon"] =  {
    move1 = {name = "Quick Attack", level = 60, cd = 10, dist = 2, target = 1, f = 1, t = "normal"},
    move2 = {name = "Bite", level = 12, cd = 60, dist = 1, target = 1, f = 1, t = "dark"},
    move3 = {name = "Thunder Bolt", level = 60, cd = 20, dist = 10, target = 1, f = 1, t = "electric"},
    move4 = {name = "Thunder Fang", level = 60, cd = 20, dist = 1, target = 1, f = 1, t = "electric"},
    move5 = {name = "Thunder Wave", level = 60, cd = 20, dist = 1, target = 0, f = 1, t = "electric"},
    move6 = {name = "Pin Missile", level = 60, cd = 25, dist = 1, target = 0, f = 1, t = "bug"},
    move7 = {name = "Zap Cannon", level = 64, cd = 40, dist = 1, target = 0, f = 1, t = "electric"},
    move8 = {name = "Thunder", level = 68, cd = 30, dist = 1, target = 0, f = 1, t = "electric"},
},
["Shiny Jolteon"] =  {
    move1 = {name = "Quick Attack", level = 60, cd = 10, dist = 2, target = 1, f = 1, t = "normal"},
    move2 = {name = "Bite", level = 12, cd = 60, dist = 1, target = 1, f = 1, t = "dark"},
    move3 = {name = "Thunder Bolt", level = 60, cd = 20, dist = 10, target = 1, f = 1, t = "electric"},
    move4 = {name = "Thunder Fang", level = 60, cd = 20, dist = 1, target = 1, f = 1, t = "electric"},
    move5 = {name = "Thunder Wave", level = 60, cd = 20, dist = 1, target = 0, f = 1, t = "electric"},
    move6 = {name = "Pin Missile", level = 60, cd = 25, dist = 1, target = 0, f = 1, t = "bug"},
    move7 = {name = "Zap Cannon", level = 64, cd = 40, dist = 1, target = 0, f = 1, t = "electric"},
    move8 = {name = "Thunder", level = 68, cd = 30, dist = 1, target = 0, f = 1, t = "electric"},
},
["Flareon"] = {
    move1 = {name = "Quick Attack", level = 60, cd = 10, dist = 2, target = 1, f = 1, t = "normal"},
    move2 = {name = "Bite", level = 60, cd = 15, dist = 1, target = 1, f = 1, t = "dark"},
    move3 = {name = "Flamethrower", level = 60, cd = 20, dist = 1, target = 0, f = 1, t = "fire"},
    move4 = {name = "Sacred Fire", level = 60, cd = 20, dist = 10, target = 1, f = 1, t = "fire"},
    move5 = {name = "Blaze Kick", level = 60, cd = 20, dist = 1, target = 0, f = 1, t = "fire"},
    move6 = {name = "Raging Blast", level = 60, cd = 25, dist = 1, target = 0, f = 1, t = "fire"},
    move7 = {name = "Overheat", level = 64, cd = 30, dist = 1, target = 0, f = 1, t = "fire"}, 
    move8 = {name = "Fire Blast", level = 68, cd = 40, dist = 1, target = 0, f = 1, t = "fire"},
},
["Shiny Flareon"] = {
    move1 = {name = "Quick Attack", level = 60, cd = 10, dist = 2, target = 1, f = 1, t = "normal"},
    move2 = {name = "Bite", level = 60, cd = 15, dist = 1, target = 1, f = 1, t = "dark"},
    move3 = {name = "Flamethrower", level = 60, cd = 20, dist = 1, target = 0, f = 1, t = "fire"},
    move4 = {name = "Sacred Fire", level = 60, cd = 20, dist = 10, target = 1, f = 1, t = "fire"},
    move5 = {name = "Blaze Kick", level = 60, cd = 20, dist = 1, target = 0, f = 1, t = "fire"},
    move6 = {name = "Raging Blast", level = 60, cd = 25, dist = 1, target = 0, f = 1, t = "fire"},
    move7 = {name = "Overheat", level = 64, cd = 30, dist = 1, target = 0, f = 1, t = "fire"}, 
    move8 = {name = "Fire Blast", level = 68, cd = 40, dist = 1, target = 0, f = 1, t = "fire"},
},
["Porygon"] = {
    move1 = {name = "Super Sonic", level = 40, cd = 15, dist = 10, target = 1, f = 0, t = "normal"},
    move2 = {name = "Psybeam", level = 40, cd = 15, dist = 1, target = 0, f = 1, t = "psychic"},
    move3 = {name = "Cyber Pulse", level = 45, cd = 15, dist = 10, target = 1, f = 1, t = "psychic"},     
    move4 = {name = "Psychic", level = 40, cd = 30, dist = 1, target = 0, f = 1, t = "psychic"},
    move5 = {name = "Zap Cannon", level = 44, cd = 30, dist = 1, target = 0, f = 1, t = "electric"},
    move6 = {name = "Focus", level = 50, cd = 40, dist = 1, target = 0, f = 0, t = "normal"},
    move7 = {name = "Magic Coat", level = 48, cd = 40, dist = 1, target = 0, f = 0, t = "psychic"}, 
    move8 = {name = "Restore", level = 40, cd = 60, dist = 1, target = 0, f = 0, t = "normal"},
},
["Shiny Porygon"] = {
    move1 = {name = "Super Sonic", level = 40, cd = 15, dist = 10, target = 1, f = 0, t = "normal"},
    move2 = {name = "Psybeam", level = 40, cd = 15, dist = 1, target = 0, f = 1, t = "psychic"},
    move3 = {name = "Cyber Pulse", level = 45, cd = 15, dist = 10, target = 1, f = 1, t = "psychic"},     
    move4 = {name = "Psychic", level = 40, cd = 30, dist = 1, target = 0, f = 1, t = "psychic"},
    move5 = {name = "Zap Cannon", level = 44, cd = 30, dist = 1, target = 0, f = 1, t = "electric"},
    move6 = {name = "Focus", level = 50, cd = 40, dist = 1, target = 0, f = 0, t = "normal"},
    move7 = {name = "Magic Coat", level = 48, cd = 40, dist = 1, target = 0, f = 0, t = "psychic"}, 
    move8 = {name = "Restore", level = 40, cd = 60, dist = 1, target = 0, f = 0, t = "normal"},
},
["Omanyte"] = {
    move1 = {name = "Bite", level = 20, cd = 10, dist = 1, target = 1, f = 1, t = "dark"},
    move2 = {name = "Rock Throw", level = 20, cd = 10, dist = 10, target = 1, f = 1, t = "rock"},
    move3 = {name = "Waterball", level = 20, cd = 15, dist = 10, target = 1, f = 1, t = "water"},
    move4 = {name = "Water Gun", level = 20, cd = 20, dist = 1, target = 0, f = 1, t = "water"},
    move5 = {name = "Mud Shot", level = 20, cd = 20, dist = 10, target = 1, f = 1, t = "ground"},
    move6 = {name = "Bubble Blast", level = 25, cd = 40, dist = 1, target = 0, f = 1, t = "water"},
    move7 = {name = "Harden", level = 26, cd = 30, dist = 1, target = 0, f = 0, t = "normal"},
    move8 = {name = "Ancient Power", level = 30, cd = 40, dist = 1, target = 0, f = 1, t = "rock"},
},
["Omastar"] = {
    move1 = {name = "Mud Shot", level = 85, cd = 20, dist = 10, target = 1, f = 1, t = "ground"},
    move2 = {name = "Bite", level = 80, cd = 15, dist = 1, target = 1, f = 1, t = "dark"},
    move3 = {name = "Rock Throw", level = 80, cd = 10, dist = 10, target = 1, f = 1, t = "rock"},
    move4 = {name = "Waterball", level = 85, cd = 15, dist = 10, target = 1, f = 1, t = "water"},
    move5 = {name = "Rock Slide", level = 80, cd = 15, dist = 10, target = 1, f = 1, t = "rock"},
    move6 = {name = "Bubble Blast", level = 85, cd = 25, dist = 1, target = 0, f = 1, t = "water"},
    move7 = {name = "Rollout", level = 90, cd = 54, dist = 1, target = 0, f = 1, t = "rock"},
    move8 = {name = "Ancient Power", level = 95, cd = 40, dist = 1, target = 0, f = 1, t = "rock"},
    move9 = {name = "Hydropump", level = 88, cd = 70, dist = 1, target = 0, f = 1, t = "water"},
    move10 = {name = "Harden", level = 90, cd = 30, dist = 1, target = 0, f = 0, t = "normal"},
},
["Kabuto"] = {
    move1 = {name = "Scratch", level = 20, cd = 12, dist = 1, target = 1, f = 1, t = "normal"},
    move2 = {name = "Bubbles", level = 20, cd = 10, dist = 10, target = 1, f = 1, t = "water"},
    move3 = {name = "Slash", level = 20, cd = 20, dist = 1, target = 1, f = 1, t = "normal"},
    move4 = {name = "Mud Shot", level = 20, cd = 20, dist = 10, target = 1, f = 1, t = "ground"},
    move5 = {name = "Night Slash", level = 20, cd = 20, dist = 1, target = 0, f = 1, t = "dark"},
    move6 = {name = "Harden", level = 30, cd = 30, dist = 1, target = 0, f = 0, t = "normal"},
    move7 = {name = "Ancient Power", level = 26, cd = 40, dist = 1, target = 0, f = 1, t = "rock"},
},
["Kabutops"] = {
    move1 = {name = "Slash", level = 85, cd = 20, dist = 1, target = 1, f = 1, t = "normal"}, 
    move2 = {name = "Bubbles", level = 85, cd = 10, dist = 10, target = 1, f = 1, t = "water"},
    move3 = {name = "Rock Throw", level = 80, cd = 10, dist = 10, target = 1, f = 1, t = "rock"},
    move4 = {name = "Rock Slide", level = 80, cd = 15, dist = 10, target = 1, f = 1, t = "rock"},
    move5 = {name = "Mud Shot", level = 85, cd = 20, dist = 10, target = 1, f = 1, t = "ground"},
    move6 = {name = "Night Slash", level = 80, cd = 20, dist = 1, target = 0, f = 1, t = "dark"},  --alterado v1.7
    move7 = {name = "Rock Tomb", level = 80, cd = 30, dist = 10, target = 1, f = 1, t = "rock"},
    move8 = {name = "Ancient Power", level = 95, cd = 40, dist = 1, target = 0, f = 1, t = "rock"},
    move9 = {name = "Harden", level = 90, cd = 30, dist = 1, target = 0, f = 0, t = "normal"}, 
},
["Aerodactyl"] = {
    move1 = {name = "Roar", level = 110, cd = 20, dist = 1, target = 0, f = 0, t = "normal"},
    move2 = {name = "Super Sonic", level = 100, cd = 20, dist = 1, target = 1, f = 0, t = "normal"},
    move3 = {name = "Bite", level = 100, cd = 10, dist = 1, target = 1, f = 1, t = "dark"},
    move4 = {name = "Crunch", level = 100, cd = 10, dist = 1, target = 0, f = 1, t = "dark"},
    move5 = {name = "Rock Throw", level = 100, cd = 15, dist = 10, target = 1, f = 1, t = "rock"},
    move6 = {name = "Rock Slide", level = 100, cd = 20, dist = 10, target = 1, f = 1, t = "rock"},
    move7 = {name = "Air Cutter", level = 105, cd = 40, dist = 1, target = 0, f = 1, t = "flying"},
    move8 = {name = "Wing Attack", level = 100, cd = 35, dist = 1, target = 0, f = 1, t = "flying"},
    move9 = {name = "Falling Rocks", level = 105, cd = 50, dist = 1, target = 0, f = 1, t = "rock"},
    move10 = {name = "Hyper Beam", level = 110, cd = 30, dist = 1, target = 0, f = 1, t = "normal"},
    move11 = {name = "Ancient Power", level = 115, cd = 40, dist = 1, target = 0, f = 1, t = "rock"},
},
["Snorlax"] = {
    move1 = {name = "Lick", level = 90, cd = 30, dist = 1, target = 1, f = 0, t = "normal"},
    move2 = {name = "Bite", level = 90, cd = 15, dist = 1, target = 1, f = 1, t = "dark"},
    move3 = {name = "Crunch", level = 90, cd = 10, dist = 1, target = 0, f = 1, t = "dark"},  
    move4 = {name = "Mega Punch", level = 90, cd = 20, dist = 1, target = 1, f = 1, t = "fighting"},
    move5 = {name = "Body Slam", level = 94, cd = 20, dist = 1, target = 1, f = 1, t = "normal"},
    move6 = {name = "Focus Blast", level = 95, cd = 25, dist = 1, target = 0, f = 1, t = "fighting"},
    move7 = {name = "Hyper Beam", level = 95, cd = 30, dist = 1, target = 0, f = 1, t = "normal"},
    move8 = {name = "Crusher Stomp", level = 100, cd = 45, dist = 1, target = 0, f = 1, t = "ground"},
    move9 = {name = "Rest", level = 96, cd = 120, dist = 1, target = 0, f = 0, t = "normal"},
},
["Shiny Snorlax"] = {
    move1 = {name = "Lick", level = 90, cd = 30, dist = 1, target = 1, f = 0, t = "normal"},
    move2 = {name = "Bite", level = 90, cd = 15, dist = 1, target = 1, f = 1, t = "dark"},
    move3 = {name = "Crunch", level = 90, cd = 10, dist = 1, target = 0, f = 1, t = "dark"},  
    move4 = {name = "Mega Punch", level = 90, cd = 20, dist = 1, target = 1, f = 1, t = "fighting"},
    move5 = {name = "Body Slam", level = 94, cd = 20, dist = 1, target = 1, f = 1, t = "normal"},
    move6 = {name = "Focus Blast", level = 95, cd = 25, dist = 1, target = 0, f = 1, t = "fighting"},
    move7 = {name = "Hyper Beam", level = 95, cd = 30, dist = 1, target = 0, f = 1, t = "normal"},
    move8 = {name = "Crusher Stomp", level = 100, cd = 45, dist = 1, target = 0, f = 1, t = "ground"},
    move9 = {name = "Rest", level = 96, cd = 120, dist = 1, target = 0, f = 0, t = "normal"},
},
["Dratini"] =  {
    move1 = {name = "Aqua Tail", level = 20, cd = 10, dist = 1, target = 1, f = 1, t = "water"},
    move2 = {name = "Thunder Wave", level = 20, cd = 15, dist = 1, target = 0, f = 1, t = "electric"},
    move3 = {name = "Headbutt", level = 20, cd = 12, dist = 1, target = 1, f = 1, t = "normal"},
    move4 = {name = "Twister", level = 21, cd = 30, dist = 1, target = 0, f = 1, t = "dragon"},
    move5 = {name = "Hyper Beam", level = 30, cd = 20, dist = 1, target = 0, f = 1, t = "normal"},
    move6 = {name = "Dragon Breath", level = 25, cd = 25, dist = 1, target = 0, f = 1, t = "dragon"},
},
["Shiny Dratini"] =  {
    move1 = {name = "Aqua Tail", level = 20, cd = 10, dist = 1, target = 1, f = 1, t = "water"},
    move2 = {name = "Thunder Wave", level = 20, cd = 15, dist = 1, target = 0, f = 1, t = "electric"},
    move3 = {name = "Headbutt", level = 20, cd = 12, dist = 1, target = 1, f = 1, t = "normal"},
    move4 = {name = "Twister", level = 21, cd = 30, dist = 1, target = 0, f = 1, t = "dragon"},
    move5 = {name = "Hyper Beam", level = 30, cd = 20, dist = 1, target = 0, f = 1, t = "normal"},
    move6 = {name = "Dragon Breath", level = 25, cd = 25, dist = 1, target = 0, f = 1, t = "dragon"},
},
["Dragonair"] = {
    move1 = {name = "Aqua Tail", level = 60, cd = 15, dist = 1, target = 1, f = 1, t = "water"},
    move2 = {name = "Thunder Wave", level = 60, cd = 20, dist = 1, target = 0, f = 1, t = "electric"},
    move3 = {name = "Headbutt", level = 60, cd = 15, dist = 1, target = 1, f = 1, t = "normal"},
    move4 = {name = "Wrap", level = 60, cd = 20, dist = 10, target = 1, f = 0, t = "normal"},
    move5 = {name = "Dragon Claw", level = 60, cd = 20, dist = 1, target = 1, f = 1, t = "dragon"},
    move6 = {name = "Dragon Breath", level = 62, cd = 20, dist = 1, target = 0, f = 1, t = "dragon"},
    move7 = {name = "Twister", level = 64, cd = 30, dist = 1, target = 0, f = 1, t = "dragon"},
    move8 = {name = "Hyper Beam", level = 68, cd = 25, dist = 1, target = 0, f = 1, t = "normal"},
},
["Shiny Dragonair"] = {
    move1 = {name = "Aqua Tail", level = 60, cd = 15, dist = 1, target = 1, f = 1, t = "water"},
    move2 = {name = "Thunder Wave", level = 60, cd = 20, dist = 1, target = 0, f = 1, t = "electric"},
    move3 = {name = "Headbutt", level = 60, cd = 15, dist = 1, target = 1, f = 1, t = "normal"},
    move4 = {name = "Wrap", level = 60, cd = 20, dist = 10, target = 1, f = 0, t = "normal"},
    move5 = {name = "Dragon Claw", level = 60, cd = 20, dist = 1, target = 1, f = 1, t = "dragon"},
    move6 = {name = "Dragon Breath", level = 62, cd = 20, dist = 1, target = 0, f = 1, t = "dragon"},
    move7 = {name = "Twister", level = 64, cd = 30, dist = 1, target = 0, f = 1, t = "dragon"},
    move8 = {name = "Hyper Beam", level = 68, cd = 25, dist = 1, target = 0, f = 1, t = "normal"},
},
["Dragonite"] =  {
    move1 = {name = "Aqua Tail", level = 100, cd = 15, dist = 1, target = 1, f = 1, t = "water"},
    move2 = {name = "Thunder Wave", level = 100, cd = 20, dist = 1, target = 0, f = 1, t = "electric"},
    move3 = {name = "Headbutt", level = 100, cd = 15, dist = 1, target = 1, f = 1, t = "normal"},
    move4 = {name = "Dragon Claw", level = 100, cd = 20, dist = 1, target = 1, f = 1, t = "dragon"},
    move5 = {name = "Dragon Breath", level = 102, cd = 25, dist = 1, target = 0, f = 1, t = "dragon"},
    move6 = {name = "Twister", level = 104, cd = 30, dist = 1, target = 0, f = 1, t = "dragon"},
    move7 = {name = "Wing Attack", level = 106, cd = 35, dist = 1, target = 0, f = 1, t = "flying"},
    move8 = {name = "Hyper Beam", level = 108, cd = 30, dist = 1, target = 0, f = 1, t = "normal"},
    move9 = {name = "Draco Meteor", level = 115, cd = 70, dist = 1, target = 0, f = 1, t = "dragon"},
},
["Shiny Dragonite"] =  {
    move1 = {name = "Aqua Tail", level = 100, cd = 15, dist = 1, target = 1, f = 1, t = "water"},
    move2 = {name = "Thunder Wave", level = 100, cd = 20, dist = 1, target = 0, f = 1, t = "electric"},
    move3 = {name = "Headbutt", level = 100, cd = 15, dist = 1, target = 1, f = 1, t = "normal"},
    move4 = {name = "Dragon Claw", level = 100, cd = 20, dist = 1, target = 1, f = 1, t = "dragon"},
    move5 = {name = "Dragon Breath", level = 102, cd = 25, dist = 1, target = 0, f = 1, t = "dragon"},
    move6 = {name = "Twister", level = 104, cd = 30, dist = 1, target = 0, f = 1, t = "dragon"},
    move7 = {name = "Wing Attack", level = 106, cd = 35, dist = 1, target = 0, f = 1, t = "flying"},
    move8 = {name = "Hyper Beam", level = 108, cd = 30, dist = 1, target = 0, f = 1, t = "normal"},
    move9 = {name = "Draco Meteor", level = 115, cd = 70, dist = 1, target = 0, f = 1, t = "dragon"},
},
["Zapdos"] = {
    move1 = {name = "Thunder Bolt", level = 100, cd = 15, dist = 10, target = 1, f = 185, t = "electric"},
    move2 = {name = "Thunder Wave", level = 100, cd = 10, dist = 1, target = 0, f = 110, t = "electric"},
    move3 = {name = "Drill Peck", level = 100, cd = 15, dist = 1, target = 1, f = 175, t = "flying"},
    move4 = {name = "Tornado", level = 100, cd = 50, dist = 1, target = 0, f = 190, t = "flying"},
    move5 = {name = "Wing Attack", level = 100, cd = 20, dist = 1, target = 0, f = 215, t = "flying"},
    move6 = {name = "Thunder", level = 100, cd = 45, dist = 1, target = 0, f = 180, t = "electric"},
    move7 = {name = "Electric Storm", level = 100, cd = 60, dist = 1, target = 0, f = 237, t = "electric"},
    move8 = {name = "Aerial Ace", level = 100, cd = 50, dist = 1, target = 0, f = 230, t = "flying"}, 
    move9 = {name = "Electro Field", level = 100, cd = 30, dist = 1, target = 0, f = 180, t = "electric"}, 
    move10 = {name = "Roost", level = 100, cd = 70, dist = 1, target = 0, f = 0, t = "flying"},  
},
["Articuno"] = {
    move1 = {name = "Drill Peck", level = 100, cd = 15, dist = 1, target = 1, f = 185, t = "flying"},
    move2 = {name = "Icy Wind", level = 100, cd = 20, dist = 1, target = 0, f = 95, t = "ice"},
    move3 = {name = "Wing Attack", level = 100, cd = 20, dist = 1, target = 0, f = 215, t = "flying"},
    move4 = {name = "Ice Beam", level = 100, cd = 25, dist = 1, target = 0, f = 125, t = "ice"},
    move5 = {name = "Aurora Beam", level = 100, cd = 25, dist = 1, target = 0, f = 210, t = "ice"},
    move6 = {name = "Tornado", level = 100, cd = 50, dist = 1, target = 0, f = 150, t = "flying"},
    move7 = {name = "Blizzard", level = 100, cd = 50, dist = 1, target = 0, f = 210, t = "ice"},
    move8 = {name = "Aerial Ace", level = 100, cd = 50, dist = 1, target = 0, f = 230, t = "flying"}, 
    move9 = {name = "Roost", level = 100, cd = 70, dist = 1, target = 0, f = 0, t = "flying"},  
},
["Moltres"] = { 
    move1 = {name = "Wing Attack", level = 100, cd = 15, dist = 1, target = 0, f = 215, t = "flying"},
    move2 = {name = "Ember", level = 100, cd = 10, dist = 10, target = 1, f = 192, t = "fire"},
    move3 = {name = "Flamethrower", level = 100, cd = 20, dist = 1, target = 0, f = 190, t = "fire"},
    move4 = {name = "Fireball", level = 100, cd = 15, dist = 10, target = 1, f = 215, t = "fire"},
    move5 = {name = "Fire Blast", level = 100, cd = 45, dist = 1, target = 0, f = 225, t = "fire"},
    move6 = {name = "Sunny Day", level = 100, cd = 30, dist = 1, target = 0, f = 0, t = "fire"},
    move7 = {name = "Aerial Ace", level = 100, cd = 50, dist = 1, target = 0, f = 210, t = "flying"}, 
    move8 = {name = "Inferno", level = 100, cd = 55, dist = 1, target = 0, f = 250, t = "fire"},  
    move9 = {name = "Roost", level = 100, cd = 70, dist = 1, target = 0, f = 0, t = "flying"}, 
    move10 = {name = "Fire Fury Bird", level = 100, cd = 70, dist = 1, target = 0, f = 0, t = "fire"}, 
},
["Mew"] = {
    move1 = {name = "Shadow Ball", level = 100, cd = 8, dist = 10, target = 1, f = 200, t = "ghost"},
    move2 = {name = "Bubble Blast", level = 100, cd = 40, dist = 1, target = 0, f = 220, t = "water"},
    move3 = {name = "Flamethrower", level = 100, cd = 20, dist = 1, target = 0, f = 210, t = "fire"},
    move4 = {name = "Thunder Bolt", level = 100, cd = 20, dist = 10, target = 1, f = 220, t = "electric"},
    move5 = {name = "Psychic", level = 100, cd = 40, dist = 1, target = 0, f = 235, t = "psychic"},
    move6 = {name = "Hydro Cannon", level = 100, cd = 35, dist = 1, target = 0, f = 250, t = "water"},
    move7 = {name = "Solar Beam", level = 100, cd = 60, dist = 1, target = 0, f = 250, t = "grass"},
    move8 = {name = "Metronome", level = 100, cd = 40, dist = 1, target = 0, f = 0, t = "normal"},
    move9 = {name = "Barrier", level = 100, cd = 35, dist = 1, target = 0, f = 0, t = "psychic"},
    move10 = {name = "Reflect", level = 100, cd = 60, dist = 1, target = 0, f = 0, t = "psychic"},
    move11 = {name = "Restore", level = 350, cd = 180, dist = 1, target = 0, f = 0, t = "normal"},
},
["Mewtwo"] = {
    move1 = {name = "Swift", level = 100, cd = 20, dist = 4, target = 1, f = 200, t = "normal"},
    move2 = {name = "Shadow Ball", level = 100, cd = 8, dist = 4, target = 1, f = 200, t = "ghost"},
    move3 = {name = "Psybeam", level = 100, cd = 25, dist = 1, target = 0, f = 200, t = "psychic"},
    move4 = {name = "Psywave", level = 100, cd = 20, dist = 1, target = 0, f = 200, t = "psychic"},
    move5 = {name = "Confusion", level = 100, cd = 35, dist = 1, target = 0, f = 220, t = "psychic"},
    move6 = {name = "Psychic", level = 100, cd = 40, dist = 1, target = 0, f = 250, t = "psychic"},
    move7 = {name = "Divine Punishment", level = 100, cd = 70, dist = 1, target = 0, f = 250, t = "psychic"},
    move8 = {name = "Restore", level = 100, cd = 180, dist = 1, target = 0, f = 0, t = "normal"},
    move9 = {name = "Barrier", level = 100, cd = 35, dist = 1, target = 0, f = 0, t = "psychic"},
    move10 = {name = "Fear", level = 100, cd = 45, dist = 1, target = 0, f = 0, t = "ghost"},
    move11 = {name = "Reflect", level = 100, cd = 60, dist = 1, target = 0, f = 0, t = "psychic"},
    move12 = {name = "Miracle Eye", level = 100, cd = 40, dist = 1, target = 0, f = 0, t = "psychic"},
},
}
    
    
    flys = {  ---- sempre adicionar 351 a mais para achar o ID no objectbuilder!!!
    ["Pikachu Fly"] = {2465, 1000}, -- moltres
    ["Moltres"] = {229, 2300}, -- moltres
    ["Articuno"] = {230, 2100}, -- artic
    ["Zapdos"] = {224, 2600}, -- zapdos
    ["Mew"] = {232, 2200}, -- 1000
    ["Mewtwo"] = {233, 2200},-- two
    ["Dragonite"] = {221, 500},-- nite
    ["Pidgeot"] = {222, 500}, -- geot
    ["Fearow"] = {226, 400}, -- fearow
    ["Aerodactyl"] = {227, 600}, -- aero
    ["Charizard"] = {216, 500}, -- chari
    ["Porygon"] = {316, 400}, -- porygon
    ["Shiny Dragonite"] = {1020, 600},-- Shiny nite
    ["Shiny Pidgeot"] = {996, 600}, -- Shiny geot
    ["Shiny Fearow"] = {997, 600}, -- Shiny fearow
    ["Shiny Charizard"] = {295, 600}, -- Shiny chari
    ["Porygon2"] = {648, 400}, -- 2
    ["Shiny Venomoth"] = {1457, 600},
    ["Shiny Porygon"] = {1693, 500},
    ["Dragonair"] = {1112, 400},
    ["Shiny Dragonair"] = {1113, 600},
    ["Farfetchd"] = {1120, 400},  --alterado v1.8 \/
    ["Shiny Farfetchd"] = {1121, 600},
    ["Gengar"] = {1123, 400},
    ["Shiny Gengar"] = {1124, 600},
    
    
    
    ["Skarmory"] = {649, 500}, -- skarmory
    ["Crobat"] = {652, 500}, -- crobat
    ["Noctowl"] = {994, 400},
    ["Heracross"] = {1125, 500},
    ["Xatu"] = {1122, 400},
    ["Togekiss"] = {1231, 500},
    ["Staraptor"] = {1234, 400},
    ["Drifblim"] = {1187, 400},
    ["Honchkrow"] = {1203, 400},
    ["Salamence"] = {1415, 500},
    ["Shiny Salamence"] = {1513, 600},
    ["Tropius"] = {1398, 500},
    ["Swellow"] = {1397, 400},
    ["Flygon"] = {1391, 600},
    ["Altaria"] = {1398, 500},
    ["Pelipper"] = {1394, 500},
    ["Shiny Tropius"] = {1544, 600},
    ["Shiny Togekiss"] = {1703, 600},
    
    
    }
    
    rides = { ---- sempre adicionar 351 a mais para achar o ID no objectbuilder!!!
    ["Tauros"] = {128, 620}, -- tauros
    ["Ninetales"] = {129, 1580}, -- kyuubi
    ["Rapidash"] = {130, 680}, -- rapid
    ["Ponyta"] = {131, 550}, -- ponyta
    ["Rhyhorn"] = {132, 550}, -- rhyhorn
    ["Arcanine"] = {12, 650}, -- arcan
    ["Onix"] = {126, 550}, -- onix
    ["Venusaur"] = {134, 550}, -- venu
    ["Dodrio"] = {133, 650}, -- dodrio
    ["Doduo"] = {135, 550}, -- doduo
    ["Shiny Arcanine"] = {1003, 700}, -- arcan
    ["Shiny Venusaur"] = {1040, 550}, -- venu
    ["Shiny Onix"] = {293, 550}, -- cristal onix
    ["Shiny Ninetales"] = {1136, 700}, -- Shiny Ninetales  --alterado v1.9 \/
    ["Shiny Dodrio"] = {1145, 680}, -- shiny dodrio
    
    ["Luxray"] = {1228, 1000},
    ["Rampardos"] = {1180, 1000},
    ["Bastiodon"] = {1255, 1000},
    ["Torkoal"] = {1404, 1000},
    ["Mightyena"] = {1393, 1000},
    ["Camerupt"] = {1390, 1000},
    ["Shelgon"] = {1387, 1000},
    ["Metagross"] = {1386, 1000},
    ["Shiny Shelgon"] = {1387, 1000},
    ["Shiny Metagross"] = {1744, 1000},
    ["Manectric"] = {1385, 1000},
    ["Aggron"] = {1381, 1000},
    ["Shiny Aggron"] = {1502, 1000},
    ["Absol"] = {1380, 1000},
    }
    
    surfs = { ---- sempre adicionar 351 a mais para achar o ID no objectbuilder!!!
    ["Poliwag"] = {lookType=278, speed = 450},
    ["Poliwhirl"] = {lookType=137, speed = 450},
    ["Seaking"] = {lookType=620, speed = 520},
    ["Dewgong"] = {lookType=183, speed = 550},
    ["Blastoise"] = {lookType=184, speed = 700},
    ["Tentacruel"] = {lookType=185, speed = 600},
    ["Lapras"] = {lookType=186, speed = 900},
    ["Gyarados"] = {lookType=187, speed = 800},
    ["Omastar"] = {lookType=188, speed = 750},
    ["Kabutops"] = {lookType=189, speed = 800},
    ["Poliwrath"] = {lookType=190, speed = 680},
    ["Vaporeon"] = {lookType=191, speed = 750},
    ["Staryu"] = {lookType=266, speed = 450},
    ["Starmie"] = {lookType=267, speed = 600},
    ["Goldeen"] = {lookType=268, speed = 450},
    ["Seadra"] = {lookType=270, speed = 650},
    ["Golduck"] = {lookType=271, speed = 650},
    ["Squirtle"] = {lookType=273, speed = 450},
    ["Wartortle"] = {lookType=275, speed = 550},
    ["Tentacool"] = {lookType=277, speed = 450},
    ["Snorlax"] = {lookType=300, speed = 300},
    ["Shiny Blastoise"] = {lookType=658, speed = 800},
    ["Shiny Tentacruel"] = {lookType=1014, speed = 900},
    ["Shiny Gyarados"] = {lookType=1030, speed = 900},
    ["Shiny lapras"] = {lookType=1709, speed = 900},
    ["Shiny Vaporeon"] = {lookType=1032, speed = 800},        --alterado v1.6
    ["Shiny Seadra"] = {lookType=1025, speed = 750},
    ["Shiny Tentacool"] = {lookType=1013, speed = 600},
    ["Shiny Snorlax"] = {lookType=1035, speed = 750},
    
    }
    
    effectiveness = {
    [WATERDAMAGE] = {super = {"rock", "ground", "fire"}, weak = {"water", "grass", "dragon"}},
    [NORMALDAMAGE] = {weak = {"rock", "steel"}, non = {"ghost"}},
    [FIGHTDAMAGE] = {super = {"normal", "rock", "steel", "ice", "dark"}, weak = {"flying", "poison", "bug", "psychic"}, non = {"ghost"}},
    [FLYINGDAMAGE] = {super = {"fighting", "bug", "grass"}, weak = {"rock", "steel", "electric"}},
    [POISONDAMAGE] = {super = {"grass"}, weak = {"poison", "ground", "rock", "ghost"}, non = {"steel"}},
    [POISONEDDAMAGE] = {super = {"grass"}, weak = {"poison", "ground", "rock", "ghost"}, non = {"steel"}},
    [GROUNDDAMAGE] = {super = {"poison", "rock", "steel", "fire", "electric"}, weak = {"bug", "grass"}, non = {"flying"}},
    [ROCKDAMAGE] = {super = {"flying", "bug", "fire", "ice"}, weak = {"fighting", "ground", "steel"}},
    [BUGDAMAGE] = {super = {"grass", "psychic"}, weak = {"fighting", "flying", "poison", "ghost", "steel", "fire"}},  
    [GHOSTDAMAGE] = {super = {"ghost", "psychic"}, weak = {"steel", "dark"}, non = {"normal"}},
    [STEELDAMAGE] = {super = {"rock", "ice", "poison"}, weak = {"steel", "fire", "water", "electric"}},
    [FIREDAMAGE] = {super = {"bug", "grass", "ice", "steel"}, weak = {"rock", "fire", "water"}},
    [BURNEDDAMAGE] = {super = {"bug", "grass", "ice"}, weak = {"rock", "fire", "water"}},
    [GRASSDAMAGE] = {super = {"ground", "rock", "water"}, weak = {"flying", "poison", "bug", "steel", "fire", "grass", "dragon"}},
    [ELECTRICDAMAGE] = {super = {"flying", "water"}, weak = {"grass", "electric", "dragon"}, non = {"ground"}},
    [PSYCHICDAMAGE] = {super = {"fighting", "poison"}, weak = {"steel"}, non = {"dark"}},
    [ICEDAMAGE] = {super = {"flying", "ground", "grass", "dragon"}, weak = {"steel", "fire", "water"}},
    [DRAGONDAMAGE] = {super = {"dragon"}, weak = {"steel"}},
    [DARKDAMAGE] = {super = {"ghost", "psychic"}, weak = {"fighting", "steel", "dark"}},
    [MIRACLEDAMAGE] = {super = {"fighting", "poison"}, weak = {"steel", "psychic", "dark"}},  --alterado v1.6     
    [DARK_EYEDAMAGE] = {super = {"ghost", "psychic"}, weak = {"steel", "dark", "normal"}},           --alterado v1.6
    [SEED_BOMBDAMAGE] = {super = {"ground", "rock", "water"}, weak = {"flying", "poison", "bug", "steel", "fire", "grass", "dragon"}}, --alterado v1.6
    [SACREDDAMAGE] = {super = {"bug", "grass", "ice"}, weak = {"rock", "fire", "water"}},  --alterado v1.6
    [MUDBOMBDAMAGE] = {super = {"poison", "rock", "steel", "fire", "electric"}, weak = {"bug", "grass"}, non = {"flying"}}, --alterado v1.8
    }
    
    -- offense = offense que ganha por level
    -- level = level min pra usar o poke / offense base
    -- defense = defense por level
    -- agility = speed base dos pokes
    -- specialattack = special attack que ganha por level
    -- exp = exp que d? cada level que tem (somada a exp base, no xml do poke)                 
    -- vitality = vida que o poke ganha pra cada vitality que tem
    
    fotos = {
    ["Bulbasaur"] = 11989,
    ["Ivysaur"] = 11990,
    ["Venusaur"] = 11991,
    ["Charmander"] = 11992,
    ["Charmeleon"] = 11993,
    ["Charizard"] = 11994,
    ["Mega Charizard"] = 4298,
    ["Squirtle"] = 11995,
    ["Wartortle"] = 11996,
    ["Blastoise"] = 11997,
    ["Mega Blastoise"] = 4299,
    ["Caterpie"] = 11998,
    ["Metapod"] = 11999,
    ["Butterfree"] = 12000,
    ["Weedle"] = 12001,
    ["Kakuna"] = 12002,
    ["Beedrill"] = 12003,
    ["Pidgey"] = 12004,
    ["Pidgeotto"] = 12005,
    ["Pidgeot"] = 12006,
    ["Rattata"] = 12007,
    ["Raticate"] = 12008,
    ["Spearow"] = 12009,
    ["Fearow"] = 12010,
    ["Ekans"] = 12011,
    ["Arbok"] = 12012,
    ["Pikachu"] = 12013,
    ["Pikachu Surf"] = 12013,
    ["Pikachu Fly"] = 12013,
    ["Raichu"] = 12014,
    ["Sandshrew"] = 12015,
    ["Sandslash"] = 12016,
    ["Nidoran Female"] = 12017,
    ["Nidorina"] = 12018,
    ["Nidoqueen"] = 12019,
    ["Nidoran Male"] = 12020,
    ["Nidorino"] = 12021,
    ["Nidoking"] = 12022,
    ["Clefairy"] = 12023,
    ["Clefable"] = 12024,
    ["Shiny Clefable"] = 12024,
    ["Vulpix"] = 12025,
    ["Ninetales"] = 12026,
    ["Jigglypuff"] = 12027,
    ["Wigglytuff"] = 12028,
    ["Shiny Wigglytuff"] = 12028,
    ["Zubat"] = 12029,
    ["Golbat"] = 12030,
    ["Oddish"] = 12031,
    ["Gloom"] = 12032,
    ["Vileplume"] = 12033,
    ["Paras"] = 12034,
    ["Parasect"] = 12035,
    ["Venonat"] = 12036,
    ["Venomoth"] = 12037,
    ["Diglett"] = 12038,
    ["Dugtrio"] = 12039,
    ["Meowth"] = 12040,
    ["Persian"] = 12041,
    ["Psyduck"] = 12042,
    ["Golduck"] = 12043,
    ["Mankey"] = 12044,
    ["Primeape"] = 12045,
    ["Growlithe"] = 12046,
    ["Arcanine"] = 12047,
    ["Poliwag"] = 12048,
    ["Poliwhirl"] = 12049,
    ["Poliwrath"] = 12050,
    ["Abra"] = 12051,
    ["Kadabra"] = 12052,
    ["Alakazam"] = 12053,
    ["Machop"] = 12054,
    ["Machoke"] = 12055,
    ["Machamp"] = 12056,
    ["Shiny Machamp"] = 15801,
    ["Bellsprout"] = 12057,
    ["Weepinbell"] = 12058,
    ["Victreebel"] = 12059,
    ["Tentacool"] = 12060,
    ["Tentacruel"] = 12061,
    ["Geodude"] = 12062,
    ["Graveler"] = 12063,
    ["Golem"] = 12064,
    ["Ponyta"] = 12065,
    ["Rapidash"] = 12066,
    ["Slowpoke"] = 12067,
    ["Slowbro"] = 12068,
    ["Magnemite"] = 12069,
    ["Magneton"] = 12070,
    ["Farfetchd"] = 12071,
    ["Doduo"] = 12072,
    ["Dodrio"] = 12073,
    ["Seel"] = 12074,
    ["Dewgong"] = 12075,
    ["Grimer"] = 12076,
    ["Muk"] = 12077,
    ["Shellder"] = 12078,
    ["Cloyster"] = 12079,
    ["Gastly"] = 12080,
    ["Haunter"] = 12081,
    ["Gengar"] = 12082,
    ["Onix"] = 12083,
    ["Drowzee"] = 12084,
    ["Hypno"] = 12085,
    ["Krabby"] = 12086,
    ["Kingler"] = 12087,
    ["Voltorb"] = 12088,
    ["Electrode"] = 12089,
    ["Exeggcute"] = 12090,
    ["Exeggutor"] = 12091,
    ["Cubone"] = 12092,
    ["Marowak"] = 12093,
    ["Hitmonlee"] = 12094,
    ["Hitmonchan"] = 12095,
    ["Licktung"] = 12096,
    ["Koffing"] = 12097,
    ["Weezing"] = 12098,
    ["Rhyhorn"] = 12099,
    ["Rhydon"] = 12100,
    ["Chansey"] = 12101,
    ["Tangela"] = 12102,
    ["Kangaskhan"] = 12103,
    ["Horsea"] = 12104,
    ["Seadra"] = 12105,
    ["Goldeen"] = 12106,
    ["Seaking"] = 12107,
    ["Staryu"] = 12108,
    ["Starmie"] = 12109,
    ["Mr. Mime"] = 12110,
    ["Scyther"] = 12111,
    ["Jynx"] = 12112,
    ["Electabuzz"] = 12113,
    ["Magmar"] = 12114,
    ["Pinsir"] = 12115,
    ["Tauros"] = 12116,
    ["Magikarp"] = 12117,
    ["Gyarados"] = 12118,
    ["Lapras"] = 12119,
    ["Ditto"] = 12120,
    ["Eevee"] = 12121,
    ["Vaporeon"] = 12122,
    ["Jolteon"] = 12123,
    ["Flareon"] = 12124,
    ["Porygon"] = 12125,
    ["Supremo Porygon"] = 12125,
    ["Omanyte"] = 12126,
    ["Omastar"] = 12127,
    ["Kabuto"] = 12128,
    ["Kabutops"] = 12129,
    ["Aerodactyl"] = 12130,
    ["Ancient Articuno"] = 4290,
    ["Snorlax"] = 12131,
    ["Articuno"] = 12132,
    ["Zapdos"] = 12133,
    ["Moltres"] = 12134,
    ["Dratini"] = 12135,
    ["Dragonair"] = 12136,
    ["Dragonite"] = 12137,
    ["Mewtwo"] = 12138,
    ["Mew"] = 12139,
    ["Mega Gengar"] = 4305,
    ["Mega Elder"] = 4306,
    ["Mega Alakazam"] = 4295,
    -----------------Shiny Portfoil------------
    ["Shiny Venusaur"] = 11139,
    ["Shiny Charizard"] = 11142,
    ["Shiny Blastoise"] = 11145,
    ["Shiny Butterfree"] = 11148,
    ["Shiny Beedrill"] = 11151,
    ["Shiny Pidgeot"] = 11154,
    ["Shiny Rattata"] = 11155,
    ["Shiny Raticate"] = 11156,
    ["Shiny Fearow"] = 11158,
    ["Shiny Raichu"] = 11162,
    ["Shiny Nidoking"] = 11170,
    ["Shiny Zubat"] = 11177,
    ["Shiny Golbat"] = 11178,
    ["Shiny Oddish"] = 11179,
    ["Shiny Vileplume"] = 11181,
    ["Shiny Paras"] = 11182,
    ["Shiny Parasect"] = 11183,
    ["Shiny Venonat"] = 11184,
    ["Shiny Venomoth"] = 11185,
    ["Shiny Growlithe"] = 11194,
    ["Shiny Arcanine"] = 11195,
    ["Shiny Abra"] = 11199,
    ["Shiny Alakazam"] = 11201,
    ["Shiny Tentacool"] = 11208,
    ["Shiny Tentacruel"] = 11209,
    ["Shiny Golem"] = 11212,
    ["Shiny Farfetchd"] = 11219,
    ["Shiny Grimer"] = 11224,
    ["Shiny Muk"] = 11225,
    ["Shiny Gengar"] = 11230,
    ["Shiny Onix"] = 12605,  --alterado v1.9
    ["Shiny Hypno"] = 11233,
    ["Shiny Krabby"] = 11234,
    ["Shiny Kingler"] = 11235,
    ["Shiny Voltorb"] = 11236,
    ["Shiny Electrode"] = 11237,
    ["Shiny Cubone"] = 11240,
    ["Shiny Marowak"] = 11241,
    ["Shiny Hitmonlee"] = 11242,
    ["Shiny Hitmontop"] = 12606, --alterado v1.9
    ["Shiny Hitmonchan"] = 11243,
    ["Shiny Tangela"] = 11250,
    ["Shiny Horsea"] = 11252,
    ["Shiny Seadra"] = 11253,
    ["Shiny Scyther"] = 11259,
    ["Shiny Jynx"] = 11260,
    ["Shiny Electabuzz"] = 11261,
    ["Shiny Pinsir"] = 11263,
    ["Shiny Magikarp"] = 11265,
    ["Shiny Gyarados"] = 11266,
    ["Shiny Vaporeon"] = 11270,
    ["Shiny Jolteon"] = 11271,
    ["Shiny Flareon"] = 11272,
    ["Shiny Snorlax"] = 11279,
    ["Shiny Dratini"] = 11283,
    ["Shiny Dragonair"] = 11284,
    ["Shiny Dragonite"] = 11285,
    ["Supremo Gengar"] = 12082,
    ["Ancient Kabutops"] = 12129,
    ["Shiny Dodrio"] = 12613,
    ["Shiny Mr. Mime"] = 12616,   --alterado v1.9 \/  
    ["Shiny Rhydon"] = 12612,
    ["Shiny Ninetales"] = 12615,
    ["Shiny Magneton"] = 12614,
    -----------------geracao 2 Portfoil------------
    
    ["Chikorita"] = 11288,
    ["Bayleef"] = 11289,
    ["Meganium"] = 11290,
    ["Cyndaquil"] = 11291,
    ["Quilava"] = 11292,
    ["Typhlosion"] = 11293,
    ["Totodile"] = 11294,
    ["Croconaw"] = 11295,
    ["Feraligatr"] = 11296,
    ["Sentret"] = 11297,
    ["Furret"] = 11298,
    ["Hoothoot"] = 11299,
    ["Noctowl"] = 11300,
    ["Ledyba"] = 11301,
    ["Ledian"] = 11302,
    ["Spinarak"] = 11303,
    ["Ariados"] = 11304,
    ["Crobat"] = 11305,
    ["Chinchou"] = 11306,
    ["Lanturn"] = 11307,
    ["Pichu"] = 11308,
    ["Cleffa"] = 11309,
    ["Igglybuff"] = 11310,
    ["Togepi"] = 11311,
    ["Togetic"] = 11312,
    ["Natu"] = 11313,
    ["Xatu"] = 11314,
    ["Mareep"] = 11315,
    ["Flaaffy"] = 11316,
    ["Ampharos"] = 11317,
    ["Bellossom"] = 11318,
    ["Marill"] = 11319,
    ["Azumarill"] = 11320,
    ["Sudowoodo"] = 11321,
    ["Politoed"] = 11322,
    ["Hoppip"] = 11323,
    ["Skiploom"] = 11324,
    ["Jumpluff"] = 11325,
    ["Aipom"] = 11326,
    ["Sunkern"] = 11327,
    ["Sunflora"] = 11328,
    ["Yanma"] = 11329,
    ["Wooper"] = 11330,
    ["Quagsire"] = 11331,
    ["Espeon"] = 11332,
    ["Umbreon"] = 11333,
    ["Murkrow"] = 11334,
    ["Slowking"] = 11335,
    ["Misdreavus"] = 11336,
    ["Unown"] = 11337,
    ["Wobbuffet"] = 11338,
    ["Girafarig"] = 11339,
    ["Pineco"] = 11340,
    ["Forretress"] = 11341,
    ["Dunsparce"] = 11342,
    ["Gligar"] = 11343,
    ["Steelix"] = 11344,
    ["Shiny Steelix"] = 12943,
    ["Snubbull"] = 11345,
    ["Granbull"] = 11346,
    ["Qwilfish"] = 11347,
    ["Scizor"] = 11348,
    ["Shuckle"] = 11349,
    ["Heracross"] = 11350,
    ["Sneasel"] = 11351,
    ["Teddiursa"] = 11352,
    ["Ursaring"] = 11353,
    ["Slugma"] = 11354,
    ["Magcargo"] = 11355,
    ["Swinub"] = 11356,
    ["Piloswine"] = 11357,
    ["Corsola"] = 11358,
    ["Remoraid"] = 11359,
    ["Octillery"] = 11360,
    ["Delibird"] = 11361,
    ["Mantine"] = 11362,
    ["Skarmory"] = 11363,
    ["Houndour"] = 11364,
    ["Houndoom"] = 11365,
    ["Kingdra"] = 11366,
    ["Phanpy"] = 11367,
    ["Donphan"] = 11368,
    ["Porygon2"] = 11369,
    ["Stantler"] = 11370,
    ["Smeargle"] = 11371,
    ["Tyrogue"] = 11372,
    ["Hitmontop"] = 11373,
    ["Smoochum"] = 11374,
    ["Elekid"] = 11375,
    ["Magby"] = 11376,
    ["Miltank"] = 11377,
    ["Blissey"] = 11378,
    ["Raikou"] = 11379,
    ["Entei"] = 11380,
    ["Suicune"] = 11381,
    ["Larvitar"] = 11382,
    ["Pupitar"] = 11383,
    ["Tyranitar"] = 11384,
    ["Mega Tyranitar"] = 4296,
    ["Lugia"] = 11385,
    ["Ho-oh"] = 11386,
    ["Celebi"] = 11387,
    
    
    ["Shiny Ariados"] = 12611,
    ["Shiny Espeon"] = 12609,
    ["Shiny Politoed"] = 12610,
    ["Shiny Umbreon"] = 12608,
    ["Shiny Stantler"] = 12607,
    ------------ geracao 4 portfoil-----
    ["Magmortar"] = 105,
    ["Turtwig"] = 110,
    ["Leafeon"] = 4281,
    ["Grotle"] = 111,
    ["Torterra"] = 114,
    ["Chimchar"] = 116,
    ["Monferno"] = 117,
    ["Infernape"] = 120,
    ["Piplup"] = 122,
    ["Prinplup"] = 124,
    ["Empoleon"] = 126,
    ["Gible"] = 128,
    ["Gabite"] = 130,
    ["Garchomp"] = 132,
    ["Electivire"] = 134,
    ["Darkrai"] = 136,
    ["Togekiss"] = 138,
    ["Mamoswine"] = 140,
    ["Mega Lucario"] = 4289,
    ["Riolu"] = 142,
    ["Lucario"] = 144,
    ["Starly"] = 146,
    ["Staravia"] = 148,
    ["Staraptor"] = 150,
    ["Bidoof"] = 152,
    ["Bibarel"] = 154,
    ["Kricketot"] = 156,
    ["Kricketune"] = 158,
    ["Shinx"] = 160,
    ["Luxio"] = 162,
    ["Luxray"] = 164,
    ["Ambipom"] = 166,
    ["Mismagius"] = 168,
    ["Drifloon"] = 170,
    ["Drifblim"] = 172,
    ["Cranidos"] = 174,
    ["Rampardos"] = 176,
    ["Shieldon"] = 178,
    ["Bastiodon"] = 180,
    ["Burmy"] = 182,
    ["Wormadam Grass"] = 184,
    ["Wormadam Ground"] = 186,
    ["Wormadam Steel"] = 188,
    ["Mothim"] = 190,
    ["Combee"] = 192,
    ["Vespiquen"] = 195,
    ["Pachirisu"] = 197,
    ["Buizel"] = 199,
    ["Floatzel"] = 201,
    ["Cherubi"] = 203,
    ["Cherrim"] = 205,
    ["Honchkrow"] = 207,
    ["Shellos east"] = 209,
    ["Shellos"] = 211,
    ["Gastrodon east"] = 213,
    ["Gastrodon"] = 215,
    ["Buneary"] = 217,
    ["Lopunny"] = 219,
    ["Glameow"] = 221,
    ["Purugly"] = 223,
    ["Stunky"] = 225,
    ["Skuntank"] = 227,
    ["Bronzor"] = 229,
    ["Bronzong"] = 232,
    ["Bonsly"] = 234,
    ["Happiny"] = 236,
    ["Chatot"] = 238,
    ["Hippopotas"] = 240,
    ["Hippowdon"] = 242,
    ["Skorupi"] = 244,
    ["Drapion"] = 246,
    ["Croagunk"] = 248,
    ["Toxicroak"] = 250,
    ["Carnivine"] = 252,
    ["Finneon"] = 254,
    ["Lumineon"] = 256,
    ["Mantyke"] = 258,
    ["Snover"] = 260,
    ["Abomasnow"] = 262,
    ["Shiny Abomasnow"] = 6033,
    ["Weavile"] = 264,
    ["Gliscor"] = 266,
    ["Lickilicky"] = 268,
    ["Tangrowth"] = 270,
    ["Shiny Tangrowth"] = 6035,
    ["Yanmega"] = 272,
    ["Shiny Togekiss"] = 12947,
    -----------------Portfoil Hoenn------------
    ["Treecko"] = 273,
    ["Budew"] = 275,
    ["Grovyle"] = 276,
    ["Sceptile"] = 277,
    ["Torchic"] = 278,
    ["Combusken"] = 279,
    ["Castform"] = 281,
    ["Castform Water"] = 282,
    ["Castform Fire"] = 283,
    ["Castform Ice"] = 284,
    ["Blaziken"] = 285,
    ["Mega Blaziken"] = 4309,
    ["Mudkip"] = 286,
    ["Luvdisc"] = 287,
    ["Magnezone"] = 288,
    ["Marshtomp"] = 289,
    ["Swampert"] = 290,
    ["Poochyena"] = 291,
    ["Mightyena"] = 292,
    ["Zigzagoon"] = 295,
    ["Linoone"] = 296,
    ["Wurmple"] = 297,
    ["Silcoon"] = 298,
    ["Beautifly"] = 299,
    ["Cascoon"] = 300,
    ["Dustox"] = 301,
    ["Lotad"] = 302,
    ["Lombre"] = 303,
    ["Ludicolo"] = 304,
    ["Seedot"] = 305,
    ["Nuzleaf"] = 306,
    ["Shiftry"] = 307,
    ["Taillow"] = 308,
    ["Swellow"] = 309,
    ["Wingull"] = 310,
    ["Pelipper"] = 311,
    ["Ralts"] = 312,
    ["Kirlia"] = 317,
    ["Gardevoir"] = 318,
    ["Gallade"] = 319,
    ["Surskit"] = 321,
    ["Masquerain"] = 322,
    ["Shroomish"] = 323,
    ["Breloom"] = 324,
    ["Slakoth"] = 325,
    ["Vigoroth"] = 326,
    ["Slaking"] = 327,
    ["Nincada"] = 328,
    ["Ninjask"] = 329,
    ["Shedinja"] = 330,
    ["Whismur"] = 331,
    ["Loudred"] = 332,
    ["Exploud"] = 333,
    ["Makuhita"] = 334,
    ["Hariyama"] = 335,
    ["Nosepass"] = 336,
    ["Probopass"] = 337,
    ["Skitty"] = 338,
    ["Delcatty"] = 339,
    ["Sableye"] = 340,
    ["Mawile"] = 341,
    ["Aron"] = 342,
    ["Lairon"] = 343,
    ["Aggron"] = 344,
    ["Shiny Aron"] = 12794,
    ["Shiny Lairon"] = 12798,
    ["Shiny Aggron"] = 12793,
    ["Meditite"] = 345,
    ["Medicham"] = 346,
    ["Electrike"] = 347,
    ["Manectric"] = 348,
    ["Plusle"] = 349,
    ["Minun"] = 350,
    ["Volbeat"] = 393,
    ["Illumise"] = 394,
    ["Roselia"] = 395,
    ["Roserade"] = 396,
    ["Shiny Roserade"] = 12822,
    ["Gulpin"] = 397,
    ["Swalot"] = 398,
    ["Carvanha"] = 399,
    ["Sharpedo"] = 400,
    ["Wailmer"] = 401,
    ["Wailord"] = 402,
    ["Numel"] = 403,
    ["Camerupt"] = 404,
    ["Torkoal"] = 490,
    ["Spoink"] = 491,
    ["Grumpig"] = 492,
    ["Spinda"] = 494,
    ["Trapinch"] = 495,
    ["Vibrava"] = 496,
    ["Flygon"] = 497,
    ["Cacnea"] = 498,
    ["Cacturne"] = 499,
    ["Swablu"] = 500,
    ["Altaria"] = 501,
    ["Zangoose"] = 502,
    ["Seviper"] = 503,
    ["Lunatone"] = 504,
    ["Solrock"] = 505,
    ["Barboach"] = 506,
    ["Whiscash"] = 507,
    ["Corphish"] = 508,
    ["Crawdaunt"] = 509,
    ["Baltoy"] = 510,
    ["Claydol"] = 511,
    ["Lileep"] = 512,
    ["Cradily"] = 513,
    ["Shiny Lileep"] = 12800,
    ["Shiny Cradily"] = 12797,
    ["Anorith"] = 514,
    ["Armaldo"] = 515,
    ["Feebas"] = 516,
    ["Milotic"] = 517,
    ["Kecleon"] = 518,
    ["Shuppet"] = 519,
    ["Banette"] = 520,
    ["Dusclops"] = 523,
    ["Dusknoir"] = 522,
    ["Duskull"] = 521,
    ["Tropius"] = 274,
    ["Shiny Tropius"] = 4293,
    ["Chimecho"] = 524,
    ["Chingling"] = 525,
    ["Absol"] = 526,
    ["Snorunt"] = 527,
    ["Glalie"] = 528,
    ["Froslass"] = 529,
    ["Spheal"] = 530,
    ["Sealeo"] = 531,
    ["Glaceon"] = 4278,
    ["Walrein"] = 532,
    ["Clamperl"] = 533,
    ["Huntail"] = 534,
    ["Gorebyss"] = 535,
    ["Groudon"] = 8957,
    ["Relicanth"] = 537,
    ["Bagon"] = 538,
    ["Shelgon"] = 539,
    ["Salamence"] = 540,
    ["Giratina"] = 4286,
    ["Beldum"] = 541,
    ["Metang"] = 542,
    ["Metagross"] = 543,
    ["Shiny Bagon"] = 12795,
    ["Shiny Shelgon"] = 2837,
    ["Shiny Salamence"] = 2836,
    ["Shiny Beldum"] = 12796,
    ["Shiny Metang"] = 12801,
    ["Shiny Metagross"] = 12799,
    ["Rayquaza"] = 544,
    ["Uxie"] = 4284,
    ["Kyogre"] = 8958,
    ["Regice"] = 314,
    ["Regigigas"] = 4288,
    ["Regirock"] = 315,
    ["Registeel"] = 316,
    ["Shiny Magby"] = 12772,
    ["Heatran"] = 12782,
    ["Jirachi"] = 9981,
    ["Palkia"] = 6344,
    ["Dialga"] = 4304,
    ["Gothorita"] = 12082,
    ["Gothitelle"] = 11230,
    ["Hydreigon"] = 11230,
    ["Inkay"] = 12082,
    ["Shiny Flygon"] = 12944,
    ["Shiny Porygon"] = 12941,
    ["Shiny Blissey"] = 13085,
    ["Shiny Chansey"] = 13087,
    ["Shiny Lucario"] = 13080,
    ["Shiny Lapras"] = 13079,
    ["Shiny Slaking"] = 13075,
    ["Shiny Rhyperior"] = 13077,
    ["Shiny Sceptile"] = 13081,
    ["Shiny Gliscor"] = 13234,
    ["Shiny Shiftry"] = 13081,
    ["Shiny Probopass"] = 13230,
    ["Shiny Drapion"] = 13232,
    ["Snivy"] = 11990,
    }      
    
    newpokedex = {
    ["Bulbasaur"] = {gender = 500, level = 18, storage = 1001, stoCatch = 666001},
    ["Ivysaur"] = {gender = 500, level = 38, storage = 1002, stoCatch = 666002},
    ["Venusaur"] = {gender = 500, level = 75, storage = 1003, stoCatch = 666003},
    ["Charmander"] = {gender = 500, level = 18, storage = 1004, stoCatch = 666004},
    ["Charmeleon"] = {gender = 500, level = 38, storage = 1005, stoCatch = 666005},
    ["Charizard"] = {gender = 500, level = 75, storage = 1006, stoCatch = 666006},
    ["Squirtle"] = {gender = 500, level = 18, storage = 1007, stoCatch = 666007},
    ["Wartortle"] = {gender = 500, level = 38, storage = 1008, stoCatch = 666008},
    ["Blastoise"] = {gender = 500, level = 75, storage = 1009, stoCatch = 666009},
    ["Caterpie"] = {gender = 500, level = 3, storage = 1010, stoCatch = 666010},
    ["Metapod"] = {gender = 500, level = 10, storage = 1011, stoCatch = 666011},
    ["Butterfree"] = {gender = 500, level = 30, storage = 1012, stoCatch = 666012},
    ["Weedle"] = {gender = 500, level = 3, storage = 1013, stoCatch = 666013},
    ["Kakuna"] = {gender = 500, level = 10, storage = 1014, stoCatch = 666014},
    ["Beedrill"] = {gender = 500, level = 30, storage = 1015, stoCatch = 666015},
    ["Pidgey"] = {gender = 500, level = 5, storage = 1016, stoCatch = 666016},
    ["Pidgeotto"] = {gender = 500, level = 20, storage = 1017, stoCatch = 666017},
    ["Pidgeot"] = {gender = 500, level = 60, storage = 1018, stoCatch = 666018},
    ["Rattata"] = {gender = 500, level = 3, storage = 1019, stoCatch = 666019},
    ["Raticate"] = {gender = 500, level = 20, storage = 1020, stoCatch = 666020},
    ["Spearow"] = {gender = 500, level = 5, storage = 1021, stoCatch = 666021},
    ["Fearow"] = {gender = 500, level = 50, storage = 1022, stoCatch = 666022},
    ["Ekans"] = {gender = 500, level = 12, storage = 1023, stoCatch = 666023},
    ["Arbok"] = {gender = 500, level = 30, storage = 1024, stoCatch = 666024},
    ["Pikachu"] = {gender = 500, level = 20, storage = 1025, stoCatch = 666025},
    ["Pikachu Fly"] = {gender = 500, level = 100, storage = 14892, stoCatch = 666943},
    ["Pikachu Surf"] = {gender = 500, level = 100, storage = 14893, stoCatch = 666944},
    ["Raichu"] = {gender = 500, level = 50, storage = 1026, stoCatch = 666026},
    ["Sandshrew"] = {gender = 500, level = 18, storage = 1027, stoCatch = 666027},
    ["Sandslash"] = {gender = 500, level = 55, storage = 1028, stoCatch = 666028},
    ["Nidoran Female"] = {gender = 0, level = 10, storage = 1029, stoCatch = 666029},
    ["Nidorina"] = {gender = 0, level = 25, storage = 1030, stoCatch = 666030},
    ["Nidoqueen"] = {gender = 0, level = 65, storage = 1031, stoCatch = 666031},
    ["Nidoran Male"] = {gender = 1000, level = 10, storage = 1032, stoCatch = 666032},
    ["Nidorino"] = {gender = 1000, level = 25, storage = 1033, stoCatch = 666033},
    ["Nidoking"] = {gender = 1000, level = 65, storage = 1034, stoCatch = 666034},
    ["Clefairy"] = {gender = 250, level = 10, storage = 1035, stoCatch = 666035},
    ["Clefable"] = {gender = 250, level = 35, storage = 1036, stoCatch = 666036},
    ["Vulpix"] = {gender = 250, level = 16, storage = 1037, stoCatch = 666037},
    ["Ninetales"] = {gender = 250, level = 65, storage = 1038, stoCatch = 666038},
    ["Jigglypuff"] = {gender = 250, level = 10, storage = 1039, stoCatch = 666039},
    ["Wigglytuff"] = {gender = 250, level = 42, storage = 1040, stoCatch = 666040},
    ["Zubat"] = {gender = 500, level = 5, storage = 1041, stoCatch = 666041},
    ["Golbat"] = {gender = 500, level = 30, storage = 1042, stoCatch = 666042},
    ["Oddish"] = {gender = 500, level = 5, storage = 1043, stoCatch = 666043},
    ["Gloom"] = {gender = 500, level = 18, storage = 1044, stoCatch = 666044},
    ["Vileplume"] = {gender = 500, level = 50, storage = 1045, stoCatch = 666045},
    ["Paras"] = {gender = 500, level = 5, storage = 1046, stoCatch = 666046},
    ["Parasect"] = {gender = 500, level = 40, storage = 1047, stoCatch = 666047},
    ["Venonat"] = {gender = 500, level = 14, storage = 1048, stoCatch = 666048},
    ["Venomoth"] = {gender = 500, level = 40, storage = 1049, stoCatch = 666049},
    ["Diglett"] = {gender = 500, level = 5, storage = 1050, stoCatch = 666050},
    ["Dugtrio"] = {gender = 500, level = 35, storage = 1051, stoCatch = 666051},
    ["Meowth"] = {gender = 500, level = 12, storage = 1052, stoCatch = 666052},
    ["Persian"] = {gender = 500, level = 25, storage = 1053, stoCatch = 666053},
    ["Psyduck"] = {gender = 500, level = 12, storage = 1054, stoCatch = 666054},
    ["Golduck"] = {gender = 500, level = 55, storage = 1055, stoCatch = 666055},
    ["Mankey"] = {gender = 500, level = 10, storage = 1056, stoCatch = 666056},
    ["Primeape"] = {gender = 500, level = 45, storage = 1057, stoCatch = 666057},
    ["Growlithe"] = {gender = 750, level = 16, storage = 1058, stoCatch = 666058},
    ["Arcanine"] = {gender = 750, level = 70, storage = 1059, stoCatch = 666059},
    ["Poliwag"] = {gender = 500, level = 5, storage = 1060, stoCatch = 666060},
    ["Poliwhirl"] = {gender = 500, level = 20, storage = 1061, stoCatch = 666061},
    ["Poliwrath"] = {gender = 500, level = 60, storage = 1062, stoCatch = 666062},
    ["Abra"] = {gender = 750, level = 12, storage = 1063, stoCatch = 666063},
    ["Kadabra"] = {gender = 750, level = 40, storage = 1064, stoCatch = 666064},
    ["Alakazam"] = {gender = 750, level = 70, storage = 1065, stoCatch = 666065},
    ["Machop"] = {gender = 750, level = 16, storage = 1066, stoCatch = 666066},
    ["Machoke"] = {gender = 750, level = 38, storage = 1067, stoCatch = 666067},
    ["Machamp"] = {gender = 750, level = 70, storage = 1068, stoCatch = 666068},
    ["Bellsprout"] = {gender = 500, level = 5, storage = 1069, stoCatch = 666069},
    ["Weepinbell"] = {gender = 500, level = 18, storage = 1070, stoCatch = 666070},
    ["Victreebel"] = {gender = 500, level = 50, storage = 1071, stoCatch = 666071},
    ["Tentacool"] = {gender = 500, level = 12, storage = 1072, stoCatch = 666072},
    ["Tentacruel"] = {gender = 500, level = 70, storage = 1073, stoCatch = 666073},
    ["Geodude"] = {gender = 500, level = 15, storage = 1074, stoCatch = 666074},
    ["Graveler"] = {gender = 500, level = 40, storage = 1075, stoCatch = 666075},
    ["Golem"] = {gender = 500, level = 70, storage = 1076, stoCatch = 666076},
    ["Ponyta"] = {gender = 500, level = 15, storage = 1077, stoCatch = 666077},
    ["Rapidash"] = {gender = 500, level = 55, storage = 1078, stoCatch = 666078},
    ["Slowpoke"] = {gender = 500, level = 12, storage = 1079, stoCatch = 666079},
    ["Slowbro"] = {gender = 500, level = 45, storage = 1080, stoCatch = 666080},
    ["Magnemite"] = {gender = -1, level = 15, storage = 1081, stoCatch = 666081},
    ["Magneton"] = {gender = -1, level = 38, storage = 1082, stoCatch = 666082},
    ["Farfetchd"] = {gender = 500, level = 35, storage = 1083, stoCatch = 666083},
    ["Doduo"] = {gender = 500, level = 12, storage = 1084, stoCatch = 666084},
    ["Dodrio"] = {gender = 500, level = 42, storage = 1085, stoCatch = 666085},
    ["Seel"] = {gender = 500, level = 14, storage = 1086, stoCatch = 666086},
    ["Dewgong"] = {gender = 500, level = 55, storage = 1087, stoCatch = 666087},
    ["Grimer"] = {gender = 500, level = 12, storage = 1088, stoCatch = 666088},
    ["Muk"] = {gender = 500, level = 30, storage = 1089, stoCatch = 666089},
    ["Shellder"] = {gender = 500, level = 5, storage = 1090, stoCatch = 666090},
    ["Cloyster"] = {gender = 500, level = 65, storage = 1091, stoCatch = 666091},
    ["Gastly"] = {gender = 500, level = 14, storage = 1092, stoCatch = 666092},
    ["Haunter"] = {gender = 500, level = 40, storage = 1093, stoCatch = 666093},
    ["Gengar"] = {gender = 500, level = 70, storage = 1094, stoCatch = 666094},
    ["Onix"] = {gender = 500, level = 50, storage = 1095, stoCatch = 666095},
    ["Drowzee"] = {gender = 500, level = 18, storage = 1096, stoCatch = 666096},
    ["Hypno"] = {gender = 500, level = 50, storage = 1097, stoCatch = 666097},
    ["Krabby"] = {gender = 500, level = 5, storage = 1098, stoCatch = 666098},
    ["Kingler"] = {gender = 500, level = 35, storage = 1099, stoCatch = 666099},
    ["Voltorb"] = {gender = -1, level = 14, storage = 1100, stoCatch = 666100},
    ["Electrode"] = {gender = -1, level = 38, storage = 1101, stoCatch = 666101},
    ["Exeggcute"] = {gender = 500, level = 8, storage = 1102, stoCatch = 666102},
    ["Exeggutor"] = {gender = 500, level = 48, storage = 1103, stoCatch = 666103},
    ["Cubone"] = {gender = 500, level = 18, storage = 1104, stoCatch = 666104},
    ["Marowak"] = {gender = 500, level = 45, storage = 1105, stoCatch = 666105},
    ["Hitmonlee"] = {gender = 1000, level = 60, storage = 1106, stoCatch = 666106},
    ["Hitmonchan"] = {gender = 1000, level = 60, storage = 1107, stoCatch = 666107},
    ["Licktung"] = {gender = 500, level = 45, storage = 1108, stoCatch = 666108},
    ["Koffing"] = {gender = 500, level = 15, storage = 1109, stoCatch = 666109},
    ["Weezing"] = {gender = 500, level = 30, storage = 1110, stoCatch = 666110},
    ["Rhyhorn"] = {gender = 500, level = 35, storage = 1111, stoCatch = 666111},
    ["Rhydon"] = {gender = 500, level = 65, storage = 1112, stoCatch = 666112},
    ["Chansey"] = {gender = 0, level = 50, storage = 1113, stoCatch = 666113},
    ["Tangela"] = {gender = 500, level = 35, storage = 1114, stoCatch = 666114},
    ["Kangaskhan"] = {gender = 0, level = 65, storage = 1115, stoCatch = 666115},
    ["Horsea"] = {gender = 500, level = 5, storage = 1116, stoCatch = 666116},
    ["Seadra"] = {gender = 500, level = 40, storage = 1117, stoCatch = 666117},
    ["Goldeen"] = {gender = 500, level = 10, storage = 1118, stoCatch = 666118},
    ["Seaking"] = {gender = 500, level = 25, storage = 1119, stoCatch = 666119},
    ["Staryu"] = {gender = 500, level = 15, storage = 1120, stoCatch = 666120},
    ["Starmie"] = {gender = 500, level = 38, storage = 1121, stoCatch = 666121},
    ["Mr. Mime"] = {gender = 500, level = 45, storage = 1122, stoCatch = 666122},
    ["Scyther"] = {gender = 500, level = 60, storage = 1123, stoCatch = 666123},
    ["Jynx"] = {gender = 0, level = 55, storage = 1124, stoCatch = 666124},
    ["Electabuzz"] = {gender = 750, level = 60, storage = 1125, stoCatch = 666125},
    ["Magmar"] = {gender = 750, level = 60, storage = 1126, stoCatch = 666126},
    ["Pinsir"] = {gender = 500, level = 42, storage = 1127, stoCatch = 666127},
    ["Tauros"] = {gender = 1000, level = 40, storage = 1128, stoCatch = 666128},
    ["Magikarp"] = {gender = 500, level = 1, storage = 1129, stoCatch = 666129},
    ["Gyarados"] = {gender = 500, level = 75, storage = 1130, stoCatch = 666130},
    ["Lapras"] = {gender = 500, level = 65, storage = 1131, stoCatch = 666131},
    ["Ditto"] = {gender = 500, level = 40, storage = 1132, stoCatch = 666132},
    ["Eevee"] = {gender = 500, level = 20, storage = 1133, stoCatch = 666133},
    ["Vaporeon"] = {gender = 500, level = 55, storage = 1134, stoCatch = 666134},
    ["Jolteon"] = {gender = 500, level = 55, storage = 1135, stoCatch = 666135},
    ["Flareon"] = {gender = 500, level = 55, storage = 1136, stoCatch = 666136},
    ["Porygon"] = {gender = -1, level = 45, storage = 1137, stoCatch = 666137},
    ["Omanyte"] = {gender = 500, level = 20, storage = 1138, stoCatch = 666138},
    ["Omastar"] = {gender = 500, level = 70, storage = 1139, stoCatch = 666139},
    ["Kabuto"] = {gender = 500, level = 20, storage = 1140, stoCatch = 666140},
    ["Kabutops"] = {gender = 500, level = 70, storage = 1141, stoCatch = 666141},
    ["Aerodactyl"] = {gender = 500, level = 85, storage = 1142, stoCatch = 666142},
    ["Snorlax"] = {gender = 500, level = 85, storage = 1143, stoCatch = 666143},
    ["Articuno"] = {gender = -1, level = 100, storage = 1144, stoCatch = 666144},
    ["Zapdos"] = {gender = -1, level = 100, storage = 1145, stoCatch = 666145},
    ["Moltres"] = {gender = -1, level = 100, storage = 1146, stoCatch = 666146},
    ["Dratini"] = {gender = 500, level = 15, storage = 1147, stoCatch = 666147},
    ["Dragonair"] = {gender = 500, level = 45, storage = 1148, stoCatch = 666148},
    ["Dragonite"] = {gender = 500, level = 85, storage = 1149, stoCatch = 666149},
    ["Mewtwo"] = {gender = -1, level = -1, storage = 1150, stoCatch = 666150},
    ["Mew"] = {gender = -1, level = -1, storage = 1151, stoCatch = 666151},
    ["Shiny Venusaur"] = {gender = 500, level = 1, storage = 10030, stoCatch = 666154},
    ["Shiny Charizard"] = {gender = 500, level = 1, storage = 10060, stoCatch = 666157},
    ["Shiny Blastoise"] = {gender = 500, level = 1, storage = 10090, stoCatch = 666160},
    ["Shiny Butterfree"] = {gender = 500, level = 1, storage = 10120, stoCatch = 666163},
    ["Shiny Beedrill"] = {gender = 500, level = 1, storage = 10150, stoCatch = 666166},
    ["Shiny Pidgeot"] = {gender = 500, level = 1, storage = 10180, stoCatch = 666169},
    ["Shiny Rattata"] = {gender = 500, level = 1, storage = 10190, stoCatch = 666170},
    ["Shiny Raticate"] = {gender = 500, level = 1, storage = 10200, stoCatch = 666171},
    ["Shiny Fearow"] = {gender = 500, level = 1, storage = 10220, stoCatch = 666173},
    ["Shiny Raichu"] = {gender = 500, level = 1, storage = 10260, stoCatch = 666177},
    ["Shiny Nidoking"] = {gender = 500, level = 1, storage = 10340, stoCatch = 666185},
    ["Shiny Zubat"] = {gender = 500, level = 1, storage = 10410, stoCatch = 666192},
    ["Shiny Golbat"] = {gender = 500, level = 1, storage = 10420, stoCatch = 666193},
    ["Shiny Oddish"] = {gender = 500, level = 1, storage = 10430, stoCatch = 666194},
    ["Shiny Vileplume"] = {gender = 500, level = 1, storage = 10450, stoCatch = 666196},
    ["Shiny Paras"] = {gender = 500, level = 1, storage = 10460, stoCatch = 666197},
    ["Shiny Parasect"] = {gender = 500, level = 1, storage = 10470, stoCatch = 666198},
    ["Shiny Venonat"] = {gender = 500, level = 1, storage = 10480, stoCatch = 666199},
    ["Shiny Venomoth"] = {gender = 500, level = 1, storage = 10490, stoCatch = 666200},
    ["Shiny Growlithe"] = {gender = 500, level = 1, storage = 10580, stoCatch = 666209},
    ["Shiny Arcanine"] = {gender = 750, level = 1, storage = 10590, stoCatch = 666210},
    ["Shiny Abra"] = {gender = 500, level = 1, storage = 10630, stoCatch = 666214},
    ["Shiny Alakazam"] = {gender = 750, level = 1, storage = 10650, stoCatch = 666216},
    ["Shiny Tentacool"] = {gender = 500, level = 1, storage = 10720, stoCatch = 666223},
    ["Shiny Tentacruel"] = {gender = 500, level = 1, storage = 10730, stoCatch = 666224},
    ["Shiny Golem"] = {gender = 500, level = 1, storage = 10760, stoCatch = 666227},
    ["Shiny Farfetchd"] = {gender = 500, level = 1, storage = 10830, stoCatch = 666234},
    ["Shiny Grimer"] = {gender = 500, level = 1, storage = 10880, stoCatch = 666239},
    ["Shiny Muk"] = {gender = 500, level = 1, storage = 10890, stoCatch = 666240},
    ["Shiny Gengar"] = {gender = 500, level = 1, storage = 10940, stoCatch = 666245},
    ["Shiny Onix"] = {gender = 500, level = 1, storage = 10950, stoCatch = 666246},
    ["Shiny Hypno"] = {gender = 500, level = 1, storage = 10970, stoCatch = 666248},
    ["Shiny Krabby"] = {gender = 500, level = 1, storage = 10980, stoCatch = 666249},
    ["Shiny Kingler"] = {gender = 500, level = 1, storage = 10990, stoCatch = 666250},
    ["Shiny Voltorb"] = {gender = 500, level = 1, storage = 11000, stoCatch = 666251},
    ["Shiny Electrode"] = {gender = 500, level = 1, storage = 11010, stoCatch = 666252},
    ["Shiny Cubone"] = {gender = 500, level = 1, storage = 11040, stoCatch = 666255},
    ["Shiny Marowak"] = {gender = 500, level = 1, storage = 11050, stoCatch = 666256},
    ["Shiny Hitmonlee"] = {gender = 500, level = 1, storage = 11060, stoCatch = 666257},
    ["Shiny Hitmonchan"] = {gender = 500, level = 1, storage = 11070, stoCatch = 666258},
    ["Shiny Tangela"] = {gender = 500, level = 1, storage = 11140, stoCatch = 666265},
    ["Shiny Horsea"] = {gender = 500, level = 1, storage = 11160, stoCatch = 666267},
    ["Shiny Seadra"] = {gender = 500, level = 1, storage = 11170, stoCatch = 666268},
    ["Shiny Scyther"] = {gender = 500, level = 1, storage = 11230, stoCatch = 666274},
    ["Shiny Jynx"] = {gender = 0, level = 1, storage = 11240, stoCatch = 666275},
    ["Shiny Electabuzz"] = {gender = 750, level = 1, storage = 11250, stoCatch = 666276},
    ["Shiny Pinsir"] = {gender = 500, level = 1, storage = 11270, stoCatch = 666278},
    ["Shiny Magikarp"] = {gender = 500, level = 1, storage = 11290, stoCatch = 666280},
    ["Shiny Gyarados"] = {gender = 500, level = 1, storage = 11300, stoCatch = 666281},
    ["Shiny Vaporeon"] = {gender = 875, level = 1, storage = 11340, stoCatch = 666285},
    ["Shiny Jolteon"] = {gender = 875, level = 1, storage = 11350, stoCatch = 666286},
    ["Shiny Flareon"] = {gender = 875, level = 1, storage = 11360, stoCatch = 666287},
    ["Shiny Snorlax"] = {gender = 875, level = 1, storage = 11430, stoCatch = 666294},
    ["Shiny Dratini"] = {gender = 500, level = 1, storage = 11470, stoCatch = 666298},
    ["Shiny Dragonair"] = {gender = 500, level = 1, storage = 11480, stoCatch = 666299},
    ["Shiny Dragonite"] = {gender = 500, level = 1, storage = 11490, stoCatch = 666300},
    ["Chikorita"] = {gender = 500, level = 18, storage = 1152, stoCatch = 666303},
    ["Bayleef"] = {gender = 500, level = 38, storage = 1153, stoCatch = 666304},
    ["Meganium"] = {gender = 500, level = 75, storage = 1154, stoCatch = 666305},
    ["Cyndaquil"] = {gender = 500, level = 18, storage = 1155, stoCatch = 666306},
    ["Quilava"] = {gender = 500, level = 38, storage = 1156, stoCatch = 666307},
    ["Typhlosion"] = {gender = 500, level = 75, storage = 1157, stoCatch = 666308},
    ["Totodile"] = {gender = 500, level = 18, storage = 1158, stoCatch = 666309},
    ["Croconaw"] = {gender = 500, level = 38, storage = 1159, stoCatch = 666310},
    ["Feraligatr"] = {gender = 500, level = 75, storage = 1160, stoCatch = 666311},
    ["Sentret"] = {gender = 500, level = 3, storage = 1161, stoCatch = 666312},
    ["Furret"] = {gender = 500, level = 28, storage = 1162, stoCatch = 666313},
    ["Hoothoot"] = {gender = 500, level = 3, storage = 1163, stoCatch = 666314},
    ["Noctowl"] = {gender = 500, level = 38, storage = 1164, stoCatch = 666315},
    ["Ledyba"] = {gender = 500, level = 12, storage = 1165, stoCatch = 666316},
    ["Ledian"] = {gender = 500, level = 30, storage = 1166, stoCatch = 666317},
    ["Spinarak"] = {gender = 500, level = 15, storage = 1167, stoCatch = 666318},
    ["Ariados"] = {gender = 500, level = 42, storage = 1168, stoCatch = 666319},
    ["Crobat"] = {gender = 500, level = 70, storage = 1169, stoCatch = 666320},
    ["Chinchou"] = {gender = 500, level = 14, storage = 1170, stoCatch = 666321},
    ["Lanturn"] = {gender = 500, level = 38, storage = 1171, stoCatch = 666322},
    ["Pichu"] = {gender = 500, level = 3, storage = 1172, stoCatch = 666323},
    ["Cleffa"] = {gender = 500, level = 3, storage = 1173, stoCatch = 666324},
    ["Igglybuff"] = {gender = 500, level = 3, storage = 1174, stoCatch = 666325},
    ["Togepi"] = {gender = 500, level = 10, storage = 1175, stoCatch = 666326},
    ["Togetic"] = {gender = 500, level = 45, storage = 1176, stoCatch = 666327},
    ["Natu"] = {gender = 500, level = 15, storage = 1177, stoCatch = 666328},
    ["Xatu"] = {gender = 500, level = 45, storage = 1178, stoCatch = 666329},
    ["Mareep"] = {gender = 500, level = 12, storage = 1179, stoCatch = 666330},
    ["Flaaffy"] = {gender = 500, level = 30, storage = 1180, stoCatch = 666331},
    ["Ampharos"] = {gender = 500, level = 65, storage = 1181, stoCatch = 666332},
    ["Bellossom"] = {gender = 500, level = 50, storage = 1182, stoCatch = 666333},
    ["Marill"] = {gender = 500, level = 14, storage = 1183, stoCatch = 666334},
    ["Azumarill"] = {gender = 500, level = 28, storage = 1184, stoCatch = 666335},
    ["Sudowoodo"] = {gender = 500, level = 46, storage = 1185, stoCatch = 666336},
    ["Politoed"] = {gender = 500, level = 60, storage = 1186, stoCatch = 666337},
    ["Hoppip"] = {gender = 500, level = 10, storage = 1187, stoCatch = 666338},
    ["Skiploom"] = {gender = 500, level = 20, storage = 1188, stoCatch = 666339},
    ["Jumpluff"] = {gender = 500, level = 30, storage = 1189, stoCatch = 666340},
    ["Aipom"] = {gender = 500, level = 10, storage = 1190, stoCatch = 666341},
    ["Sunkern"] = {gender = 500, level = 3, storage = 1191, stoCatch = 666342},
    ["Sunflora"] = {gender = 500, level = 50, storage = 1192, stoCatch = 666343},
    ["Yanma"] = {gender = 500, level = 32, storage = 1193, stoCatch = 666344},
    ["Wooper"] = {gender = 500, level = 18, storage = 1194, stoCatch = 666345},
    ["Quagsire"] = {gender = 500, level = 55, storage = 1195, stoCatch = 666346},
    ["Espeon"] = {gender = 500, level = 55, storage = 1196, stoCatch = 666347},
    ["Umbreon"] = {gender = 500, level = 55, storage = 1197, stoCatch = 666348},
    ["Murkrow"] = {gender = 500, level = 35, storage = 1198, stoCatch = 666349},
    ["Slowking"] = {gender = 500, level = 60, storage = 1199, stoCatch = 666350},
    ["Misdreavus"] = {gender = 500, level = 47, storage = 1200, stoCatch = 666351},
    ["Unown"] = {gender = 500, level = 15, storage = 1201, stoCatch = 666352},
    ["Wobbuffet"] = {gender = 500, level = 42, storage = 1202, stoCatch = 666353},
    ["Girafarig"] = {gender = 500, level = 42, storage = 1203, stoCatch = 666354},
    ["Pineco"] = {gender = 500, level = 18, storage = 1204, stoCatch = 666355},
    ["Forretress"] = {gender = 500, level = 60, storage = 1205, stoCatch = 666356},
    ["Dunsparce"] = {gender = 500, level = 35, storage = 1206, stoCatch = 666357},
    ["Gligar"] = {gender = 500, level = 30, storage = 1207, stoCatch = 666358},
    ["Steelix"] = {gender = 500, level = 75, storage = 1208, stoCatch = 666359},
    ["Shiny Steelix"] = {gender = 500, level = 1, storage = 1208, stoCatch = 676359},
    ["Snubbull"] = {gender = 500, level = 20, storage = 1209, stoCatch = 666360},
    ["Granbull"] = {gender = 500, level = 42, storage = 1210, stoCatch = 666361},
    ["Qwilfish"] = {gender = 500, level = 16, storage = 1211, stoCatch = 666362},
    ["Scizor"] = {gender = 500, level = 75, storage = 1212, stoCatch = 666363},
    ["Shuckle"] = {gender = 500, level = 10, storage = 1213, stoCatch = 666364},
    ["Heracross"] = {gender = 500, level = 60, storage = 1214, stoCatch = 666365},
    ["Sneasel"] = {gender = 500, level = 50, storage = 1215, stoCatch = 666366},
    ["Teddiursa"] = {gender = 500, level = 20, storage = 1216, stoCatch = 666367},
    ["Ursaring"] = {gender = 500, level = 70, storage = 1217, stoCatch = 666368},
    ["Slugma"] = {gender = 500, level = 20, storage = 1218, stoCatch = 666369},
    ["Magcargo"] = {gender = 500, level = 40, storage = 1219, stoCatch = 666370},
    ["Swinub"] = {gender = 500, level = 12, storage = 1220, stoCatch = 666371},
    ["Piloswine"] = {gender = 500, level = 70, storage = 1221, stoCatch = 666372},
    ["Corsola"] = {gender = 500, level = 42, storage = 1222, stoCatch = 666373},
    ["Remoraid"] = {gender = 500, level = 14, storage = 1223, stoCatch = 666374},
    ["Octillery"] = {gender = 500, level = 38, storage = 1224, stoCatch = 666375},
    ["Delibird"] = {gender = 500, level = 25, storage = 1225, stoCatch = 666376},
    ["Mantine"] = {gender = 500, level = 50, storage = 1226, stoCatch = 666377},
    ["Skarmory"] = {gender = 500, level = 70, storage = 1227, stoCatch = 666378},
    ["Houndour"] = {gender = 500, level = 20, storage = 1228, stoCatch = 666379},
    ["Houndoom"] = {gender = 500, level = 85, storage = 1229, stoCatch = 666380},
    ["Kingdra"] = {gender = 500, level = 75, storage = 1230, stoCatch = 666381},
    ["Phanpy"] = {gender = 500, level = 20, storage = 1231, stoCatch = 666382},
    ["Donphan"] = {gender = 500, level = 65, storage = 1232, stoCatch = 666383},
    ["Porygon2"] = {gender = -1, level = 60, storage = 1233, stoCatch = 666384},
    ["Stantler"] = {gender = 500, level = 35, storage = 1234, stoCatch = 666385},
    ["Smeargle"] = {gender = 500, level = 60, storage = 1235, stoCatch = 666386},
    ["Tyrogue"] = {gender = 500, level = 15, storage = 1236, stoCatch = 666387},
    ["Hitmontop"] = {gender = 500, level = 60, storage = 1237, stoCatch = 666388},
    ["Smoochum"] = {gender = 0, level = 30, storage = 1238, stoCatch = 666389},
    ["Elekid"] = {gender = 500, level = 30, storage = 1239, stoCatch = 666390},
    ["Magby"] = {gender = 500, level = 30, storage = 1240, stoCatch = 666391},
    ["Miltank"] = {gender = 0, level = 80, storage = 1241, stoCatch = 666392},
    ["Blissey"] = {gender = 0, level = 85, storage = 1242, stoCatch = 666393},
    ["Raikou"] = {gender = -1, level = 100, storage = 1243, stoCatch = 666394},
    ["Entei"] = {gender = -1, level = 100, storage = 1244, stoCatch = 666395},
    ["Suicune"] = {gender = 500, level = 100, storage = 1245, stoCatch = 666396},
    ["Larvitar"] = {gender = 500, level = 30, storage = 1246, stoCatch = 666397},
    ["Pupitar"] = {gender = 500, level = 75, storage = 1247, stoCatch = 666398},
    ["Tyranitar"] = {gender = 500, level = 100, storage = 1248, stoCatch = 666399},
    ["Lugia"] = {gender = 500, level = 100, storage = 1249, stoCatch = 666400},
    ["Ho-oh"] = {gender = 500, level = 100, storage = 1250, stoCatch = 666401},
    ["Celebi"] = {gender = 500, level = 100, storage = 1251, stoCatch = 666402},
    ["Shiny Hitmontop"] = {gender = 500, level = 1, storage = 11520, stoCatch = 666403},
    ["Shiny Mr. Mime"] = {gender = 500, level = 1, storage = 11521, stoCatch = 666404},  --alterado v1.9 \/ 
    ["Shiny Rhydon"] = {gender = 500, level = 1, storage = 11522, stoCatch = 666405},
    ["Shiny Ninetales"] = {gender = 500, level = 1, storage = 11523, stoCatch = 666406},
    ["Shiny Ariados"] = {gender = 500, level = 1, storage = 11524, stoCatch = 666407},
    ["Shiny Magneton"] = {gender = -1, level = 1, storage = 11525, stoCatch = 666408},
    ["Shiny Espeon"] = {gender = 500, level = 1, storage = 11526, stoCatch = 666409},
    ["Shiny Politoed"] = {gender = 500, level = 1, storage = 11527, stoCatch = 666410},
    ["Shiny Umbreon"] = {gender = 500, level = 1, storage = 11528, stoCatch = 666411},
    ["Shiny Stantler"] = {gender = 500, level = 1, storage = 11529, stoCatch = 666412},
    ["Shiny Dodrio"] = {gender = 500, level = 1, storage = 11530, stoCatch = 666413},
    ["Magmortar"] = {gender = 500, level = 100, storage = 11531, stoCatch = 666414},
    ["Turtwig"] = {gender = 500, level = 25, storage = 11532, stoCatch = 666415},
    ["Grotle"] = {gender = 500, level = 45, storage = 11533, stoCatch = 666416},
    ["Torterra"] = {gender = 500, level = 90, storage = 11534, stoCatch = 666417},
    ["Chimchar"] = {gender = 500, level = 25, storage = 11535, stoCatch = 666418},
    ["Monferno"] = {gender = 500, level = 45, storage = 11536, stoCatch = 666419},
    ["Infernape"] = {gender = 500, level = 95, storage = 11537, stoCatch = 666420},
    ["Piplup"] = {gender = 500, level = 25, storage = 11538, stoCatch = 666421},
    ["Prinplup"] = {gender = 500, level = 45, storage = 11539, stoCatch = 666422},
    ["Empoleon"] = {gender = 500, level = 90, storage = 11540, stoCatch = 666423},
    ["Gible"] = {gender = 500, level = 40, storage = 11541, stoCatch = 666424},
    ["Gabite"] = {gender = 500, level = 90, storage = 11542, stoCatch = 666425},
    ["Garchomp"] = {gender = 500, level = 120, storage = 11543, stoCatch = 666426},
    ["Electivire"] = {gender = 500, level = 120, storage = 11544, stoCatch = 666427},
    ["Darkrai"] = {gender = 500, level = 120, storage = 11545, stoCatch = 666428},
    ["Togekiss"] = {gender = 500, level = 120, storage = 11546, stoCatch = 666429},
    ["Mamoswine"] = {gender = 500, level = 120, storage = 11547, stoCatch = 666430},
    ["Riolu"] = {gender = 500, level = 90, storage = 11548, stoCatch = 666431},
    ["Lucario"] = {gender = 500, level = 150, storage = 11549, stoCatch = 666432},
    ["Starly"] = {gender = 500, level = 10, storage = 11550, stoCatch = 666433},
    ["Staravia"] = {gender = 500, level = 20, storage = 11551, stoCatch = 666434},
    ["Staraptor"] = {gender = 500, level = 60, storage = 11552, stoCatch = 666435},
    ["Bidoof"] = {gender = 500, level = 20, storage = 11553, stoCatch = 666436},
    ["Bibarel"] = {gender = 500, level = 40, storage = 11554, stoCatch = 666437},
    ["Kricketot"] = {gender = 500, level = 20, storage = 11555, stoCatch = 666438},
    ["Kricketune"] = {gender = 500, level = 40, storage = 11556, stoCatch = 666439},
    ["Shinx"] = {gender = 500, level = 30, storage = 11557, stoCatch = 666440},
    ["Luxio"] = {gender = 500, level = 60, storage = 11558, stoCatch = 666441},
    ["Luxray"] = {gender = 500, level = 90, storage = 11559, stoCatch = 666442},
    ["Ambipom"] = {gender = 500, level = 90, storage = 11560, stoCatch = 666443},
    ["Mismagius"] = {gender = 500, level = 90, storage = 11561, stoCatch = 666444},
    ["Drifloon"] = {gender = 500, level = 40, storage = 11562, stoCatch = 666445},
    ["Drifblim"] = {gender = 500, level = 60, storage = 11563, stoCatch = 666446},
    ["Cranidos"] = {gender = 500, level = 60, storage = 11564, stoCatch = 666447},
    ["Rampardos"] = {gender = 500, level = 100, storage = 11565, stoCatch = 666448},
    ["Shieldon"] = {gender = 500, level = 40, storage = 11566, stoCatch = 666449},
    ["Bastiodon"] = {gender = 500, level = 90, storage = 11567, stoCatch = 666450},
    ["Burmy"] = {gender = 500, level = 10, storage = 11568, stoCatch = 666451},
    ["Wormadam Grass"] = {gender = 500, level = 25, storage = 11569, stoCatch = 666452},
    ["Wormadam Ground"] = {gender = 500, level = 25, storage = 11570, stoCatch = 666453},
    ["Wormadam Steel"] = {gender = 500, level = 25, storage = 11571, stoCatch = 666454},
    ["Mothim"] = {gender = 500, level = 40, storage = 11572, stoCatch = 666455},
    ["Combee"] = {gender = 500, level = 40, storage = 11573, stoCatch = 666456},
    ["Vespiquen"] = {gender = 500, level = 40, storage = 11574, stoCatch = 666457},
    ["Pachirisu"] = {gender = 500, level = 40, storage = 11575, stoCatch = 666458},
    ["Buizel"] = {gender = 500, level = 40, storage = 11576, stoCatch = 666459},
    ["Floatzel"] = {gender = 500, level = 90, storage = 11577, stoCatch = 666460},
    ["Cherubi"] = {gender = 500, level = 20, storage = 11578, stoCatch = 666461},
    ["Cherrim"] = {gender = 500, level = 40, storage = 11579, stoCatch = 666462},
    ["Honchkrow"] = {gender = 500, level = 85, storage = 11580, stoCatch = 666463},
    ["Shellos east"] = {gender = 500, level = 30, storage = 11581, stoCatch = 666464},
    ["Shellos"] = {gender = 500, level = 30, storage = 11582, stoCatch = 666465},
    ["Gastrodon east"] = {gender = 500, level = 50, storage = 11583, stoCatch = 666466},
    ["Gastrodon"] = {gender = 500, level = 50, storage = 11584, stoCatch = 666467},
    ["Buneary"] = {gender = 500, level = 40, storage = 11585, stoCatch = 666468},
    ["Lopunny"] = {gender = 500, level = 80, storage = 11586, stoCatch = 666469},
    ["Glameow"] = {gender = 500, level = 20, storage = 11587, stoCatch = 666470},
    ["Purugly"] = {gender = 500, level = 50, storage = 11588, stoCatch = 666471},
    ["Stunky"] = {gender = 500, level = 20, storage = 11589, stoCatch = 666472},
    ["Skuntank"] = {gender = 500, level = 40, storage = 11590, stoCatch = 666473},
    ["Bronzor"] = {gender = 500, level = 40, storage = 11591, stoCatch = 666474},
    ["Bronzong"] = {gender = 500, level = 50, storage = 11592, stoCatch = 666475},
    ["Bonsly"] = {gender = 500, level = 50, storage = 11593, stoCatch = 666476},
    ["Happiny"] = {gender = 0, level = 30, storage = 11594, stoCatch = 666477},
    ["Chatot"] = {gender = 500, level = 45, storage = 11595, stoCatch = 666478},
    ["Hippopotas"] = {gender = 500, level = 45, storage = 11596, stoCatch = 666479},
    ["Hippowdon"] = {gender = 500, level = 60, storage = 11597, stoCatch = 666480},
    ["Skorupi"] = {gender = 500, level = 40, storage = 11598, stoCatch = 666481},
    ["Drapion"] = {gender = 500, level = 80, storage = 11599, stoCatch = 666482},
    ["Croagunk"] = {gender = 500, level = 50, storage = 11600, stoCatch = 666483},
    ["Toxicroak"] = {gender = 500, level = 80, storage = 11601, stoCatch = 666484},
    ["Carnivine"] = {gender = 500, level = 70, storage = 11602, stoCatch = 666485},
    ["Finneon"] = {gender = 500, level = 20, storage = 11603, stoCatch = 666486},
    ["Lumineon"] = {gender = 500, level = 40, storage = 11604, stoCatch = 666487},
    ["Mantyke"] = {gender = 500, level = 20, storage = 11605, stoCatch = 666488},
    ["Snover"] = {gender = 500, level = 40, storage = 11606, stoCatch = 666489},
    ["Abomasnow"] = {gender = 500, level = 80, storage = 11607, stoCatch = 666490},
    ["Shiny Abomasnow"] = {gender = 500, level = 1, storage = 11607, stoCatch = 666490},
    ["Weavile"] = {gender = 500, level = 80, storage = 11608, stoCatch = 666491},
    ["Gliscor"] = {gender = 500, level = 70, storage = 11609, stoCatch = 666492},
    ["Lickilicky"] = {gender = 500, level = 70, storage = 11610, stoCatch = 666493},
    ["Tangrowth"] = {gender = 500, level = 80, storage = 11611, stoCatch = 666494},
    ["Shiny Tangrowth"] = {gender = 500, level = 1, storage = 11611, stoCatch = 666494},
    ["Yanmega"] = {gender = 500, level = 80, storage = 11612, stoCatch = 666495},
    --
    ["Sceptile"] = {gender = 500, level = 85, storage = 11613, stoCatch = 666496},
    ["Tropius"] = {gender = 500, level = 80, storage = 11614, stoCatch = 666497},
    ["Regice"] = {gender = -1, level = 100, storage = 11615, stoCatch = 666498},
    ["Regirock"] = {gender = -1, level = 100, storage = 11616, stoCatch = 666499},
    ["Registeel"] = {gender = -1, level = 100, storage = 11617, stoCatch = 666500},
    ["Roselia"] = {gender = 500, level = 5, storage = 11618, stoCatch = 666501},
    ["Anorith"] = {gender = 500, level = 10, storage = 11619, stoCatch = 666502}, 
    ["Armaldo"] = {gender = 500, level = 60, storage = 11620, stoCatch = 666503}, 
    ["Aron"] = {gender = 500, level = 15, storage = 11621, stoCatch = 666504}, 
    ["Lairon"] = {gender = 500, level = 50, storage = 11622, stoCatch = 666505}, 
    ["Aggron"] = {gender = 500, level = 65, storage = 11623, stoCatch = 666506}, 
    ["Shiny Aron"] = {gender = 500, level = 1, storage = 11621, stoCatch = 666504}, 
    ["Shiny Lairon"] = {gender = 500, level = 1, storage = 11622, stoCatch = 666505}, 
    ["Shiny Aggron"] = {gender = 500, level = 1, storage = 11623, stoCatch = 666506}, 
    ["Minun"] = {gender = 500, level = 3, storage = 11624, stoCatch = 666507}, 
    ["Bagon"] = {gender = 500, level = 45, storage = 11625, stoCatch = 666508}, 
    ["Shelgon"] = {gender = 500, level = 45, storage = 11626, stoCatch = 666509}, 
    ["Shiny Bagon"] = {gender = 500, level = 1, storage = 11625, stoCatch = 666508}, 
    ["Shiny Shelgon"] = {gender = 500, level = 1, storage = 11626, stoCatch = 666509}, 
    ["Lunatone"] = {gender = 500, level = 42, storage = 11627, stoCatch = 666510}, 
    ["Solrock"] = {gender = -1, level = 42, storage = 11628, stoCatch = 666511}, 
    ["Metagross"] = {gender = -1, level = 80, storage = 11629, stoCatch = 666512}, 
    ["Shiny Metagross"] = {gender = -1, level = 1, storage = 11629, stoCatch = 666512}, 
    ["Salamence"] = {gender = 500, level = 85, storage = 11630, stoCatch = 666513}, 
    ["Shiny Salamence"] = {gender = 500, level = 1, storage = 11630, stoCatch = 666513}, 
    ["Combusken"] = {gender = 500, level = 38, storage = 11631, stoCatch = 666514}, 
    ["Blaziken"] = {gender = 500, level = 85, storage = 11632, stoCatch = 666515}, 
    ["Swampert"] = {gender = 500, level = 85, storage = 11633, stoCatch = 666516}, 
    ["Marshtomp"] = {gender = 500, level = 38, storage = 11634, stoCatch = 666517}, 
    ["Metang"] = {gender = -1, level = 50, storage = 11635, stoCatch = 666518}, 
    ["Shiny Metang"] = {gender = -1, level = 1, storage = 11635, stoCatch = 666518}, 
    ["Grovyle"] = {gender = 500, level = 38, storage = 11636, stoCatch = 666519}, 
    ["Absol"] = {gender = 500, level = 55, storage = 11637, stoCatch = 666520}, 
    ["Altaria"] = {gender = 500, level = 60, storage = 11638, stoCatch = 666521}, 
    ["Baltoy"] = {gender = 500, level = 15, storage = 11639, stoCatch = 666522}, 
    ["Camerupt"] = {gender = 500, level = 85, storage = 11640, stoCatch = 666523}, 
    ["Carvanha"] = {gender = 500, level = 20, storage = 11641, stoCatch = 666524}, 
    ["Claydol"] = {gender = -1, level = 95, storage = 11642, stoCatch = 666525}, 
    ["Zangoose"] = {gender = 500, level = 42, storage = 11643, stoCatch = 666526}, 
    ["Torchic"] = {gender = 500, level = 18, storage = 11644, stoCatch = 666527}, 
    ["Sharpedo"] = {gender = 500, level = 75, storage = 11645, stoCatch = 666528}, 
    ["Treecko"] = {gender = 500, level = 18, storage = 11646,stoCatch = 666529}, 
    ["Mudkip"] = {gender = 500, level = 18, storage = 11647,stoCatch = 666530}, 
    ["Froslass"] = {gender = 500, level = 60, storage = 11648,stoCatch = 666531}, 
    ["Glalie"] = {gender = 500, level = 45, storage = 11649,stoCatch = 666532}, 
    ["Snorunt"] = {gender = 500, level = 12, storage = 11650,stoCatch = 666533}, 
    ["Barboach"] = {gender = 500, level = 18, storage = 11651,stoCatch = 666534}, 
    ["Wailmer"] = {gender = 500, level = 38, storage = 11652,stoCatch = 666535}, 
    ["Plusle"] = {gender = 500, level = 3, storage = 11653,stoCatch = 666536}, 
    ["Probopass"] = {gender = 500, level = 90, storage = 11654,stoCatch = 666537}, 
    ["Wailord"] = {gender = 500, level = 75, storage = 11655,stoCatch = 666538}, 
    ["Beldum"] = {gender = 500, level = 15, storage = 11656,stoCatch = 666539}, 
    ["Shiny Beldum"] = {gender = 500, level = 1, storage = 11656,stoCatch = 666539}, 
    ["Feebas"] = {gender = 500, level = 1, storage = 11667,stoCatch = 666540}, 
    ["Swablu"] = {gender = 500, level = 3, storage = 11668,stoCatch = 666541}, 
    ["Milotic"] = {gender = 500, level = 75, storage = 11669,stoCatch = 666542}, 
    ["Whiscash"] = {gender = 500, level = 55, storage = 11670,stoCatch = 666543}, 
    ["Roserade"] = {gender = 500, level = 18, storage = 11671,stoCatch = 666544}, 
    ["Shiny Roserade"] = {gender = 500, level = 1, storage = 11671,stoCatch = 666544}, 
    ["Budew"] = {gender = 500, level = 5, storage = 11672,stoCatch = 666545}, 
    ["Cacnea"] = {gender = 500, level = 18, storage = 11673,stoCatch = 666546}, 
    ["Cacturne"] = {gender = 500, level = 38, storage = 11674,stoCatch = 666547}, 
    ["Castform"] = {gender = 500, level = 3, storage = 11675, stoCatch = 666548}, 
    ["Chingling"] = {gender = 500, level = 12, storage = 11676, stoCatch = 666549}, 
    ["Chimecho"] = {gender = 500, level = 40, storage = 11677, stoCatch = 666550}, 
    ["Clamperl"] = {gender = 500, level = 14, storage = 11678, stoCatch = 666551}, 
    ["Huntail"] = {gender = 500, level = 38, storage = 11679, stoCatch = 666552}, 
    ["Gorebyss"] = {gender = 500, level = 50, storage = 11680, stoCatch = 666553}, 
    ["Corphish"] = {gender = 500, level = 18, storage = 113681, stoCatch = 666554}, 
    ["Crawdaunt"] = {gender = 500, level = 38, storage = 11682, stoCatch = 666555}, 
    ["Duskull"] = {gender = 500, level = 14, storage = 11683, stoCatch = 666556}, 
    ["Dusclops"] = {gender = 500, level = 40, storage = 11684, stoCatch = 666557}, 
    ["Dusknoir"] = {gender = 500, level = 70, storage = 11685, stoCatch = 666558}, 
    ["Electrike"] = {gender = 500, level = 20, storage = 11686, stoCatch = 666559}, 
    ["Manectric"] = {gender = 500, level = 50, storage = 11687, stoCatch = 666560}, 
    ["Gulpin"] = {gender = 500, level = 12, storage = 11688, stoCatch = 666561}, 
    ["Swalot"] = {gender = 500, level = 30, storage = 11689, stoCatch = 666562}, 
    ["Kecleon"] = {gender = 500, level = 28, storage = 11690, stoCatch = 66563}, 
    ["Lileep"] = {gender = 500, level = 18, storage = 11691, stoCatch = 666564}, 
    ["Cradily"] = {gender = 500, level = 38, storage = 11692, stoCatch = 666565}, 
    ["Lotad"] = {gender = 500, level = 18, storage = 11693, stoCatch = 666566}, 
    ["Lombre"] = {gender = 500, level = 38, storage = 11694, stoCatch = 666567}, 
    ["Ludicolo"] = {gender = 500, level = 75, storage = 11695, stoCatch = 666568}, 
    ["Luvdisc"] = {gender = 500, level = 14, storage = 11696, stoCatch = 666569}, 
    ["Makuhita"] = {gender = 500, level = 15, storage = 11697, stoCatch = 666570}, 
    ["Hariyama"] = {gender = 500, level = 60, storage = 11698, stoCatch = 666571}, 
    ["Mawile"] = {gender = 500, level = 50, storage = 11699, stoCatch = 666572}, 
    ["Meditite"] = {gender = 500, level = 12, storage = 11700, stoCatch = 666573}, 
    ["Medicham"] = {gender = 500, level = 40, storage = 11701, stoCatch = 666574}, 
    ["Nincada"] = {gender = 500, level = 10, storage = 11702, stoCatch = 666575}, 
    ["Ninjask"] = {gender = 500, level = 12, storage = 11703, stoCatch = 666576}, 
    ["Shedinja"] = {gender = 500, level = 30, storage = 11704, stoCatch = 666578}, 
    ["Poochyena"] = {gender = 500, level = 55, storage = 11705, stoCatch = 666579}, 
    ["Mightyena"] = {gender = 500, level = 75, storage = 11706, stoCatch = 666580}, 
    ["Ralts"] = {gender = 500, level = 12, storage = 11707, stoCatch = 666581}, 
    ["Kirlia"] = {gender = 500, level = 40, storage = 11708, stoCatch = 666582}, 
    ["Gardevoir"] = {gender = 500, level = 70, storage = 11709, stoCatch = 666583}, 
    ["Gallade"] = {gender = 500, level = 75, storage = 11710, stoCatch = 666584}, 
    ["Relicanth"] = {gender = 500, level = 70, storage = 11711, stoCatch = 666585}, 
    ["Sableye"] = {gender = 500, level = 47, storage = 11712, stoCatch = 666586}, 
    ["Seedot"] = {gender = 500, level = 18, storage = 11713, stoCatch = 666587}, 
    ["Nuzleaf"] = {gender = 500, level = 38, storage = 11714, stoCatch = 666588}, 
    ["Shiftry"] = {gender = 500, level = 75, storage = 11715, stoCatch = 666589}, 
    ["Seviper"] = {gender = 500, level = 30, storage = 11716, stoCatch = 666590}, 
    ["Shroomish"] = {gender = 500, level = 3, storage = 11717, stoCatch = 666591}, 
    ["Breloom"] = {gender = 500, level = 50, storage = 11718, stoCatch = 666592}, 
    ["Shuppet"] = {gender = 500, level = 14, storage = 11719, stoCatch = 666593}, 
    ["Banette"] = {gender = 500, level = 40, storage = 11720, stoCatch = 666594}, 
    ["Skitty"] = {gender = 500, level = 12, storage = 11721, stoCatch = 666595}, 
    ["Delcatty"] = {gender = 500, level = 25, storage = 11722, stoCatch = 666596}, 
    ["Slakoth"] = {gender = 500, level = 20, storage = 11723, stoCatch = 666597},
    ["Vigoroth"] = {gender = 500, level = 30, storage = 11724, stoCatch = 666598}, 
    ["Slaking"] = {gender = 500, level = 70, storage = 11725, stoCatch = 666599}, 
    ["Spheal"] = {gender = 500, level = 14, storage = 11726, stoCatch = 666600}, 
    ["Sealeo"] = {gender = 500, level = 55, storage = 11727, stoCatch = 666601}, 
    ["Walrein"] = {gender = 500, level = 65, storage = 11728, stoCatch = 666602}, 
    ["Spinda"] = {gender = 500, level = 28, storage = 11729, stoCatch = 666603}, 
    ["Spoink"] = {gender = 500, level = 18, storage = 11730, stoCatch = 666604}, 
    ["Grumpig"] = {gender = 500, level = 50, storage = 11731, stoCatch = 666605}, 
    ["Surskit"] = {gender = 500, level = 14, storage = 11732, stoCatch = 666606}, 
    ["Masquerain"] = {gender = 500, level = 40, storage = 11733, stoCatch = 666607}, 
    ["Taillow"] = {gender = 500, level = 3, storage = 11734, stoCatch = 666608}, 
    ["Swellow"] = {gender = 500, level = 38, storage = 11735, stoCatch = 666609}, 
    ["Torkoal"] = {gender = 500, level = 55, storage = 11736, stoCatch = 666610}, 
    ["Trapinch"] = {gender = 500, level = 15, storage = 11737, stoCatch = 666611}, 
    ["Vibrava"] = {gender = 500, level = 45, storage = 11734, stoCatch = 666612}, 
    ["Flygon"] = {gender = 500, level = 85, storage = 11735, stoCatch = 666613}, 
    ["Illumise"] = {gender = 500, level = 12, storage = 11736, stoCatch = 666614}, 
    ["Volbeat"] = {gender = 500, level = 30, storage = 11737, stoCatch = 666615}, 
    ["Wingull"] = {gender = 500, level = 18, storage = 11738, stoCatch = 666616}, 
    ["Pelipper"] = {gender = 500, level = 38, storage = 11739, stoCatch = 666617}, 
    ["Whismur"] = {gender = 500, level = 20, storage = 11740, stoCatch = 666618}, 
    ["Loudred"] = {gender = 500, level = 70, storage = 11741, stoCatch = 666619}, 
    ["Exploud"] = {gender = 500, level = 80, storage = 11742, stoCatch = 666620}, 
    ["Wurmple"] = {gender = 500, level = 3, storage = 11743, stoCatch = 666621}, 
    ["Silcoon"] = {gender = 500, level = 10, storage = 11744, stoCatch = 666622}, 
    ["Cascoon"] = {gender = 500, level = 10, storage = 11745, stoCatch = 666623}, 
    ["Beautifly"] = {gender = 500, level = 30, storage = 11746, stoCatch = 666624}, 
    ["Dustox"] = {gender = 500, level = 30, storage = 11747, stoCatch = 666625}, 
    ["Zigzagoon"] = {gender = 500, level = 3, storage = 11748, stoCatch = 666626}, 
    ["Linoone"] = {gender = 500, level = 28, storage = 11749, stoCatch = 666627}, 
    ["Nosepass"] = {gender = 500, level = 15, storage = 11750, stoCatch = 666628}, 
    ["Magnezone"] = {gender = 500, level = 50, storage = 11751, stoCatch = 666629}, 
    ["numel"] = {gender = 500, level = 18, storage = 11752, stoCatch = 666630}, 
    ["Groudon"] = {gender = -1, level = 100, storage = 11753, stoCatch = 666631}, 
    ["Kyogre"] = {gender = -1, level = 100, storage = 114754, stoCatch = 666632}, 
    ["Rayquaza"] = {gender = -1, level = 100, storage = 11755, stoCatch = 666633}, 
    ["Shiny Magby"] = {gender = 500, level = 1, storage = 11756, stoCatch = 666634},
    ["Heatran"] = {gender = -1, level = 100, storage = 11757, stoCatch = 666635},
    ["Jirachi"] = {gender = -1, level = 100, storage = 11758, stoCatch = 666636},
    ["Palkia"] = {gender = -1, level = 100, storage = 11759, stoCatch = 666637},
    ["Supremo Gengar"] = {gender = 500, level = 150, storage = 11760, stoCatch = 666638},
    ["Ancient Kabutops"] = {gender = 500, level = 70, storage = 11761, stoCatch = 666639},
    ["Supremo Porygon"] = {gender = -1, level = 150, storage = 11762, stoCatch = 666640},
    ["Dialga"] = {gender = 500, level = 120, storage = 11763, stoCatch = 666641},
    ["Mega Gengar"] = {gender = 500, level = 120, storage = 11764, stoCatch = 666642},
    ["Mega Elder"] = {gender = 500, level = 120, storage = 11765, stoCatch = 666643},
    ["Mega Blaziken"] = {gender = 500, level = 120, storage = 11766, stoCatch = 666644},
    ["Mega Blastoise"] = {gender = 875, level = 75, storage = 11767, stoCatch = 666645},
    ["Mega Charizard"] = {gender = 875, level = 75, storage = 11768, stoCatch = 666646},
    ["Mega Tyranitar"] = {gender = 500, level = 100, storage = 11769, stoCatch = 666647},
    ["Mega Alakazam"] = {gender = 750, level = 120, storage = 11770, stoCatch = 666648},
    ["Shiny Tropius"] = {gender = 500, level = 1, storage = 11771, stoCatch = 666649},
    ["Ancient Articuno"] = {gender = 500, level = 100, storage = 11772, stoCatch = 666650},
    ["Mega Lucario"] = {gender = 500, level = 150, storage = 11773, stoCatch = 666651},
    ["Regigigas"] = {gender = 500, level = 100, storage = 11774, stoCatch = 666652},
    ["Giratina"] = {gender = 500, level = 100, storage = 11775, stoCatch = 666653},
    ["Uxie"] = {gender = 500, level = 100, storage = 11776, stoCatch = 666654},
    ["Leafeon"] = {gender = 500, level = 100, storage = 11777, stoCatch = 666655},
    ["Glaceon"] = {gender = 500, level = 100, storage = 11778, stoCatch = 666656},
    ["Gothorita"] = {gender = 500, level = 70, storage = 1094, stoCatch = 666094},
    ["Gothitelle"] = {gender = 500, level = 90, storage = 10940, stoCatch = 666245},
    ["Hydreigon"] = {gender = 500, level = 90, storage = 10940, stoCatch = 666245},
    ["Inkay"] = {gender = 500, level = 70, storage = 1094, stoCatch = 666094},
    ["Inkay"] = {gender = 500, level = 70, storage = 14874, stoCatch = 666925},
    ["Shiny Clefable"] = {gender = 500, level = 1, storage = 14875, stoCatch = 666926},
    ["Shiny Wigglytuff"] = {gender = 500, level = 1, storage = 14876, stoCatch = 666927},
    ["Shiny Flygon"] = {gender = 500, level = 1, storage = 14877, stoCatch = 666928},
    ["Shiny Porygon"] = {gender = 500, level = 1, storage = 14878, stoCatch = 666929},
    ["Shiny Togekiss"] = {gender = 500, level = 1, storage = 14879, stoCatch = 666930}, 
    ["Shiny Chansey"] = {gender = 0, level = 1, storage = 14880, stoCatch = 666931}, 
    ["Shiny Blissey"] = {gender = 0, level = 1, storage = 14881, stoCatch = 666932}, 
    ["Shiny Lapras"] = {gender = 500, level = 1, storage = 14882, stoCatch = 666933}, 
    ["Shiny Lucario"] = {gender = 500, level = 1, storage = 14883, stoCatch = 666934}, 
    ["Shiny Slaking"] = {gender = 500, level = 1, storage = 14884, stoCatch = 666935}, 
    ["Shiny Rhyperior"] = {gender = 500, level = 1, storage = 14885, stoCatch = 666936},
    ["Shiny Sceptile"] = {gender = 500, level = 1, storage = 14886, stoCatch = 666937},
    ["Shiny Gliscor"] = {gender = 500, level = 1, storage = 14887, stoCatch = 666938},
    ["Shiny Probopass"] = {gender = 500, level = 1, storage = 14888, stoCatch = 666939},
    ["Shiny Shiftry"] = {gender = 500, level = 1, storage = 14889, stoCatch = 666940},
    ["Shiny Drapion"] = {gender = 500, level = 1, storage = 14890, stoCatch = 666941}, 
    ["Shiny Machamp"] = {gender = 750, level = 150, storage = 14891, stoCatch = 666942},
    }
    
    oldpokedex = {
    {"Bulbasaur", 18, 1001},
    {"Ivysaur", 38, 1002},
    {"Venusaur", 75, 1003},
    {"Charmander", 18, 1004},
    {"Charmeleon", 38, 1005},
    {"Charizard", 75, 1006},
    {"Squirtle", 18, 1007},
    {"Wartortle", 38, 1008},
    {"Blastoise", 75, 1009},
    {"Caterpie", 3, 1010},
    {"Metapod", 10, 1011},
    {"Butterfree", 30, 1012},
    {"Weedle", 3, 1013},
    {"Kakuna", 10, 1014},
    {"Beedrill", 30, 1015},
    {"Pidgey", 5, 1016},
    {"Pidgeotto", 20, 1017},
    {"Pidgeot", 60, 1018},
    {"Rattata", 3, 1019},
    {"Raticate", 20, 1020},
    {"Spearow", 5, 1021},
    {"Fearow", 50, 1022},
    {"Ekans", 12, 1023},
    {"Arbok", 30, 1024},
    {"Pikachu", 20, 1025},
    {"Raichu", 50, 1026},
    {"Sandshrew", 18, 1027},
    {"Sandslash", 55, 1028},
    {"Nidoran Female", 10, 1029},
    {"Nidorina", 25, 1030},
    {"Nidoqueen", 65, 1031},
    {"Nidoran Male", 10, 1032},
    {"Nidorino", 25, 1033},
    {"Nidoking", 65, 1034},
    {"Clefairy", 10, 1035},
    {"Clefable", 35, 1036},
    {"Vulpix", 16, 1037},
    {"Ninetales", 65, 1038},
    {"Jigglypuff", 10, 1039},
    {"Wigglytuff", 42, 1040},
    {"Zubat", 5, 1041},
    {"Golbat", 30, 1042},
    {"Oddish", 5, 1043},
    {"Gloom", 18, 1044},
    {"Vileplume", 50, 1045},
    {"Paras", 5, 1046},
    {"Parasect", 40, 1047},
    {"Venonat", 14, 1048},
    {"Venomoth", 40, 1049},
    {"Diglett", 5, 1050},
    {"Dugtrio", 35, 1051},
    {"Meowth", 12, 1052},
    {"Persian", 25, 1053},
    {"Psyduck", 12, 1054},
    {"Golduck", 55, 1055},
    {"Mankey", 10, 1056},
    {"Primeape", 45, 1057},
    {"Growlithe", 16, 1058},
    {"Arcanine", 70, 1059},
    {"Poliwag", 5, 1060},
    {"Poliwhirl", 20, 1061},
    {"Poliwrath", 60, 1062},
    {"Abra", 12, 1063},
    {"Kadabra", 40, 1064},
    {"Alakazam", 70, 1065},
    {"Machop", 16, 1066},
    {"Machoke", 38, 1067},
    {"Machamp", 70, 1068},
    {"Bellsprout", 5, 1069},
    {"Weepinbell", 18, 1070},
    {"Victreebel", 50, 1071},
    {"Tentacool", 12, 1072},
    {"Tentacruel", 70, 1073},
    {"Geodude", 15, 1074},
    {"Graveler", 40, 1075},
    {"Golem", 70, 1076},
    {"Ponyta", 15, 1077},
    {"Rapidash", 55, 1078},
    {"Slowpoke", 12, 1079},
    {"Slowbro", 45, 1080},
    {"Magnemite", 15, 1081},
    {"Magneton", 38, 1082},
    {"Farfetchd", 35, 1083},
    {"Doduo", 12, 1084},
    {"Dodrio", 42, 1085},
    {"Seel", 14, 1086},
    {"Dewgong", 55, 1087},
    {"Grimer", 12, 1088},
    {"Muk", 30, 1089},
    {"Shellder", 5, 1090},
    {"Cloyster", 65, 1091},
    {"Gastly", 14, 1092},
    {"Haunter", 40, 1093},
    {"Gengar", 70, 1094},
    {"Onix", 50, 1095},
    {"Drowzee", 18, 1096},
    {"Hypno", 50, 1097},
    {"Krabby", 5, 1098},
    {"Kingler", 35, 1099},
    {"Voltorb", 14, 1100},
    {"Electrode", 38, 1101},
    {"Exeggcute", 8, 1102},
    {"Exeggutor", 48, 1103},
    {"Cubone", 18, 1104},
    {"Marowak", 45, 1105},
    {"Hitmonlee", 60, 1106},
    {"Hitmonchan", 60, 1107},
    {"Licktung", 45, 1108},
    {"Koffing", 15, 1109},
    {"Weezing", 30, 1110},
    {"Rhyhorn", 35, 1111},
    {"Rhydon", 65, 1112},
    {"Chansey", 50, 1113},
    {"Tangela", 35, 1114},
    {"Kangaskhan", 65, 1115},
    {"Horsea", 5, 1116},
    {"Seadra", 40, 1117},
    {"Goldeen", 10, 1118},
    {"Seaking", 25, 1119},
    {"Staryu", 15, 1120},
    {"Starmie", 38, 1121},
    {"Mr. Mime", 45, 1122},
    {"Scyther", 60, 1123},
    {"Jynx", 55, 1124},
    {"Electabuzz", 60, 1125},
    {"Magmar", 60, 1126},
    {"Pinsir", 42, 1127},
    {"Tauros", 40, 1128},
    {"Magikarp", 1, 1129},
    {"Gyarados", 75, 1130},
    {"Lapras", 65, 1131},
    {"Ditto", 40, 1132},
    {"Eevee", 20, 1133},
    {"Vaporeon", 55, 1134},
    {"Jolteon", 55, 1135},
    {"Flareon", 55, 1136},
    {"Porygon", 45, 1137},
    {"Omanyte", 20, 1138},
    {"Omastar", 70, 1139},
    {"Kabuto", 20, 1140},
    {"Kabutops", 70, 1141},
    {"Aerodactyl", 85, 1142},
    {"Snorlax", 85, 1143},
    {"Articuno", 100, 1144},
    {"Zapdos", 100, 1145},
    {"Moltres", 100, 1146},
    {"Dratini", 15, 1147},
    {"Dragonair", 45, 1148},
    {"Dragonite", 85, 1149},
    {"Mewtwo", 100, 1150},
    {"Mew", 100, 1151},
    -------------------old Shiny---------
    
    {"Shiny Venusaur", 75, 10030},
    {"Shiny Charizard", 75, 10060},
    {"Shiny Blastoise", 75, 10090},
    {"Shiny Butterfree", 30, 10120},
    {"Shiny Beedrill", 30, 10150},
    {"Shiny Pidgeot", 60, 10180},
    {"Shiny Rattata", 3, 10190},
    {"Shiny Raticate", 20, 10200},
    {"Shiny Fearow", 50, 10220},
    {"Shiny Raichu", 50, 10260},
    {"Shiny Nidoking", 65, 10340},
    {"Shiny Zubat", 5, 10410},
    {"Shiny Golbat", 30, 10420},
    {"Shiny Oddish", 5, 10430},
    {"Shiny Vileplume", 50, 10450},
    {"Shiny Paras", 5, 10460},
    {"Shiny Parasect", 40, 10470},
    {"Shiny Venonat", 14, 10480},
    {"Shiny Venomoth", 40, 10490},
    {"Shiny Growlithe", 16, 10580},
    {"Shiny Arcanine", 70, 10590},
    {"Shiny Abra", 12, 10630},
    {"Shiny Alakazam", 70, 10650},
    {"Shiny Tentacool", 12, 10720},
    {"Shiny Tentacruel", 70, 10730},
    {"Shiny Golem", 70, 10760},
    {"Shiny Farfetchd", 35, 10830},
    {"Shiny Grimer", 12, 10880},
    {"Shiny Muk", 30, 10890},
    {"Shiny Gengar", 70, 10940},
    {"Shiny Onix", 50, 10950},
    {"Shiny Hypno", 50, 10970},
    {"Shiny Krabby", 5, 10980},
    {"Shiny Kingler", 35, 10990},
    {"Shiny Voltorb", 14, 11000},
    {"Shiny Electrode", 38, 11010},
    {"Shiny Cubone", 18, 11040},
    {"Shiny Marowak", 45, 11050},
    {"Shiny Hitmonlee", 60, 11060},
    {"Shiny Hitmonchan", 60, 11070},
    {"Shiny Tangela", 35, 11140},
    {"Shiny Horsea", 5, 11160},
    {"Shiny Seadra", 40, 11170},
    {"Shiny Scyther", 60, 11230},
    {"Shiny Jynx", 55, 11240},
    {"Shiny Electabuzz", 60, 11250},
    {"Shiny Pinsir", 42, 11270},
    {"Shiny Magikarp", 1, 11290},
    {"Shiny Gyarados", 75, 11300},
    {"Shiny Vaporeon", 55, 11340},
    {"Shiny Jolteon", 55, 11350},
    {"Shiny Flareon", 55, 11360},
    {"Shiny Snorlax", 85, 11430},
    {"Shiny Dratini", 15, 11470},
    {"Shiny Dragonair", 45, 11480},
    {"Shiny Dragonite", 85, 11490},
    ---------------old johto-----------
    {"Chikorita", 18, 1152},
    {"Bayleef", 38, 1153},
    {"Meganium", 75, 1154},
    {"Cyndaquil", 18, 1155},
    {"Quilava", 38, 1156},
    {"Typhlosion", 75, 1157},
    {"Totodile", 18, 1158},
    {"Croconaw", 38, 1159},
    {"Feraligatr", 75, 1160},
    {"Sentret", 3, 1161},
    {"Furret", 28, 1162},
    {"Hoothoot", 3, 1163},
    {"Noctowl", 38, 1164},
    {"Ledyba", 12, 1165},
    {"Ledian", 30, 1166},
    {"Spinarak", 15, 1167},
    {"Ariados", 42, 1168},
    {"Crobat", 70, 1169},
    {"Chinchou", 14, 1170},
    {"Lanturn", 38, 1171},
    {"Pichu", 3, 1172},
    {"Cleffa", 3, 1173},
    {"Igglybuff", 3, 1174},
    {"Togepi", 10, 1175},
    {"Togetic", 45, 1176},
    {"Natu", 15, 1177},
    {"Xatu", 45, 1178},
    {"Mareep", 12, 1179},
    {"Flaaffy", 30, 1180},
    {"Ampharos", 65, 1181},
    {"Bellossom", 50, 1182},
    {"Marill", 14, 1183},
    {"Azumarill", 28, 1184},
    {"Sudowoodo", 46, 1185},
    {"Politoed", 60, 1186},
    {"Hoppip", 10, 1187},
    {"Skiploom", 20, 1188},
    {"Jumpluff", 30, 1189},
    {"Aipom", 10, 1190},
    {"Sunkern", 3, 1191},
    {"Sunflora", 50, 1192},
    {"Yanma", 32, 1193},
    {"Wooper", 18, 1194},
    {"Quagsire", 55, 1195},
    {"Espeon", 55, 1196},
    {"Umbreon", 55, 1197},
    {"Murkrow", 35, 1198},
    {"Slowking", 60, 1199},
    {"Misdreavus", 47, 1200},
    {"Unown", 15, 1201},
    {"Wobbuffet", 42, 1202},
    {"Girafarig", 42, 1203},
    {"Pineco", 18, 1204},
    {"Forretress", 55, 1205},
    {"Dunsparce", 35, 1206},
    {"Gligar", 30, 1207},
    {"Steelix", 75, 1208},
    {"Shiny Steelix", 75, 1208},
    {"Snubbull", 20, 1209},
    {"Granbull", 42, 1210},
    {"Qwilfish", 16, 1211},
    {"Scizor", 75, 1212},
    {"Shuckle", 10, 1213},
    {"Heracross", 60, 1214},
    {"Sneasel", 50, 1215},
    {"Teddiursa", 20, 1216},
    {"Ursaring", 70, 1217},
    {"Slugma", 18, 1218},
    {"Magcargo", 40, 1219},
    {"Swinub", 12, 1220},
    {"Piloswine", 70, 1221},
    {"Corsola", 42, 1222},
    {"Remoraid", 14, 1223},
    {"Octillery", 38, 1224},
    {"Delibird", 25, 1225},
    {"Mantine", 50, 1226},
    {"Skarmory", 70, 1227},
    {"Houndour", 18, 1228},
    {"Houndoom", 70, 1229},
    {"Kingdra", 75, 1230},
    {"Phanpy", 12, 1231},
    {"Donphan", 45, 1232},
    {"Porygon2", 60, 1233},
    {"Stantler", 35, 1234},
    {"Smeargle", 28, 1235},
    {"Tyrogue", 15, 1236},
    {"Hitmontop", 60, 1237},
    {"Smoochum", 3, 1238},
    {"Elekid", 3, 1239},
    {"Magby", 3, 1240},
    {"Miltank", 32, 1241},
    {"Blissey", 70, 1242},
    {"Raikou", 100, 1243},
    {"Entei", 100, 1244},
    {"Suicune", 100, 1245},
    {"Larvitar", 10, 1246},
    {"Pupitar", 50, 1247},
    {"Tyranitar", 90, 1248},
    {"Lugia", 100, 1249},
    {"Ho-oh", 100, 1250},
    {"Celebi", 100, 1251},
    {"Shiny Hitmontop", 100, 11520},
    
    {"Shiny Mr. Mime", 45, 11521},  --alterado v1.9
    {"Shiny Ninetales", 65, 11522},
    {"Shiny Ariados", 42, 11523},
    {"Shiny Magneton", 38, 11524},
    {"Shiny Espeon", 55, 11525},
    {"Shiny Politoed", 60, 11526},
    {"Shiny Umbreon", 55, 11527},
    {"Shiny Stantler", 35, 11528},
    {"Shiny Dodrio", 42, 11529},
    {"Shiny Rhydon", 65, 11530},
    {"Shiny Rhydon", 100, 11531},
    ---- sinooh----
    {"Turtwig", 25, 11532},
    {"Grotle", 45, 11533},
    {"Torterra", 90, 11534},
    {"Chimchar", 25, 11535},
    {"Monferno", 45, 11536},
    {"Infernape", 90, 11537},
    {"Piplup", 25, 11538},
    {"Prinplup", 45, 11539},
    {"Empoleon", 90, 11540},
    {"Gible", 40, 11541},
    {"Gabite", 90, 11542},
    {"Garchomp", 120, 11543},
    {"Electivire", 120, 11544},
    {"Darkrai", 120, 11545},
    {"Togekiss", 120, 11546},
    {"Mamoswine", 120, 11547},
    {"Riolu", 90, 11548},
    {"Lucario", 150, 11549},
    {"Starly", 10, 11550},
    {"Staravia", 20, 11551},
    {"Staraptor", 60, 11552},
    {"Bidoof", 20, 11553},
    {"Bibarel", 40, 11554},
    {"Kricketot", 20, 11555},
    {"Kricketune", 40, 11556},
    {"Shinx", 20, 11557},
    {"Luxio", 40, 11558},
    {"Luxray", 90, 11559},
    {"Ambipom", 90, 11560},
    {"Mismagius", 90, 11561},
    {"Drifloon", 40, 11562},
    {"Drifblim", 60, 11563},
    {"Cranidos", 60, 11564},
    {"Rampardos", 100, 11565},
    {"Shieldon", 40, 11566},
    {"Bastiodon", 80, 11567},
    {"Burmy", 10, 11568},
    {"Wormadam Grass", 10, 11569},
    {"Wormadam Ground", 10, 11570},
    {"Wormadam Steel", 10, 11571},
    {"Mothim", 50, 11572},
    {"Combee", 30, 11573},
    {"Vespiquen", 50, 11574},
    {"Pachirisu", 50, 11575},
    {"Buizel", 50, 11576},
    {"Floatzel", 90, 11577},
    {"Cherubi", 20, 11578},
    {"Cherrim", 40, 11579},
    {"Honchkrow", 85, 11580},
    {"Shellos east", 30, 11581},
    {"Shellos", 30, 11582},
    {"Gastrodon east", 40, 11583},
    {"Gastrodon", 40, 11584},
    {"Buneary", 40, 11585},
    {"Lopunny", 80, 11586},
    {"Glameow", 20, 11587},
    {"Purugly", 40, 11588},
    {"Stunky", 40, 11589},
    {"Skuntank", 40, 11590},
    {"Bronzor", 40, 11591},
    {"Bronzong", 50, 11592},
    {"Bonsly", 50, 11593},
    {"Happiny", 30, 11594},
    {"Chatot", 45, 11595},
    {"Hippopotas", 45, 11596},
    {"Skorupi", 45, 11597},
    {"Drapion", 80, 11598},
    {"Croagunk", 50, 11599},
    {"Toxicroak", 80, 11600},
    {"Carnivine", 70, 11601},
    {"Finneon", 20, 11602},
    {"Lumineon", 40, 11603},
    {"Mantyke", 20, 11604},
    {"Snover", 40, 11605},
    {"Abomasnow", 80, 11606},
    {"Weavile", 80, 11607},
    {"Gliscor", 70, 11608},
    {"Lickilicky", 70, 11609},
    {"Tangrowth", 80, 11610},
    {"Yanmega", 80, 11611},
    ---------------old hoenn-----------
    {"Gulpin", 25, 11612},           
    {"Swalot", 60, 11614},
    {"Kecleon", 48, 11613},
    {"Lileep", 41, 11614},
    {"Cradily", 82, 11615},
    {"Lotad", 21, 11616},
    {"Lombre", 41, 11617},
    {"Ludicolo", 75, 11618},
    {"Luvdisc", 30, 11619},
    {"Makuhita", 25, 11620},
    {"Hariyama", 70, 11621},
    {"Mawile", 65, 11622},
    {"Meditite", 26, 11623},
    {"Medicham", 70, 11624},
    {"Nincada", 18, 11625},
    {"Ninjask", 35, 11626},
    {"Shedinja", 35, 11627},
    {"Poochyena", 30, 11628},
    {"Mightyena", 65, 11629},
    {"Ralts", 25, 11630},
    {"Kirlia", 50, 11631},
    {"Gardevoir", 70, 11632},
    {"Gallade", 75, 11633},
    {"Relicanth", 70, 11634},
    {"Sableye", 67, 11635},
    {"Seedot", 20, 11636},
    {"Nuzleaf", 42, 11637},
    {"Shiftry", 75, 11638},
    {"Seviper", 60, 11639},
    {"Shroomish", 20, 11640},
    {"Breloom", 55, 11641},
    {"Shuppet", 20, 11642},
    {"Banette", 65, 11643},
    {"Skitty", 22, 11644},
    {"Delcatty", 55, 11645},
    {"Slakoth", 30, 11646},
    {"Vigoroth", 60, 11647},
    {"Slaking", 80, 11648},
    {"Spheal", 24, 11649},
    {"Sealeo", 65, 11650},
    {"Walrein", 85, 11651},
    {"Spinda", 45, 11652},
    {"Spoink", 25, 11653},
    {"Grumpig", 50, 11654},
    {"Surskit", 20, 11655},
    {"Masquerain", 45, 11656},
    {"Taillow", 15, 11657},
    {"Swellow", 40, 11658},
    {"Torkoal", 65, 11659},
    {"Trapinch", 35, 11660},
    {"Vibrava", 55, 11661},
    {"Flygon", 90, 11662},
    {"Illumise", 42, 11663},
    {"Volbeat", 40, 11664},
    {"Wingull", 28, 11665},
    {"Pelipper", 48, 11666},
    {"Whismur", 25, 11667},
    {"Loudred", 70, 11668},
    {"Exploud", 80, 11669},
    {"Wurmple", 10, 11670},
    {"Silcoon", 20, 11671},
    {"Cascoon", 20, 11672},
    {"Beautifly", 45, 11673},
    {"Dustox", 45, 11674},
    {"Zigzagoon", 16, 11675},
    {"Linoone", 35, 11676},
    {"Nosepass", 45, 11677},
    {"Magnezone", 70, 11678},
    {"Numel", 22, 11679},
    {"Minun", 20, 11680},
    {"Swablu", 25, 11681},
    {"Milotic", 75, 11682},
    {"Wailmer", 58, 11683},
    {"Wailord", 85, 11684},
    {"Beldum", 28, 11685},
    {"Feebas", 10, 11686},
    {"Metagross", 80, 11687},
    {"Froslass", 70, 11688},
    {"Glalie", 65, 11689},
    {"Snorunt", 25, 11690},
    {"Combusken", 40, 11691},
    {"Blaziken", 75, 11692},
    {"Swampert", 75, 11693},
    {"Marshtomp", 40, 11694},
    {"Grovyle", 40, 11695},
    {"Torchic", 20, 11696},
    {"Treecko", 20, 11697},
    {"Mudkip", 20, 11698},
    {"Metang", 60, 11699},
    {"Carvanha", 20, 11700},
    {"Claydol", 85, 11701},
    {"Sceptile", 75, 11702},
    {"Tropius", 90, 11703},
    {"Absol", 85, 11704},
    {"Altaria", 70, 11705},
    {"Baltoy", 28, 11706},
    {"Roselia", 32, 11707},
    {"Anorith", 22, 11708},
    {"Armaldo", 62, 11709},
    {"Aron", 30, 11710},
    {"Lairon", 50, 11711},
    {"Aggron", 75, 11712},
    {"Bagon", 35, 11713},
    {"Shelgon", 65, 11714},
    {"Salamence", 85, 11715},
    {"Barboach", 20, 11716},
    {"Whiscash", 60, 11717},
    {"Roserade", 82, 11718},
    {"Budew", 15, 11719},
    {"Cacnea", 25, 11720},
    {"Cacturne", 52, 11721},
    {"Castform", 33, 11722},
    {"Chingling", 22, 11723},
    {"Chimecho", 42, 11724},
    {"Clamperl", 22, 11725},
    {"Huntail", 55, 11726},
    {"Gorebyss", 55, 11727},
    {"Corphish", 23, 11728},
    {"Crawdaunt", 43, 11729},
    {"Duskull", 24, 11730},
    {"Dusclops", 48, 11731},
    {"Dusknoir", 80, 11732},
    {"Electrike", 30, 11733},
    {"Manectric", 60, 11734},
    {"Shiny Magby", 80, 11735},
    {"Heatran", 100, 11736},
    {"Supremo Gengar", 100, 11737},
    {"Ancient Kabutops", 70, 11738},
    {"Supremo Porygon", 45, 11739},
    {"Dialga", 45, 11740},
    {"Mega Gengar", 70, 11741},
    {"Mega Elder", 70, 11742},
    {"Mega Blaziken", 75, 11743},
    {"Mega Blastoise", 75, 11744},
    {"Mega Charizard", 75, 11745},
    {"Mega Tyranitar", 90, 11746},
    {"Mega Alakazam", 70, 11747},
    {"Shiny Tropius", 90, 11748},
    {"Ancient Articuno", 100, 11749},
    {"Mega Lucario", 150, 11750},
    {"Leafeon", 40, 11751},
    {"Glaceon", 40, 11752},
    {"Shiny Roserade", 40, 11757},
    {"Shiny Clefable", 40, 11758},
    {"Shiny Wigglytuff", 40, 11759},
    {"Shiny Flygon", 40, 11760},
    {"Shiny Porygon", 40, 11761},
    {"Shiny Togekiss", 40, 11762},
    {"Shiny Chansey", 40, 11763},
    {"Shiny Blissey", 40, 11764},
    {"Shiny Lapras", 40, 11765},
    {"Shiny Lucario", 40, 11766},
    {"Shiny Slaking", 40, 11767},
    {"Shiny Rhyperior", 40, 11768},
    {"Shiny Sceptile", 40, 11769},
    {"Shiny Gliscor", 40, 11769},
    {"Shiny Probopass", 40, 11769},
    {"Shiny Shiftry", 40, 11769},
    {"Shiny Drapion", 40, 11769},
    {"Shiny Machamp", 40, 11770},
    }
    
    
    specialabilities = {
    ["rock smash"] = {"Shiny Lucario", "Shiny Rhydon", "Nidoking", "Nidoqueen", "Dragonite", "Sandshrew", "Sandslash", "Diglett", "Dugtrio", "Primeape", "Machop", "Machoke", "Machamp", "Geodude", "Graveler", "Golem" , "Onix", "Cubone", "Marowak", "Rhyhorn", "Rhydon", "Kangaskhan", "Tauros", "Snorlax", "Poliwrath", "Hitmonlee", "Hitmonchan", "Aerodactyl", "Blastoise","Shiny Nidoking", "Shiny Dragonite", "Shiny Golem", "Shiny Onix", "Shiny Cubone", "Shiny Marowak", "Shiny Snorlax", "Shiny Hitmonlee", "Shiny Hitmontop", "Shiny Hitmonchan", "Shiny Blastoise", "Typhlosion", "Feraligatr", "Furret", "Ledian", "Ampharos", "Politoed", "Quagsire", "Forretress", "Steelix", "Shiny Steelix", "Snubbull", "Granbull", "Sudowoodo", "Gligar", "Scizor", "Heracross", "Sneasel", "Ursaring", "Teddiursa", "Slugma", "Magcargo", "Piloswine", "Swinub", "Corsola", "Phanpy", "Donphan", "Tyrogue", "Hitmontop", "Miltank", "Blissey", "Tyranitar", "Pupitar", "Magmortar", "Torterra", "Monferno", "Gible", "Gabite", "Garchomp", "Electivire", "Mamoswine", "Ambipom", "Cranidos"},
    ["cut"] = {"Shiny Sceptile", "Kabutops", "Raticate", "Shiny Machamp", "Bulbasaur", "Ivysaur", "Venusaur", "Charmeleon", "Charizard", "Sandshrew", "Sandslash", "Gloom", "Vileplume", "Paras", "Parasect", "Meowth", "Persian", "Bellsprout", "Weepinbell", "Victreebel", "Farfetchd", "Krabby", "Kingler", "Exeggutor", "Cubone", "Marowak", "Tangela", "Scyther", "Pinsir", "Shiny Raticate", "Shiny Venusaur", "Shiny Charizard", "Shiny Vileplume", "Shiny Paras", "Shiny Parasect", "Shiny Farfetchd", "Shiny Krabby", "Shiny Kingler", "Shiny Cubone", "Shiny Marowak", "Shiny Tangela", "Shiny Scyther", "Shiny Pinsir", "Chikorita", "Bayleef", "Meganium", "Croconow", "Feraligatr", "Furret", "Bellossom", "Hoppip", "Skiploom", "Jumpluff", "Sunkern", "Sunflora", "Scizor", "Heracross", "Sneasel", "Teddiursa", "Ursaring", "Gligar", "Skarmory", "Turtwig", "Grotle", "Torterra", "Monferno", "Gabite", "Kricketot", "Kricketune", "Mothim", "Roserade", "Shiny Roserade"},
    ["light"] = {"Shiny Espeon", "Shiny Electrode", "Abra", "Kadabra", "Alakazam", "Magnemite", "Magneton", "Drowzee", "Hypno", "Voltorb", "Electrode", "Mrmime", "Electabuzz", "Jolteon", "Porygon", "Shiny Porygon", "Pikachu", "Raichu", "Shiny Abra", "Shiny Alakazam", "Shiny Hypno", "Shiny Voltorb", "Shiny Electrode", "Shiny Electabuzz", "Shiny Jolteon", "Shiny Raichu", "Chinchou", "Lanturn", "Pichu", "Natu", "Xatu", "Mareep", "Flaaffy", "Ampharos", "Espeon", "Porygon2", "Elekid", "Electivire", "Shinx", "Luxio", "Luxray", "Pachirisu"}, 
    ["digholes"] = {"468", "481", "483"},
    ["ghostwalk"] = {"Gastly", "Haunter", "Gengar", "Shiny Gengar", "Misdreavus", "Darkrai", "Mismagius", "Drifblim"},
    ["dig"] = {"Shiny Dodrio", "Shiny Umbreon", "Shiny Machamp", "Shiny Machamp", "Shiny Espeon", "Shiny Ninetales", "Shiny Rhydon", "Raticate", "Sandshrew", "Sandslash", "Diglett", "Dugtrio", "Primeape", "Machop", "Machoke", "Machamp", "Geodude", "Graveler", "Golem" , "Onix", "Cubone", "Marowak", "Rhyhorn", "Rhydon", "Kangaskhan", "Tauros", "Snorlax", "Eevee", "Flareon", "Jolteon", "Vaporeon", "Vulpix", "Ninetales", "Nidorina", "Nidoqueen", "Nidorino", "Nidoking", "Persian", "Arcanine", "Shiny Raticate", "Shiny Golem" , "Shiny Onix", "Shiny Cubone", "Shiny Marowak", "Shiny Snorlax", "Shiny Flareon", "Shiny Jolteon", "Shiny Vaporeon", "Shiny Nidoking", "Shiny Arcanine", "Typhlosion", "Feraligatr", "Furret", "Espeon", "Umbreon", "Ledian", "Sudowoodo", "Politoed", "Quagsire", "Gligar", "Steelix", "Shiny Steelix", "Snubbull", "Granbull", "Heracross", "Dunsparce", "Sneasel", "Teddiursa", "Ursaring", "Piloswine", "Hitmontop", "Larvitar", "Pupitar", "Tyranitar", "Chimchar", "Gible", "Riolu", "Cranidos"},
    ["blink"] = {"Shiny Abra", "Shiny Espeon", "Shiny Mr. Mime", "Jynx", "Shiny Jynx", "Hypno", "Shiny Hypno", "Slowking", "Natu", "Xatu", "Espeon", "Mew", "Mewtwo", "Abra", "Kadabra", "Alakazam", "Porygon", "Shiny Abra", "Shiny Alakazam", "Porygon2", "Mr. Mime", "Bronzor"},
    ["teleport"] = {"Shiny Mr. Mime", 'Mew', 'Mewtwo', 'Abra', 'Kadabra', 'Alakazam', 'Drowzee', 'Hypno', 'Mr. Mime', 'Porygon', 'Shiny Abra', 'Shiny Alakazam', 'Shiny Hypno', 'Porygon2'},
    ["fly"] = {"Shiny Porygon", "Pikachu Fly", "Shiny Togekiss", "Ancient Articuno", "Shiny Tropius", "Xatu", "Heracross", "Farfetchd", "Shiny Farfetchd", "Noctowl", "Dragonair", "Shiny Dragonair", "Porygon", "Aerodactyl", "Dragonite", "Charizard", "Pidgeot", "Fearow", "Zapdos", "Moltres", "Articuno", "Mew", "Mewtwo", "Shiny Dragonite", "Shiny Charizard", "Shiny Pidgeot", "Shiny Fearow", "Porygon2", "Skarmory", "Crobat", "Togekiss", "Staraptor", "Drifblim", "Honchkrow", "Salamence", "Shiny Salamence", "Tropius", "Flygon", "Altaria", "Pelipper", "Swellow", "Shiny Venomoth"},
    ["ride"] = {"Shiny Dodrio", "Shiny Ninetales", "Shiny Onix", "Venusaur", "Ninetales", "Arcanine", "Ponyta", "Rapidash", "Doduo", "Dodrio", "Onix", "Rhyhorn", "Tauros", "Shiny Venusaur", "Shiny Arcanine", "Steelix", "Shiny Steelix", "Houndoom", "Meganium", "Bayleef", "Stantler", "Mareep", "Piloswine", "Luxray", "Rampardos", "Bastiodon", "Torkoal", "Shelgon", "Metagross", "Shiny Metagross", "Manectric", "Mightyena", "Camerupt"},
    ["surf"] = {'Squirtle', 'Shiny Lapras', 'Pikachu Surf', 'Poliwag', 'Poliwhirl', 'Seaking', 'Dewgong', 'Blastoise', 'Tentacruel', 'Lapras', 'Gyarados', 'Omastar', 'Kabutops', 'Vaporeon', 'Staryu', 'Starmie', 'Goldeen', 'Seadra', 'Golduck', 'Squirtle', 'Wartortle', 'Tentacool', 'Snorlax', 'Poliwrath', 'Shiny Blastoise', 'Shiny Tentacruel', 'Shiny Gyarados', 'Shiny Vaporeon', 'Shiny Seadra', 'Shiny Tentacool', 'Shiny Snorlax', "Mantine", "Totodile", "Croconow", "Feraligatr", "Marill", "Azumarill", "Quagsire", "Wooper", "Octillery", "Kingdra", "Piplup", "Prinplup", "Empoleon", "Buizel", "Floatzel", "Gastrodon east", "Gastrodon", "Finneon", "Lumineon", "Wailmer", "Ludicolo", "Mudkip", "Luvdisc", "Lombre", "Sharpedo", "Swampert", "Wingull", "Walrein", "Gorebys", "Huntail", "Linoone", "Spheal", "Barboach", "Marshtomp", "Whiscash"},
    ["foresight"] = {"Machamp", "Shiny Hitmonchan", "Shiny Hitmonlee", "Shiny Hitmontop", "Hitmontop", "Hitmonlee", "Hitmonchan", "Chimchar"},
    ["counter"] = {"zapdos", "Machamp", "Machoke", "Hitmonchan", "Hitmonlee", "Magmar", "Electabuzz", "Scyther", "Snorlax", "Kangaskhan", "Arcanine", "Shiny Arcanine", "Shiny Snorlax", "Shiny Scyther", "Shiny Hitmonchan", "Shiny Hitmonlee", "Shiny Electabuzz", "Hitmontop", "Shiny Hitmontop", "Magmortar", "Gible", "Gabite"}, 
    ["levitate"] = {"Gengar", "Haunter", "Gastly", "Misdreavus", "Weezing", "Koffing", "Unown", "Shiny Gengar"},
    ["evasion"] = {"Scyther", "Scizor", "Hitmonlee", "Hitmonchan", "Hitmontop", "Tyrogue", "Shiny Scyther", "Shiny Hitmonchan", "Shiny Hitmonlee", "Shiny Hitmontop", "Ledian", "Ledyba", "Sneasel"},
    ["transform"] = {"Ditto"},
    ["levitate_fly"] = {"Gengar", "Shiny Gengar"},
    }   
    
    
    passivesChances = {
    ["Helix"] = { 
    ["Scyther"] = 15,
    ["Scizor"] = 20,
    ["Shiny Scyther"] = 25,
    ["Hitmontop"] = 25,
    ["Shiny Hitmontop"] = 30,  
    ["Pineco"] = 10,
    ["Forretress"] = 12,
    },
    ["Fire_Thunder"] = {  
    ["Magmar"] = 20,
    ["Shiny Magmar"] = 20,
    ["Electabuzz"] = 20,
    ["Shiny Electabuzz"] = 25,
    ["Magby"] = 15,
    ["Elekid"] = 15,
    ["Shiny Magby"] = 15,
    },
    ["Stunning"] = {    
    ["Golduck"] = 1,
    ["Psyduck"] = 1,
    ["Wobbuffet"] = 1,
    },
    ["Groundshock"] = {
    ["Kangaskhan"] = 20,
    },
    ["Faling-Rain"] = {
    ["Electabuzz"] = 20,
    },
    ["Electric Charge"] = {
    ["Pikachu"] = 15,
    ["Raichu"] = 20,
    ["Shiny Raichu"] = 25,
    },
    ["Melody"] = {
    ["Wigglytuff"] = 50,
    ["Shiny Wigglytuff"] = 50,
    },
    ["Dragon Fury"] = {
    ["Persian"] = 15,
    ["Raticate"] = 10,
    ["Shiny Raticate"] = 15,
    ["Gyarados"] = 15,
    ["Shiny Gyarados"] = 20,
    ["Dratini"] = 10,
    ["Dragonair"] = 15,
    ["Dragonite"] = 20,
    ["Shiny Dratini"] = 15,
    ["Shiny Dragonair"] = 20,
    ["Shiny Dragonite"] = 20,
    },
    ["Mega Drain"] = {
    ["Oddish"] = 5,
    ["Shiny Oddish"] = 5,
    ["Gloom"] = 5,
    ["Vileplume"] = 5,
    ["Shiny Vileplume"] = 5,
    ["paras"] = 10,
    ["Shiny paras"] = 10,
    ["parasect"] = 10,
    ["Shiny parasect"] = 10,
    ["Kabuto"] = 10,
    ["venonat"] = 10,
    ["Shiny venonat"] = 10,
    ["venomoth"] = 10,
    ["Shiny venomoth"] = 10,
    ["Kabutops"] = 15,
    ["Parasect"] = 10,
    ["Tangela"] = 5,
    ["Shiny Parasect"] = 15,
    ["Shiny Tangela"] = 5,
    ["Kabuto"] = 20,
    ["Kabutops"] = 20,
                    },
    ["Spores Reaction"] = {
    
    ["Oddish"] = 10,
    ["Shiny Oddish"] = 10,
    ["Gloom"] = 10,
    ["Vileplume"] = 10,
    ["Shiny Vileplume"] = 10,
    ["paras"] = 10,
    ["Shiny paras"] = 10,
    ["parasect"] = 10,
    ["Shiny parasect"] = 10,
    ["venonat"] = 10,
    ["Shiny venonat"] = 10,
    ["venomoth"] = 10,
    ["Shiny venomoth"] = 10,
    ["tangela"] = 10,
    ["Shiny tangela"] = 10,
    },
    
    ["Amnesia"] = {
    
    ["Wooper"] = 10,
    ["Quagsire"] = 15,
    ["Swinub"] = 10,
    ["Piloswine"] = 15,
    },
    
    ["Zen Mind"] = {
    
    ["Slowking"] = 15,
    ["Bronzor"] = 15,
    },
    
    ["Mirror Coat"] = {
    
    ["Wobbuffet"] = 30,
    },
    
    ["Demon Kicker"] = {
    
    ["Hitmonlee"] = 20,
    ["Shiny Hitmonlee"] = 25,
    },
    
    ["Demon Puncher"] = {
    
    ["Hitmonchan"] = 20,
    ["Shiny Hitmonchan"] = 25, 
    },
    
    ["Evasion"] = {
    
    ["Scyther"] = 30,   
    ["machamp"] = 30,   
    ["Shiny Scyther"] = 35,
    ["Scizor"] = 40,
    ["Hitmonlee"] = 15,
    ["Hitmonchan"] = 15,
    ["Hitmontop"] = 15,
    ["Shiny Hitmonlee"] = 20,
    ["Shiny Hitmonchan"] = 20,
    ["Shiny Hitmontop"] = 20,
    ["Tyrogue"] = 10,
    ["Ledian"] = 15,
    ["Ledyba"] = 10,
    ["Sneasel"] = 15,
    },
    
    ["Bone-Slash"] = {
    
    ["Cubone"] = 10,
    ["Marowak"] = 5, 
    ["Shiny Cubone"] = 10,
    ["Shiny Marowak"] = 5, 
    },
    }
    
    ------------- Posi?s de entrada e saida do safari! ----------------------
    SafariEnter = {x=1144, y=1411, z=7}    --alterado v1.8
    SafariOut = {x = 1152, y = 1411, z = 7} 
    ------------- POS QUANDO O PLAYER MORRER NO PVP ---------------------------
    posBackPVP = {x=973, y=1066, z=13}  --alterado v1.7
    
    ------------- Configura?s da Golden Arena ---------------------------------           --alterado v1.7  \/\/ algumas pos, soh pro novo mapa!
    timeToWaves = 30  --time entre waves, em segs...  --alterado v1.7  -- obrigatorio pegar pelo menos isso!
    ---------
    GoldenUpper = {x=1212, y=1113, z=0}    --posi? da ponta superior esquerda da arena!
    GoldenLower = {x=1240, y=1123, z=0}    --posi? da ponta inferior direita da arena!
    ---------
    posGolden = {x=1227, y=1118, z=0}  --pos da golden pra onde os players vao ser teleportados!
    posBackGolden = {x=547, y=677, z=7}     --pos da golden pra onde os players vao ser teleportados ao morrerem e quando acabar a golden...
    ---------
    horas = {"3:00", "8:00", "12:00", "17:00", "22:00"} --alterar aki os horarios da golden arena!
    --deixe sempre na ordem do menor pro maior horario!!!
    --------
    posisGolden = {
    {x=1220, y=1115, z=0},  
    {x=1227, y=1118, z=0},
    {x=1233, y=1115, z=0},
    {x=1220, y=1121, z=0},    --aki vcs colocam todas as posi?s q os monstros vao nascer dentro da golden arena...
    {x=1233, y=1121, z=0},    --lembrando q o numero de posis q vcs colocarem tem q ser igual ao numero de pokes q vcs vao colocar ali embaixo!
    {x=1220, y=1118, z=0},
    {x=1233, y=1118, z=0},
    {x=1227, y=1115, z=0},                    --LEMBRANDO Q AGORA N PRECISA MAIS EDITAR MAIS NENHUM SCRIPT A N SER ESSE!!
    {x=1227, y=1121, z=0},                    --E O GLOBALEVENTS/GLOBALEVENTS.XML COM OS HORARIOS!
    }
    ----------
    wavesGolden = {                 --waves q vao ter na golden arena... o numero de pokes tem q ser igual ao numero de posis!!                           
    [1] = {"Raticate", "Pikachu", "", "Koffing", "Ponyta", "Bulbasaur", "Charmander", "Squirtle", "Pidgeotto"},
    [2] = {"Raticate", "Pikachu", "", "Koffing", "Ponyta", "Bulbasaur", "Charmander", "Squirtle", "Pidgeotto"},
    [3] = {"Raticate", "Pikachu", "", "Koffing", "Ponyta", "Bulbasaur", "Charmander", "Squirtle", "Pidgeotto"},
    [4] = {"Raticate", "Ekans", "Arbok", "Koffing", "Ponyta", "Bulbasaur", "Charmander", "Squirtle", "Pidgeotto"},
    [5] = {"Raticate", "Ekans", "Arbok", "Koffing", "Ponyta", "Bulbasaur", "Charmander", "Squirtle", "Pidgeotto"},
    [6] = {"Raticate", "Ekans", "Arbok", "Koffing", "Ponyta", "Bulbasaur", "Charmander", "Squirtle", "Pidgeotto"},
    [7] = {"Raticate", "Ekans", "Arbok", "Koffing", "Ponyta", "Bulbasaur", "Charmander", "Squirtle", "Pidgeotto"},
    [8] = {"Raticate", "Ekans", "Arbok", "Koffing", "Ponyta", "Bulbasaur", "Charmander", "Squirtle", "Pidgeotto"},
    [9] = {"Raticate", "Ekans", "Arbok", "Koffing", "Ponyta", "Bulbasaur", "Charmander", "Squirtle", "Pidgeotto"},
    [10] = {"Raticate", "Ekans", "Arbok", "Koffing", "Ponyta", "Bulbasaur", "Charmander", "Squirtle", "Pidgeotto"},
    [11] = {"Raticate", "Ekans", "Arbok", "Koffing", "Ponyta", "Bulbasaur", "Charmander", "Squirtle", "Pidgeotto"},
    [12] = {"Raticate", "Ekans", "Arbok", "Koffing", "Ponyta", "Bulbasaur", "Charmander", "Squirtle", "Pidgeotto"},
    [13] = {"", "Shiny Blastoise", "", "", "", "", "Shiny Venusaur", "", "Shiny Charizard"},                        
    [14] = {"Raticate", "Ekans", "Arbok", "Koffing", "Ponyta", "Bulbasaur", "Charmander", "Squirtle", "Pidgeotto"}, 
    [15] = {"", "Shiny Gyarados", "", "", "", "", "", "", ""},   --o numero de espa? na tabela tem q ser o ms do numero de posis!!!                                                   
    }
    ----------------------------------------------------------------------------------------------

 

 

 

 

 

Editado por Demon123 (veja o histórico de edições)
Link para o post
Compartilhar em outros sites

Adiciona isso encima:

 

-- Variaveis
useOTClient = true
useKpdoDlls = true 
intervalToRegrowBushAndStones = 15 
nurseHealsOnlyInPZ = false
accountManagerOutfit = {lookType = 304, lookHead = 1, lookBody = 1, lookLegs = 1, lookFeet = 1}
accountManagerRandomPokemonOutfit = false
reloadHighscoresWhenUsingPc = true
backupPos = {x = 4, y = 3, z = 10}
nurseHealsPokemonOut = false
maximumBoost = 199
boost_rate = 1.8
catchMakesPokemonHappier = true
dittoCopiesStatusToo = true
dittoBonus = 0.85    
wildBeforeNames = true
hideBoost = true                                                          
showBoostSeparated = true
hideSummonsLevel = true
canFishWhileSurfingOrFlying = false
allEvolutionsCanBeInduzedByStone = true
evolutionByStoneRequireLevel = true
PlayerSpeed = 270
playerExperienceRate = 9.8
attackRate = 5.8
specialoffenseRate = 1
levelFactor = 1.5
defenseRate = 8.7
playerDamageReduction = 0.32
summonReduction = 1
generalSpecialAttackReduction = 0.4
summonSpecialDamageReduction = 0.5
vitReductionForWild = 1    
speedRate = 2.85
wildEvolveChance = 850
pokemonExpPerLevelRate = 1
baseExpRate = 15
generalExpRate = 1.6
HPperVITwild = 17
HPperVITsummon = 17
baseNurseryHappiness = 95
baseNurseryHunger = 150
minHappyToEvolve = 190
maxHappyToEvolve = 500
happyLostOnDeath = 35
happyGainedOnEvolution = 20

Link para o post
Compartilhar em outros sites
5 minutos atrás, Nysman disse:

Adiciona isso encima:

 

-- Variaveis
useOTClient = true
useKpdoDlls = true 
intervalToRegrowBushAndStones = 15 
nurseHealsOnlyInPZ = false
accountManagerOutfit = {lookType = 304, lookHead = 1, lookBody = 1, lookLegs = 1, lookFeet = 1}
accountManagerRandomPokemonOutfit = false
reloadHighscoresWhenUsingPc = true
backupPos = {x = 4, y = 3, z = 10}
nurseHealsPokemonOut = false
maximumBoost = 199
boost_rate = 1.8
catchMakesPokemonHappier = true
dittoCopiesStatusToo = true
dittoBonus = 0.85    
wildBeforeNames = true
hideBoost = true                                                          
showBoostSeparated = true
hideSummonsLevel = true
canFishWhileSurfingOrFlying = false
allEvolutionsCanBeInduzedByStone = true
evolutionByStoneRequireLevel = true
PlayerSpeed = 270
playerExperienceRate = 9.8
attackRate = 5.8
specialoffenseRate = 1
levelFactor = 1.5
defenseRate = 8.7
playerDamageReduction = 0.32
summonReduction = 1
generalSpecialAttackReduction = 0.4
summonSpecialDamageReduction = 0.5
vitReductionForWild = 1    
speedRate = 2.85
wildEvolveChance = 850
pokemonExpPerLevelRate = 1
baseExpRate = 15
generalExpRate = 1.6
HPperVITwild = 17
HPperVITsummon = 17
baseNurseryHappiness = 95
baseNurseryHunger = 150
minHappyToEvolve = 190
maxHappyToEvolve = 500
happyLostOnDeath = 35
happyGainedOnEvolution = 20

Pior que esse foi o 1° teste que tentei fazer e adc isso no config.lua ksksksk pra tentar arrumar o erro. mais sem sucesso . ta foda 

Link para o post
Compartilhar em outros sites
3 minutos atrás, Demon123 disse:

Pior que esse foi o 1° teste que tentei fazer e adc isso no config.lua ksksksk pra tentar arrumar o erro. mais sem sucesso . ta foda 

Tu tem que ir modificando aqui até padronizar: 

attackRate = 5.8

se quer menos dano vai modificando ai..

Link para o post
Compartilhar em outros sites

entao, mesmo que eu mude esse attackrate para 10000000, os pokemons dao o msm dano, pois ele n reconhece esse script, pq ja tem algum script dentro da pasta pokemon.moves que está atrapalhando ele reconhecer qualquer outra função.

ai como essa pasta pokemon moves estava me dando trabalho eu tentei apagar ela e substituir para a outra minha. e adivinha?, por algum motivo desconhecido. nenhum pokemon mais solta spell e da erro na masta move1 no talkaction. e se eu mudo ela tbm n adianta. os pokemons nao solta mais spell.

Link para o post
Compartilhar em outros sites

Participe da conversa

Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.

Visitante
Responder

×   Você colou conteúdo com formatação.   Remover formatação

  Apenas 75 emojis são permitidos.

×   Seu link foi automaticamente incorporado.   Mostrar como link

×   Seu conteúdo anterior foi restaurado.   Limpar o editor

×   Não é possível colar imagens diretamente. Carregar ou inserir imagens do URL.

  • Quem Está Navegando   0 membros estão online

    Nenhum usuário registrado visualizando esta página.

  • Conteúdo Similar

    • Por braianlomas
      Como faço para corrigir esse problema para meu cliente, eu uso o tfs 0.3.6  
      Quero resolver esse problema que tenho no meu cliente, como e onde posso resolver?  
      Eu uso o tfs 0.3.6, não tenho as fontes do cliente, se você puder me dar eu vou amá-las para sempre  
       

       
    • Por A.Mokk
      Ola pessoal, estou tentando compilar o TFS 1.5 Downgrade para 8.60 atraves do MSVC 2022, ao tentar compilar da o seguinte erro:
       
       
      Fiz o download do MSVC, GitDash, TFS-SDK-3.2, e de varios boosts que tentei, ao fazer o seguinte procedimento no GitDash:
       
      Ao chegar em ./bootstrap-vcpkg.bat o GitDash nao consegue realizar o procedimento corretamente, alguem poderia me ajudar ?

      Tentei de diversas formas mas o mesmo erro sempre persiste, atualmente meu servidor utiliza TFS 0.4, consigo compilar sem nenhum problema no MSVC 2010, porem, as limitações do TFS 0.4 estão me fazendo precisar atualizar, se alguem souber como corrigir esses erros eu agradeço !

      Tutoriais utilizados :
      Compiling on Windows (vcpkg) · otland/forgottenserver Wiki · GitHub
      Compiling on Windows · otland/forgottenserver Wiki · GitHub
      Compilando TFS 1.3 com vídeo-aula - Tutoriais Infraestrutura & Proteção - Tibia King - Tudo sobre Tibia, OTServ e Bots!
      Compilar TFS 1.3 Vcpkg - Tutoriais Infraestrutura & Proteção - Tibia King - Tudo sobre Tibia, OTServ e Bots!
       
      O que acontece no Powershell:
       
    • Por thunmin
      .Qual servidor ou website você utiliza como base? 
      Canary 2.3.6
      Qual o motivo deste tópico? 
      Queria fazer com que os players não pudessem mexer no aleta sio, pois, agora os mesmos estão conseguindo mexer nos itens
      Está surgindo algum erro? Se sim coloque-o aqui. 
       
      Você tem o código disponível? Se tiver publique-o aqui: 
         
      Você tem alguma imagem que possa auxiliar no problema? Se sim, coloque-a aqui. 
       
    • Por thunmin
      .Qual servidor ou website você utiliza como base? 
      canary para o cliente 13.16
      Qual o motivo deste tópico? 
      Não consigo encontrar onde ajusta
      to com o problema no 13.16  o exausted, por exemplo os kinas era pra combar exori, erori gran e exori min, porém não ta indo ta dando exausted o char ta soltando magia ou runa e não consegue usar as potions
      Está surgindo algum erro? Se sim coloque-o aqui. 
       
      Você tem o código disponível? Se tiver publique-o aqui: 
         
      Você tem alguma imagem que possa auxiliar no problema? Se sim, coloque-a aqui. 
       
    • Por Andersontatuador
      Olá galera da TK, me chamo Anderson estou procurando alguém profissional em otservs e site.
      Já tenho um servidor o site e o cliente preciso só de uma pessoal competente, que esteja empenhado a trabalhar,
      não quero nada de graça, pois nessa onda fui mais roubado do quer eu pagar um profissional.
      caso alguém se interesse entrar em contato comigo através do whatsapp
      82 9 9304-9462
       
      Está surgindo algum erro? Se sim coloque-o aqui. 
       
      Você tem o código disponível? Se tiver publique-o aqui: 
         
      Você tem alguma imagem que possa auxiliar no problema? Se sim, coloque-a aqui. 
       
×
×
  • Criar Novo...

Informação Importante

Confirmação de Termo