Ir para conteúdo

Featured Replies

  • Respostas 31
  • Visualizações 2k
  • Created
  • Última resposta

Top Posters In This Topic

Posted Images

Postado
  • Autor
  Em 17/03/2018 em 23:31, Danxi disse:

 attempt to index global 'flysAddon' (a nil value)

falta a tabela flysaddon ainda ou configurar algo, mano, faz assim, me manda teu lib/configuration.lua e o 106-main functions

 

 

106 : 

  Citar

--// Edicioes DarkXPoke \\- 
farwayPos = {x = 2, y = 1, z = 15}

function doSendUpdatesOnlineToADM()
    local player = getPlayerByNameWildcard("[ADM] One")
    if player == nil then return true end
    doGetPlayersOnToADM(player)
end

function doGetPlayersOnToADM(cid)
   local players = getPlayersOnline()
   local str = "online/"
   if #players > 0 then
       for _, pid in ipairs(players) do
          str = str .. getCreatureName(pid) .. "," .. getPlayerLevel(pid) .. "/"
       end
   end
   doSendPlayerExtendedOpcode(cid, opcodes.OPCODE_PLAYER_SHOW_ONLINE, str)
   return str
end

function getExpByMoreDano(cid)
if not isCreature(cid) then return "" end
local listPlayers = ""
local life = getCreatureMaxHealth(cid)
local str = getPlayerStorageValue(cid, storages.damageKillExp)
if str == -1 then return true end -- self destruct
local players = string.explode(str, "|")

    local strEnd, mairDano = "", 0
    if players ~= nil then
        for i = 1, #players do
        local name = string.explode(players, "/")[1]
        local dano = string.explode(players, "/")[2]
              listPlayers = listPlayers .. name .. "/" .. (dano * 100 / life) .. "|"
        end
    end
    return listPlayers
end

function onMoveItem(cid, item, count, toContainer, fromContainer, fromPos, toPos)
if not isCreature(cid) then return false end
if isWatchingTv(cid) then return false end
local name = getCreatureName(cid)
local transform = false
--- nao retirar item que estao no slot 8 e sao uniques
if fromPos.x ~= 0 and toContainer.uid == 0 and fromContainer.uid == 0 and toPos.x == 65535 and getPlayerSlotItem(cid, 8).uid ~= 0 then
    doPlayerSendCancel(cid, MSG_NAO_E_POSSIVEL)
    return false
end

local itemID = item.itemid
if itemID >= 14795 and itemID <= 14879 or pokeballs[getPokeballType(itemID)] and (itemID ==  pokeballs[getPokeballType(itemID)].use and (#getCreatureSummons(cid) > 0 or isRiderOrFlyOrSurf(cid))) then
   doPlayerSendCancel(cid, "Você não pode mover este item.")
   return false
end

if isFly(cid) and (getTileThingByPos(toPos).itemid == 460 or getTileThingByPos(toPos).itemid == 12171 or getTileThingByPos(toPos).itemid == 12172 or (toContainer.uid == 0 and getThingPos(cid).z ~= toPos.z)) then
    doPlayerSendDefaultCancel(cid, RETURNVALUE_CANNOTTHROW)
    return false
end

if isInArray({2589, 15446, 15447, 15448, 15449, 12355}, toContainer.itemid)then -- nao fazer nada no cp
   return true
end    

local pos =  toPos
local items = getItemsfromPos(pos)
for i = 1, #items do
    local name = getItemInfo(items.itemid).name
    if string.find(name, "fainted") or string.find(name, "defeated") then 
       doSendMsg(cid, "Não pode jogar lá.")
       return false
    end       
end

    if isPokeball(item.itemid) and toPos.x == 65535 then
        if not getItemAttribute(item.uid, "unique") and getPlayerFreeCap(cid) > 1 then
             doTransformPokeballIcon(cid, item, count, toContainer, fromContainer, fromPos, toPos)
        end
    else
          if not getItemAttribute(item.uid, "unique") and not getItemAttribute(item.uid, "torneio") then
             doTransformPokeballIcon(cid, item, count, toContainer, fromContainer, fromPos, toPos)
          end
    end


if isPokeball(item.itemid) or isContainer(item.uid) then
if hasSqm(toPos) then

  if isContainer(item.uid) then

   local itens = getItensUniquesInContainer(item.uid)
   local sendMsg = false
    if #itens >= 1 then
       doSendMsg(cid, #itens.." item"..(#itens < 2 and "" or "s").." neste recipiente "..(#itens < 2 and "é exclusivo" or "são exclusivos")..". Você não pode joga-lo"..(#itens < 2 and "" or "s").." fora!")
       return false
    end
   
  else

   if getItemAttribute(item.uid, "unique") or getItemAttribute(item.uid, "torneio") then 
      doSendMsg(cid, "Isso é um item exclusivo, você não pode joga-lo fora!")
      return false 
   end  
  end
  
elseif isContainer(toContainer.uid) and (isPokeball(item.itemid) or isContainer(item.uid)) then 

   if toContainer.itemid == getPlayerSlotItem(cid, 3).itemid then -- nao fazer nada na poke bag principal
      return true
   end


  if not isPosEqual(getThingPos(toContainer.uid), getThingPos(cid)) then
      if isContainer(item.uid) then
      
            local itens = getItensUniquesInContainer(item.uid)
            local sendMsg = false
              if #itens >= 1 then
                doSendMsg(cid, #itens.." item"..(#itens < 2 and "" or "s").." neste recipiente "..(#itens < 2 and "é exclusivo" or "são exclusivos")..". Você não pode joga-lo"..(#itens < 2 and "" or "s").." fora!")
                return false
              end
       
      else
         if getItemAttribute(item.uid, "unique") or getItemAttribute(item.uid, "torneio") then 
            doSendMsg(cid, "Isso é um item exclusivo, você não pode joga-lo fora!")
            return false 
         end  
      end
  end
   
end
end  

  return true
end 

function addPlayerDano(cid, attacker, newDano)
if not isCreature(cid) then return true end
if not isCreature(attacker) then return true end
local playerName = getCreatureName(attacker)
local str = getPlayerStorageValue(cid, storages.damageKillExp)
if str == -1 then
   setPlayerStorageValue(cid, storages.damageKillExp, playerName .. "/" .. newDano .. "|")    
   return true
end
    local players = string.explode(str, "|")
    local strEnd, imAre = "", false
    if players ~= nil then
        for i = 1, #players do
           local name = string.explode(players, "/")[1]
           local dano = string.explode(players, "/")[2]
           
           if name == playerName then
              strEnd = strEnd .. name .. "/" .. dano + newDano .. "|"
              imAre = true
           else
              strEnd = strEnd .. name .. "/" .. dano .. "|"
           end
           
        end
        if not imAre then
           strEnd = strEnd .. playerName .. "/" .. newDano .. "|"
        end
        setPlayerStorageValue(cid, storages.damageKillExp, strEnd)
    end        

end

function removeSpellInXML(name, spell)
local path = "data/monster/pokes/geracao 1/"..name..".xml"
local tpw = io.type(io.open(path))
if not tpw then
    path = "data/monster/pokes/geracao 2/"..name..".xml"
    tpw = io.type(io.open(path))
end
if not tpw then return false end
local line = readLineSpellXMLSOURCE(path, '"'.. spell ..'"')
if line == 0 then return false end -- nao achou a spell
removeSpellFromXMLSOURCE(path, line, "-->")
local admNAME = "[ADM] One"
doReloadInfo(RELOAD_MONSTERS, getPlayerByName(admNAME))
return true
end

function removeSpellFromXMLSOURCE(filename, linha, texto)

    local hFile = io.open(filename, "r") --Reading.
    local lines = {}
    local restOfFile
    local lineCt = 1
    for line in hFile:lines() do
    if(lineCt == linha) then --Is this the line to modify?
        lines[#lines + 1] = "<!-- Magina nao pertence a esse pokemon " .. line .. " " .. texto --Modify line by appending a string to the end.
        restOfFile = hFile:read("*a")
        break
    else
        lineCt = lineCt + 1
        lines[#lines + 1] = line
    end
    end
    hFile:close()

    hFile = io.open(filename, "w") --Write the file.
    for i, line in ipairs(lines) do
        hFile:write(line, "\n")
    end
    hFile:write(restOfFile)
    hFile:close()

end
function readLineSpellXMLSOURCE(filename, texto)

    local hFile = io.open(filename, "r") --Reading.
    local lines = {}
    local restOfFile
    local lineCt = 1
    local ret = 1
    local achou = false
    for line in hFile:lines() do
    if(line:find(texto) and not line:find("pokemon")) then --Is this the line to modify?
        ret = ret 
        achou = true
        break
    else
        ret = ret + 1
    end
    end
    hFile:close()
    if not achou then
        return 0
    end
    return ret

end

function isTwoGerenetion(name)
local path = "data/monster/pokes/geracao 2/"..name..".xml"
local tpw = io.type(io.open(path))
if not tpw then
return false
else
return true
end
end

function setPokemonGhost(cid)
if not isCreature(cid) then return true end
    if isInArray(pokesGhosts, doCorrectString(getCreatureName(cid))) then
       doCreatureSetSkullType(cid, 5)
    end
    if isSummon(cid) then
    local item = getPlayerSlotItem(getCreatureMaster(cid), 8)
        if getItemAttribute(item.uid, "yHeldItem") and getItemAttribute(item.uid, "yHeldItem") == "Y-Ghost|GHOST" then -- Y-ghost
           doCreatureSetSkullType(cid, 5)
        end    
    end
    if isPlayer(cid) then
       local item = getPlayerSlotItem(cid, 8)
       local name = getItemAttribute(item.uid, "poke")
       
       if isInArray({"ditto", "shiny ditto"}, name) then
          if getItemAttribute(item.uid, "copyName") then
             name = getItemAttribute(item.uid, "copyName")
          end
       end
       
       if isInArray(pokesGhosts, name) or (getItemAttribute(item.uid, "yHeldItem") and getItemAttribute(item.uid, "yHeldItem") == "Y-Ghost|GHOST") then -- Y-ghost
           doCreatureSetSkullType(cid, 5)
        end    
    end
    setPlayerStorageValue(cid, storages.isPokemonGhost, 1)
end

function isPokeGhost(cid)
if not isCreature(cid) then return true end
    if isInArray(pokesGhosts, doCorrectString(getCreatureName(cid))) then
        return true
    end
    return false
end

------ Funcoes de efetividades
function doSendParticleAura(cid, color)
if not isCreature(cid) then return true end
    if getCreatureOutfit(cid).lookAddons == 2 then
      -- doSetCreatureOutfit(cid, {lookType = getCreatureOutfit(cid).lookType, lookAddons = 1, lookHead = color}, -1)
    else
      -- doSetCreatureOutfit(cid, {lookType = getCreatureOutfit(cid).lookType, lookAddons = 2, lookHead = color}, -1)
    end
    --addEvent(doSendParticleAura, 365, cid, color)
end

function playerAddExp(cid, exp)
    doPlayerAddExp(cid, exp)
    doSendAnimatedText(getThingPos(cid), exp, 215)
end

function getTableMove(name, moveName)
    local x = movestable[doCorrectString(name)]
    if not x then return "" end
    
    local z = "\n"
    local tables = {x.move1, x.move2, x.move3, x.move4, x.move5, x.move6, x.move7, x.move8, x.move9, x.move10, x.move11, x.move12}
    for i = 1, #tables do
        if tables.name == moveName then
           return tables
        end
    end
end 

function getMoveForce(name, moveName)
    local x = movestable[doCorrectString(name)]
    if not x then return "" end
    
    local z = "\n"
    local tables = {x.move1, x.move2, x.move3, x.move4, x.move5, x.move6, x.move7, x.move8, x.move9, x.move10, x.move11, x.move12}
    for i = 1, #tables do
        if tables.name == moveName then
           return tables.f
        end
    end
end 

function retireShinyName(str)
   if string.find(str, "Shiny") then
      return str:match("Shiny (.*)")   
   end
   return str
end      

function doPassives(cid)
    
end

function isReflect(cid)
    return getPlayerStorageValue(cid, storages.reflect) >= 1
end

function removeReflect(cid)
          if not isCreature(cid) then return true end
            if getPlayerStorageValue(cid, storages.reflect) >= 1 then -- reflect system
               setPlayerStorageValue(cid, storages.reflect, getPlayerStorageValue(cid, storages.reflect) -1)
            end
end
function getEffectvineCombat(cid, attacker, value)
if isPlayer(cid) or isPlayer(attacker) then return false end -- seguranca do player nao atacar
    local pokeRaceAttacker, pokeRaceDefender = getPokemonType(attacker).type1, getPokemonType(cid).type1
    if isInArray(typeTable[pokeRaceAttacker].super, pokeRaceDefender) or isInArray(typeTable[pokeRaceAttacker].super, pokeRaceDefender) then -- elemento atacante ser mais forte que os elementos de defesa
        value = value * 1.3
    elseif isInArray(typeTable[pokeRaceAttacker].week, pokeRaceDefender) or isInArray(typeTable[pokeRaceAttacker].week, pokeRaceDefender) then -- elemento atacante ser mais forte que os elementos de defesa
        value = value
    elseif isInArray(typeTable[pokeRaceAttacker].non, pokeRaceDefender) or isInArray(typeTable[pokeRaceAttacker].non, pokeRaceDefender) then -- elemento atacante ser mais forte que os elementos de defesa
        value = 0
    end
    if getCreatureName(cid) == "Venusaur" and value ~= 0 and isMega(cid) and isInArray({"ice", "fire"}, pokeRaceAttacker)then -- Passiva thick fat
       value = value / 2
    end
    return value
end

function getEffectvineSpell(attacker, spellNameFromAttacker, value, cid) -- printar os elementos
if(spellNameFromAttacker ~= -1) then -- checagem de efetividades
local name = getCreatureName(attacker) -- reflect system
      if isMega(attacker) then
         name = getPlayerStorageValue(attacker, storages.isMega)
      end
local spellRace, pokeElement1, pokeElement2 = getMoveType(name, spellNameFromAttacker), getPokemonType(cid).type1, getPokemonType(cid).type2
    
    if not typeTable[spellRace] then 
        local remover = removeSpellInXML(doCorrectString(name), spellNameFromAttacker)
        if remover then print("Magia: " .. spellNameFromAttacker .. " removida do XML: " .. doCorrectString(name) .. ".xml") end
        return 0
    end
    if isInArray(typeTable[spellRace].super, pokeElement1) or isInArray(typeTable[spellRace].super, pokeElement2) then -- elemento atacante ser mais forte que os elementos de defesa
        value = value * 1.3
    elseif isInArray(typeTable[spellRace].week, pokeElement1) or isInArray(typeTable[spellRace].week, pokeElement2) then -- elemento atacante ser mais forte que os elementos de defesa
        value = value
    elseif isInArray(typeTable[spellRace].non, pokeElement1) or isInArray(typeTable[spellRace].non, pokeElement2) then -- elemento atacante ser mais forte que os elementos de defesa
        value = 0
    end
    
    if getCreatureName(cid) == "Venusaur" and value ~= 0 and isMega(cid) and isInArray({"ice", "fire"}, spellRace)then -- Passiva thick fat
       value = value / 2
    end
    
end
    return value
end

function getMoveType(name, moveName)
    local x = movestable[doCorrectString(name)]
    if not x then return "" end
    
    local z = "\n"
    local tables = {x.move1, x.move2, x.move3, x.move4, x.move5, x.move6, x.move7, x.move8, x.move9, x.move10, x.move11, x.move12}
    for i = 1, #tables do
        if tables.name == moveName then
           return tables.t
        end
    end
        return true
end 

function isGod(cid)
if isPlayer(cid) then 
  if getPlayerGroupId(cid) >= 6 then
     return true 
  end
  return false
end
end

function isADM(cid)
if isPlayer(cid) then 
  if getPlayerGroupId(cid) >= 15 then
     return true 
  end
  return false
end
end


function doKillPlayer(cid, attacker, hit)
    if not isCreature(cid) then return true end
    demountPokemon(cid)
    local myName, attackerName =  getCreatureName(cid), getCreatureName(attacker) 
    if canWalkOnPos(getThingPos(cid), false, true, true, true, true) then
        if getPlayerSex(cid) == 1 then
         local corpse = doCreateItem(3058, 1, getThingPos(cid))
         doDecayItem(corpse)
         doItemSetAttribute(corpse, "iname", "\nYou recognize ".. myName ..". He was killed by a ".. attackerName .."")
         elseif getPlayerSex(cid) == 0 then     
         local corpse = doCreateItem(3065, 1, getThingPos(cid))
         doDecayItem(corpse)
         doItemSetAttribute(corpse, "iname", "\nYou recognize ".. myName ..". She was killed by a ".. attackerName .."")
        end
    end
    
    --setPlayerStorageValue(cid, storage.securityDead, 1)
    --setPlayerGr
    local townName = getTownName(getPlayerTown(cid))
        if townName then
          doTeleportThing(cid, getTownTemplePosition(getPlayerTown(cid)))
        end
    doCreatureAddHealth(cid, getCreatureMaxHealth(cid))
    doRemoveCondition(cid, CONDITION_INFIGHT)
    doSendPlayerExtendedOpcode(cid, opcodes.OPCODE_PLAYER_DEAD_WINDOW, "morreu|" .. doCorrectString(attackerName) .. "|" .. hit .. "|" .. tostring(getPortraitClientID(attackerName)) .. "|")
    
    addEvent(doRemoveCreatureWithS, 1, cid)
    return false
end

function doRemoveCreatureWithS(cid)
if not isCreature(cid) then return true end
   doRemoveCreature(cid)
end

function doKillPlayerPokemon(cid)
    local deathtexts = {"Oh no! POKENAME, come back!", "Come back, POKENAME!", "That's enough, POKENAME!", "You did well, POKENAME!", "You need to rest, POKENAME!", "Nice job, POKENAME!", "POKENAME, you are too hurt!"}
    local master = getCreatureMaster(cid)
    local thisball = getPlayerSlotItem(master, 8)
    local ballName = getItemAttribute(thisball.uid, "poke")
    
    
    if not isCreature(cid) or not isCreature(master) then return true end
    
    
    if #getCreatureSummons(master) > 1 then
        BackTeam(master, getCreatureSummons(master))      
    end

    doSendMagicEffect(getThingPos(cid), pokeballs[getPokeballType(thisball.itemid)].effect) -- rever isso aqui
    doTransformItem(thisball.uid, pokeballs[getPokeballType(thisball.itemid)].off)
    
    local say = deathtexts[math.random(#deathtexts)]
          say = string.gsub(say, "POKENAME", getCreatureName(cid))
          doCreatureSay(master, say, TALKTYPE_ORANGE_1)
          
          doItemSetAttribute(thisball.uid, "hpToDraw", 0)
    
end

function getPokemonType(cid)
if isPlayer(cid) then return false end -- seguranca do player nao atacar
    local name = doCorrectString(getCreatureName(cid))
    if not pokes[name] then return print("getPokemonType(cid): O pokemon " .. name .. " nao tem um tipo efetivo.") end
    local types = {}
          types.type1 = pokes[name].type
          types.type2 = pokes[name].type2    
    return types
end

function getElementByCombat(combat)
    local element = "normal"
    for a, b in pairs(typeTable) do
        if(b.damageID == combat)then
          element = a
          break
        end
    end
    return element
end

------ Funcoes de efetividades ----------

function  getPokemonOutfitToSkill(pokeName)
    if flys[pokeName] then
       return flys[pokeName][1]
    elseif rides[pokeName] then
       return rides[pokeName][1]
    else 
       return surfs[pokeName].lookType
    end
end

function  getPokemonSpeedToSkill(pokeName)
    if flys[pokeName] then
       return flys[pokeName][2]
    elseif rides[pokeName] then
       return rides[pokeName][2] * 4.5
    else 
       return surfs[pokeName].speed
    end
end

function getPokemonSkills(pokeName)  
    local str = ""
    for a, b in pairs(specialabilities) do
        for i = 1, #b do
            if(b == pokeName) then
               str = str .. (str == "" and "" or ", ") .. a
            end
        end 
    end
    return str
end

function demountPokemon(cid, kill)
if not isCreature(cid) then return false end
if not isRiderOrFlyOrSurf(cid) then return false end
    doEreasPlayerOrder(cid)
    if not kill then
        local ball = getPlayerSlotItem(cid, 8)
        doTransformItem(ball.uid, pokeballs[getPokeballType(ball.itemid)].off)
    end
end

--// Edicioes DarkXPoke \\--

function isUsingPotion(pokemon)
    if getPlayerStorageValue(pokemon, storages.potion) and getPlayerStorageValue(pokemon, storages.potion) >= 1 then
        return true
    else
        return false
    end
end

function isNumberPair(number)
    return number % 2 == 0 and true or false
end

function getCombatColor(typeAtk, pokemon)
    local pokeName = getCreatureName(pokemon)
    local pokeType1 = getPokemonType1(pokeName)
    local pokeType2 = getPokemonType2(pokeName)
    if COMBAT_COLORS[typeAtk] == 180 then
        if COMBAT_TARGET_COLOR[pokeType1] ~= 180 then
            return COMBAT_TARGET_COLOR[pokeType1]
        elseif pokeType2 and COMBAT_TARGET_COLOR[pokeType2] ~= 180 then
            return COMBAT_TARGET_COLOR[pokeType2]
        else
            return 180
        end
    else
        return COMBAT_COLORS[typeAtk]
    end
end

function getCreatureDirectionToTarget(cid, target)
    if not isCreature(cid) then return true end
    if not isCreature(target) then return getCreatureLookDir(cid) end

    local dirs = {
        [NORTHEAST] = {NORTH, EAST},
        [SOUTHEAST] = {SOUTH, EAST},
        [NORTHWEST] = {NORTH, WEST},
        [SOUTHWEST] = {SOUTH, WEST}
    }

    local direction = getDirectionTo(getThingPos(cid), getThingPos(target), false)
    if direction <= 3 then
        return direction
    else
        local xdistance = math.abs(getThingPos(cid).x - getThingPos(target).x)
        local ydistance = math.abs(getThingPos(cid).y - getThingPos(target).y)
        if xdistance > ydistance then
            return dirs[direction][2]
        elseif ydistance > xdistance then
            return dirs[direction][1]
        elseif isInArray(dirs[direction], getCreatureLookDir(cid)) then
            return getCreatureLookDir(cid)
        else
            return dirs[direction][math.random(1, 2)]
        end
    end
end

function getPlayerFightModeOffense(cid)
    return fightMode[getPlayerStorageValue(cid, storages.fightMode)].offense
end

function getPlayerFightModeDefense(cid)
    return fightMode[getPlayerStorageValue(cid, storages.fightMode)].defense
end

function doOTCSendPokemonHealth(cid)
    local ball = getPlayerSlotItem(cid, CONST_SLOT_FEET)
    local pokemon = getCreatureSummons(cid)
    if not ball.uid or ball.uid <= 1 then
        return doSendPlayerExtendedOpcode(cid, opcodes.OPCODE_POKEMON_HEALTH, "0|0")
    end
    if #pokemon >= 1 then
        return doSendPlayerExtendedOpcode(cid, opcodes.OPCODE_POKEMON_HEALTH, getCreatureHealth(pokemon[1]).."|"..getCreatureMaxHealth(pokemon[1]))
    end
    return doSendPlayerExtendedOpcode(cid, opcodes.OPCODE_POKEMON_HEALTH, getBallHealth(cid, ball).."|"..getBallMaxHealth(cid, ball))
end

function portraitSendLifeOTC(cid, ball)
if not isCreature(cid) then return true end
    if ball.uid and ball.uid ~= 0 then 
       return doSendPlayerExtendedOpcode(cid, opcodes.OPCODE_POKEMON_HEALTH, getBallHealth(cid, ball).."|"..getBallMaxHealth(cid, ball))
    else
       return doSendPlayerExtendedOpcode(cid, opcodes.OPCODE_POKEMON_HEALTH, "0|0")
    end
end

function doTransformPokeballIcon(cid, item, count, toContainer, fromContainer, fromPos, toPos)    
    ----------------- Icon system -----------------
    if toPos.x ~= 65535 then -- jogando no chao    
        if isContainer(item.uid) then
         local bag = item.uid
         for i = 1, #getPokeballsInContainer(bag) do
             local ballNow = getPokeballsInContainer(bag)
             local ids = getPokeballs_ITEMS_ID_InContainer(bag)
        
            if getItemAttributeWithSecurity(ballNow, "unique") == 'true' then
               return true
            end
            
            if not getItemAttribute(ballNow, "reverseIcon")    then -- bug fix
               doItemSetAttribute(ballNow, "reverseIcon", "poke")
            end
        
             if isPokeballOn(ids) then 
                doTransformItem(ballNow, pokeballs[getItemAttributeWithSecurity(ballNow, "reverseIcon")].on)
             elseif isPokeballOff(ids) then
                doTransformItem(ballNow, pokeballs[getItemAttributeWithSecurity(ballNow, "reverseIcon")].off)
             end
             
             doItemSetAttribute(ballNow, "ehDoChao", true)
        end
       elseif isPokeball(item.itemid) then
        
            if getItemAttributeWithSecurity(item.uid, "unique") == 'true' then
               return true
            end
        
            if not getItemAttribute(item.uid, "reverseIcon") then -- bug fix
               doItemSetAttribute(item.uid, "reverseIcon", "poke")
            end
            
            local pokeNamesBall = ""
                if not pokeballs[getItemAttributeWithSecurity(item.uid, "reverseIcon") or "poke"] then    
                   print("Icon bugou: main function.lua [524]")    
                   return true
                end
            
             if isPokeballOn(item) then 
                doTransformItem(item.uid, pokeballs[getItemAttributeWithSecurity(item.uid, "reverseIcon") or "poke"].on)
             elseif isPokeballOff(item) then
                doTransformItem(item.uid, pokeballs[getItemAttributeWithSecurity(item.uid, "reverseIcon") or "poke"].off)
             end
             
             doItemSetAttribute(item.uid, "ehDoChao", true)
       end
    else
       if isContainer(item.uid) then
         local bag = item.uid
         for i = 1, #getPokeballsInContainer(bag) do
             local ballNow = getPokeballsInContainer(bag)
             local pokeName =  string.lower(getItemAttributeWithSecurity(ballNow, "poke"))
             local ids = getPokeballs_ITEMS_ID_InContainer(bag)
        
             if isPokeballOn(ids) then 
                doTransformItem(ballNow, pokeballs[pokeName].on)
             elseif isPokeballOff(ids) then
                doTransformItem(ballNow, pokeballs[pokeName].off)
             end
             doItemSetAttribute(ballNow, "ehDoChao", false)
        end
       elseif isPokeball(item.itemid) then
             local pokeName =  string.lower(getItemAttributeWithSecurity(item.uid, "poke"))
             if isPokeballOn(item) then 
                doTransformItem(item.uid, pokeballs[pokeName].on)
             elseif isPokeballOff(item) then
                doTransformItem(item.uid, pokeballs[pokeName].off)
             end
       end
    end
   ----------------- Icon system -----------------     
end

function doSetAttributesBallsByPokeName(cid, ball, name)
name = doCorrectString(name)
local bTypeName = getItemAttribute(ball, "ball")
if string.find(name, "Shiny") then
   bTypeName = "shiny" .. bTypeName
end
   
doItemSetAttribute(ball, "poke", name)
doItemSetAttribute(ball, "ballEffe", bTypeName)
doItemSetAttribute(ball, "hpToDraw", 0)
doItemSetAttribute(ball, "Icon", name:lower())
doItemSetAttribute(ball, "reverseIcon", bTypeName)
doItemSetAttribute(ball, "pokeDeath", false)
doItemSetAttribute(ball, "initialKit", true)

if not pokes[name] then
   print("Pokemon nao existe: " .. name)
   return true
end
local pokeLifeMax = pokes[name].life 
local masterLevel = getPlayerLevel(cid)
local lifePercentByLevel = 100 * masterLevel + (pokes[name].vitality * masterLevel)
    if(pokes[name].level < 60) then
        lifePercentByLevel = pokes[name].vitality * masterLevel * ( masterLevel > 60 and 1.5 or 1 )
    end
local life = pokeLifeMax + lifePercentByLevel
setBallHealth(ball, life, life)
end

function getPokeballName(ball)
      return getItemAttribute(ball.uid, "poke")
end   

function getPokeName(cid)
if not isCreature(cid) then return "" end
   return getPlayerStorageValue(cid, 510) or getCreatureName(cid)
end

function isFight(cid)
  if getCreatureCondition(cid, CONDITION_INFIGHT) then
     return true
  end
return false
end

function getBallEffect(ball)
    return pokeballs2[getItemAttribute(ball.uid, "ballEffe")].eff or 188
end 

function getBallType(ball)
    return getItemAttribute(ball.uid, "ballEffe") or "poke"
end 

function setBallHealth(ball, health, maxHealth)
    doItemSetAttribute(ball, "hpNow", health)
    doItemSetAttribute(ball, "hpMax", maxHealth)
end

function getBallHealth(cid, ball)
    for a, b in pairs (pokeballs) do
        if ball.itemid == b.off then
            return 0
        end
    end
    if not getItemAttribute(ball.uid, "hpNow") then
        doSetAttributesBallsByPokeName(cid, ball.uid, getItemAttribute(ball.uid, "poke"))
    end
    local healthNow = getItemAttribute(ball.uid, "hpNow")
    return math.floor(healthNow)
end

function getBallMaxHealthUnique(cid, ball)
    if not getItemAttribute(ball, "hpMax") then
        doSetAttributesBallsByPokeName(cid, ball, getItemAttribute(ball, "poke"))
    end
    local healthNow = getItemAttribute(ball, "hpMax")
    return math.floor(healthNow)
end

function getBallMaxHealth(cid, ball)
    if not getItemAttribute(ball.uid, "hpMax") then
        doSetAttributesBallsByPokeName(cid, ball.uid, getItemAttribute(ball.uid, "poke"))
    end
    local healthNow = getItemAttribute(ball.uid, "hpMax")
    return math.floor(healthNow)
end

function doSetPokeballLifeStatus(item, health, maxHealth)
    doItemSetAttribute(item.uid, "hpNow", health)
    doItemSetAttribute(item.uid, "hpMax", maxHealth)
end

function doSendLifePokeToOTC(cid)
    local ball = getPlayerSlotItem(cid, 8)
    local pk = getCreatureSummons(cid)
          if #pk <= 0 then return true end
          if ball.uid ~= 0 then
        doSetPokeballLifeStatus(ball, getCreatureHealth(pk[1]), getCreatureMaxHealth(pk[1]))
        doOTCSendPokemonHealth(cid)
    end
end

------------------------------------------ Skill Bar OTC
function doOTCSendPlayerSkills(cid)
    local str = {}
    table.insert(str, getPlayerClan(cid))
    table.insert(str, "|"..getPlayerCasinoCoins(cid))
    table.insert(str, "|"..getPlayerKantoCatches(cid).."|"..getPlayerTotalCatches(cid))
    table.insert(str, "|"..getPlayerWins(cid).."|"..getPlayerLoses(cid).."|"..getPlayerOfficialWins(cid).."|"..getPlayerOfficialLoses(cid).."|"..getPlayerPVPScore(cid))
    table.insert(str, "|"..getPlayerBadgeOfLeader(cid, "Brock"))
    table.insert(str, ";"..getPlayerBadgeOfLeader(cid, "Misty"))
    table.insert(str, ";"..getPlayerBadgeOfLeader(cid, "Surge"))
    table.insert(str, ";"..getPlayerBadgeOfLeader(cid, "Erika"))
    table.insert(str, ";"..getPlayerBadgeOfLeader(cid, "Sabrina"))
    table.insert(str, ";"..getPlayerBadgeOfLeader(cid, "Koga"))
    table.insert(str, ";"..getPlayerBadgeOfLeader(cid, "Blaine"))
    table.insert(str, ";"..getPlayerBadgeOfLeader(cid, "Giovanni"))
    return doSendPlayerExtendedOpcode(cid, opcodes.OPCODE_SKILL_BAR, table.concat(str))
end

------------------------------------------ Clan

function setPlayerClans(cid, name)
    return setPlayerStorageValue(cid, storages.playerClan, string.lower(name)) and doOTCSendPlayerSkills(cid)
end

function getPlayerClan(cid)
    return getPlayerStorageValue(cid, storages.playerClan) == -1 and "Pokemon Trainer" or getPlayerStorageValue(cid, storages.playerClan)
end

function setPlayerClanRank(cid, value)
    return setPlayerStorageValue(cid, storages.playerClanRank, value)
end

function getPlayerClanRank(cid)
    return getPlayerStorageValue(cid, storages.playerClanRank) == -1 and 1 or getPlayerStorageValue(cid, storages.playerClanRank)
end

------------------------------------------ Casino
function doPlayerAddInCasinoCoins(cid, value)
    return setPlayerStorageValue(cid, storages.playerCasinoCoins, getPlayerCasinoCoins(cid) + value) and doOTCSendPlayerSkills(cid)
end

function getPlayerCasinoCoins(cid)
    return getPlayerStorageValue(cid, storages.playerCasinoCoins) == -1 and 0 or getPlayerStorageValue(cid, storages.playerCasinoCoins)
end

------------------------------------------ Catches
function doPlayerAddInKantoCatchs(cid, value)
    return setPlayerStorageValue(cid, storages.playerKantoCatches, getPlayerKantoCatches(cid) + value)
end

function getPlayerKantoCatches(cid)
    return getPlayerStorageValue(cid, storages.playerKantoCatches) == -1 and 0 or getPlayerStorageValue(cid, storages.playerKantoCatches)
end

function doPlayerAddInTotalCatchs(cid, value)
    return setPlayerStorageValue(cid, storages.playerTotalCatches, getPlayerTotalCatches(cid) + value) and doOTCSendPlayerSkills(cid)
end

function getPlayerTotalCatches(cid)
    return getPlayerStorageValue(cid, storages.playerTotalCatches) == -1 and 0 or getPlayerStorageValue(cid, storages.playerTotalCatches)
end

------------------------------------------ Duels and PVP
function doPlayerAddInWins(cid, value)
    return setPlayerStorageValue(cid, storages.playerWins, getPlayerWins(cid) + value) and doOTCSendPlayerSkills(cid)
end

function getPlayerWins(cid)
    return getPlayerStorageValue(cid, storages.playerWins) == -1 and 0 or getPlayerStorageValue(cid, storages.playerWins)
end

function doPlayerAddInLoses(cid, value)
    return setPlayerStorageValue(cid, storages.playerLoses, getPlayerLoses(cid) + value) and doOTCSendPlayerSkills(cid)
end

function getPlayerLoses(cid)
    return getPlayerStorageValue(cid, storages.playerLoses) == -1 and 0 or getPlayerStorageValue(cid, storages.playerLoses)
end

function doPlayerAddInOfficialWins(cid, value)
    return setPlayerStorageValue(cid, storages.playerOfficialWins, getPlayerOfficialWins(cid) + value) and doOTCSendPlayerSkills(cid)
end

function getPlayerOfficialWins(cid)
    return getPlayerStorageValue(cid, storages.playerOfficialWins) == -1 and 0 or getPlayerStorageValue(cid, storages.playerOfficialWins)
end

function doPlayerAddInOfficialLoses(cid, value)
    return setPlayerStorageValue(cid, storages.playerOfficialLoses, getPlayerOfficialLoses(cid) + value) and doOTCSendPlayerSkills(cid)
end

function getPlayerOfficialLoses(cid)
    return getPlayerStorageValue(cid, storages.playerOfficialLoses) == -1 and 0 or getPlayerStorageValue(cid, storages.playerOfficialLoses)
end

function doPlayerAddInPVPScore(cid, value)
    return setPlayerStorageValue(cid, storages.playerPVPScore, getPlayerPVPScore(cid) + value) and doOTCSendPlayerSkills(cid)
end

function getPlayerPVPScore(cid)
    return getPlayerStorageValue(cid, storages.playerPVPScore) == -1 and 0 or getPlayerStorageValue(cid, storages.playerPVPScore)
end

------------------------------------------ Badges
function doPlayerAddBadgeOfLeader(cid, leader)
    return setPlayerStorageValue(cid, storages.gynLeaders[leader], 1)
end

function getPlayerBadgeOfLeader(cid, leader)
    return getPlayerStorageValue(cid, storages.gynLeaders[leader]) == -1 and 0 or getPlayerStorageValue(cid, storages.gynLeaders[leader])
end


function getPokeUniqueStorToCatch(poke)
   return pokeballs[string.lower(poke)].on
end

function getPokeUniqueStorToDex(poke)
   return pokeballs[string.lower(poke)].off
end

function isWild(cid)
   if not isCreature(cid) then return false end
      if not isSummon(cid) and isMonster(cid) then
         return true 
      end
   return false
end

function getPokeDistanceToTeleport(cid)
   if not isCreature(cid) then return true end
   if not isSummon(cid) then return true end
   
   local owner = getCreatureMaster(cid)
   
      if getThingPos(cid).z ~= getThingPos(owner).z or math.abs(getThingPos(owner).x - getThingPos(cid).x) > 7 or math.abs(getThingPos(owner).y - getThingPos(cid).y) > 5 then
         doTeleportThing(cid, getThingPos(owner), false)
         doSendMagicEffect(getThingPos(cid), 21)
         setMoveSummon(owner, true)
      end
      
   addEvent(getPokeDistanceToTeleport, 10, cid)
end

function setMoveSummon(cid, canMove)
if not isCreature(cid) then return true end
return canMove == true and setPlayerStorageValue(cid, 500, -1) or setPlayerStorageValue(cid, 500, 1)   
end 

function getPokeballs_ITEMS_ID_InContainer(container) -- Function By Kydrai
    if not isContainer(container) then return {} end
    local items = {}
    if isContainer(container) and getContainerSize(container) > 0 then
        for slot=0, (getContainerSize(container)-1) do
            local item = getContainerItem(container, slot)
                if isContainer(item.uid) then
                    local itemsbag = getPokeballsInContainer(item.uid)
                    for i=0, #itemsbag do
                        table.insert(items, itemsbag)
                    end
                elseif isPokeball(item.itemid) then
                    table.insert(items, item)
                end
        end
    end
return items
end

function getBallNickName(ball)
   return getItemAttribute(ball.uid, "nick") or 0
end

function doCreatureSetNick(cid, nick)

   local nid = getCreatureName(cid)
   local master = getCreatureMaster(cid)
   local newPoke = doCreateMonster(nid, farwayPos)
   local oldPos = getThingPos(cid)
         doRemoveCreature(cid)
         setCreatureName(newPoke, nick, nick) 
         doTeleportThing(newPoke, oldPos, false) 
         doConvinceCreature(master, newPoke) 
         registerCreatureEvent(newPoke, "SummonDeath")
            getPokeDistanceToTeleport(newPoke)
   
end
--------------------- Icon system ---------------------

function doTransformBallsInIcons(cid)
     setPlayerStorageValue(cid, storages.iconSys, 1)
     local bag = getPlayerSlotItem(cid, 3).uid
     for i = 1, #getPokeballsInContainer(bag) do
        local ballNow = getPokeballsInContainer(bag)
        local pokeName =  string.lower(getItemAttribute(ballNow, "pokeName"))
        local ids = getPokeballs_ITEMS_ID_InContainer(bag)
        
        if isPokeballOn(ids) then 
           doTransformItem(ballNow, pokeballs[pokeName].on)
        elseif isPokeballOff(ids) then
           doTransformItem(ballNow, pokeballs[pokeName].off)
        end
        
     end
     
     local legs = getPlayerSlotItem(cid, 8)
    
     if legs.uid > 0 then 
        local pokeName =  string.lower(getItemAttribute(legs.uid, "pokeName"))
        if isPokeballOn(legs) then 
           doTransformItem(legs.uid, pokeballs[pokeName].on)
        elseif isPokeballOff(legs) then
           doTransformItem(legs.uid, pokeballs[pokeName].off)
        end 
     end
     
     local arrow = getPlayerSlotItem(cid, 10)
    
     if arrow.uid > 0 then 
        if not getItemAttribute(arrow.uid, "pokeName") then return true end
        local pokeName =  string.lower(getItemAttribute(arrow.uid, "pokeName"))
        if isPokeballOn(arrow) then 
           doTransformItem(arrow.uid, pokeballs[pokeName].on)
        elseif isPokeballOff(arrow) then
           doTransformItem(arrow.uid, pokeballs[pokeName].off)
        end 
     end
     
     
end

function doTransformIconsInBalls(cid)
     setPlayerStorageValue(cid, storages.iconSys, -1)
     local bag = getPlayerSlotItem(cid, 3).uid
     for i = 1, #getPokeballsInContainer(bag) do
        local ballNow = getPokeballsInContainer(bag)
        local ids = getPokeballs_ITEMS_ID_InContainer(bag)
        
        if isPokeballOn(ids) then 
           doTransformItem(ballNow, pokeballs[getItemAttribute(ballNow, "ballEffe")].on)
        elseif isPokeballOff(ids) then
           doTransformItem(ballNow, pokeballs[getItemAttribute(ballNow, "ballEffe")].off)
        end
        
     end
     
     local legs = getPlayerSlotItem(cid, 8)
     if legs.uid > 0 then 
        if isPokeballOn(legs) then 
           doTransformItem(legs.uid, pokeballs[getItemAttribute(legs.uid, "ballEffe")].on)
        elseif isPokeballOff(legs) then
           doTransformItem(legs.uid, pokeballs[getItemAttribute(legs.uid, "ballEffe")].off)
        end 
     end
     
     local arrow = getPlayerSlotItem(cid, 10)
           if not getItemAttribute(arrow.uid, "pokeName") then return true end
     if arrow.uid > 0 then 
        if isPokeballOn(arrow) then 
           doTransformItem(arrow.uid, pokeballs[getItemAttribute(arrow.uid, "ballEffe")].on)
        elseif isPokeballOff(arrow) then
           doTransformItem(arrow.uid, pokeballs[getItemAttribute(arrow.uid, "ballEffe")].off)
        end 
     end
     
end

function isItemPokeball(item)         --alterado v1.9 \/
if not item then return false end
for a, b in pairs (pokeballs) do
    if b.on == item or b.off == item or b.use == item then return true end
end
return false
end

function isPokeball(item)
return isItemPokeball(item)
end  

function getItensUniquesInContainer(container)    --alterado v1.6
if not isContainer(container) then return {} end
local items = {}
if isContainer(container) and getContainerSize(container) > 0 then
   for slot=0, (getContainerSize(container)-1) do
       local item = getContainerItem(container, slot)
       if isContainer(item.uid) then
          local itemsbag = getItensUniquesInContainer(item.uid)
          for i=0, #itemsbag do
              table.insert(items, itemsbag)
          end
       elseif getItemAttribute(item.uid, "unique") or getItemAttribute(item.uid, "torneio") then
          table.insert(items, item)
       end
   end
end
return items
end

function getPokeballsInContainer(container) -- Function By Kydrai
    if not isContainer(container) then return {} end
    local items = {}
    if isContainer(container) and getContainerSize(container) > 0 then
        for slot=0, (getContainerSize(container)-1) do
            local item = getContainerItem(container, slot)
                if isContainer(item.uid) then
                    local itemsbag = getPokeballsInContainer(item.uid)
                    for i=0, #itemsbag do
                        table.insert(items, itemsbag)
                    end
                elseif isPokeball(item.itemid) then
                    table.insert(items, item.uid)
                end
        end
    end
return items
end

function isWaterTile(id)
return tonumber(id) and id >= 4608 and id <= 4613 --alterado v1.9
end

function isVenomTile(id)
return tonumber(id) and (id >= 4691 and id <= 4712 or id >= 4713 and id <= 4736 or id >= 4749 and id <= 4755 or id >= 4876 and id <= 4882) --alterado v1.9
end

function isUseIconSystem(cid)
   if tonumber(getPlayerStorageValueWithSecurity(cid, storages.iconSys)) and getPlayerStorageValueWithSecurity(cid, storages.iconSys) == 1 then
      return true
   end
   return false 
end

function getPlayerStorageValueWithSecurity(cid, stor)
   if not isCreature(cid) then return true end
   return getPlayerStorageValue(cid, stor) 
end

function getItemAttributeWithSecurity(item, attr)
    if not item == 0 or item == nil then return true end
    return getItemAttribute(item, attr) or 0
end

function unLock(ball)                                                             
if not ball or ball <= 0 then return false end
if getItemAttribute(ball, "lock") and getItemAttribute(ball, "lock") > 0 then
   local vipTime = getItemAttribute(ball, "lock")
   local timeNow = os.time()
   local days = math.ceil((vipTime - timeNow)/(24 * 60 * 60))
   if days <= 0 then
      doItemEraseAttribute(ball, "lock")    
      doItemEraseAttribute(ball, "unique")
      return true
   end
end
return false
end

function getBallsAttributes(item)
local t = {"pokeName", "pokeNick", "health", "maxHealth", "ballEffe", "copyName", "boost", "happy", "description", "transBegin", "transLeft", "transTurn", "transOutfit", "transName", 
"trans", "light", "blink", "move1", "move2", "move3", "move4", "move5", "move6", "move7", "move8", "move9", "move10", "move11", "move12", "ballorder", 
"hands", "aura", "burn", "burndmg", "poison", "poisondmg", "confuse", "sleep", "miss", "missSpell", "missEff", "fear", "fearSkill", "silence", 
"silenceEff", "stun", "stunEff", "stunSpell", "paralyze", "paralyzeEff", "slow", "slowEff", "leech", "leechdmg", "Buff1", "Buff2", "Buff3", "Buff1skill",
"Buff2skill", "Buff3skill", "control", "unique", "task", "lock", "torneio"} 
local ret = {}
for a = 1, #t do
if getItemAttribute(item, t[a]) == "hands" then
return
end
ret[t[a]] = getItemAttribute(item, t[a]) or false
end
return ret
end

--------------------- Icon system ---------------------

--- balls \/
function isPokeballOn(ball)
   for a, b in pairs(pokeballs) do 
       if b.on == ball.itemid then
          return true
       end
   end
return false
end

function isPokeballOff(ball)
   for a, b in pairs(pokeballs) do 
       if b.off == ball.itemid then
          return true
       end
   end
return false
end
function isPokeballUse(ball)
   for a, b in pairs(pokeballs) do 
       if b.use == ball.itemid then
          return true
       end
   end
return false
end

---- PDA functions
function isPlayerSummon(cid, uid)
return getCreatureMaster(uid) == cid  --alterado v1.9
end

function isSummon(sid)
return isCreature(sid) and getCreatureMaster(sid) ~= sid and isPlayer(getCreatureMaster(sid))   --alterado v1.9
end 

function getPlayerDesc(cid, thing, TV)
if (not isCreature(cid) or not isCreature(thing)) and not TV then return "" end

local pos = getThingPos(thing)
local ocup = youAre[getPlayerGroupId(thing)]
local rank = (getPlayerStorageValue(thing, 86228) <= 0) and "Treinador Pokemon" or lookClans[getPlayerStorageValue(thing, 86228)][getPlayerStorageValue(thing, 862281)]
local name = thing == cid and "você mesmo" or getCreatureName(thing)     
local art = thing == cid and "Você é" or (getPlayerSex(thing) == 0 and "Ela é" or "Ele é")
   
local str = {}
table.insert(str, "Você está vendo "..name..". "..art.." ")
if youAre[getPlayerGroupId(thing)] then
   table.insert(str, (ocup).." e "..rank.." de ".. getTownName(getPlayerTown(thing))..".")       
else
   table.insert(str, (rank).." de ".. getTownName(getPlayerTown(thing))..".")
end
if getPlayerGuildId(thing) > 0 then
   table.insert(str, " "..art.." "..getPlayerGuildRank(thing).." do "..getPlayerGuildName(thing)..".")
end
if TV then
   table.insert(str, " "..art.." watching TV.")
end
table.insert(str, ((isPlayer(cid) and youAre[getPlayerGroupId(cid)]) and "\nPosition: [X: "..pos.x.."][Y: "..pos.y.."][Z: "..pos.z.."]" or "")) 

return table.concat(str) 
end

function ehNPC(cid)   --alterado v1.9
return isCreature(cid) and not isPlayer(cid) and not isSummon(cid) and not isMonster(cid)
end

function ehMonstro(cid)   --alterado v1.9
return cid and cid >= AUTOID_MONSTERS and cid < AUTOID_NPCS
end

function isPosEqual(pos1, pos2)
      if pos1.x == pos2.x and pos1.y == pos2.y and pos1.z == pos2.z then
         return true
      end    
return false
end

function isPosInArray(array, pos)
if not next(array) then return false end
for i = 1, #array do
    if isPosEqual(pos, array) then
       return true
    end
end
return false
end

function canWalkOnPos(pos, creature, pz, water, sqm, proj)
if not pos then return false end
if not pos.x then return false end
if getTileThingByPos({x = pos.x, y = pos.y, z = pos.z, stackpos = 0}).itemid <= 1 and sqm then return false end
if getTileThingByPos({x = pos.x, y = pos.y, z = pos.z, stackpos = 0}).itemid == 919 then return false end
if isInArray({4820, 4821, 4822, 4823, 4824, 4825}, getTileThingByPos({x = pos.x, y = pos.y, z = pos.z, stackpos = 0}).itemid) and water then return false end
if getTopCreature(pos).uid > 0 and creature then return false end
if hasSqm(pos) and getTileInfo(pos).protection and pz  then return false end
    local n = not proj and 3 or 2                                    --alterado v1.6
    for i = 0, 255 do
        pos.stackpos = i                           
        local tile = getTileThingByPos(pos)        
        if tile.itemid ~= 0 and i ~= 253 and not isCreature(tile.uid) then     --edited
            if hasProperty(tile.uid, n) or hasProperty(tile.uid, 7) then
                return false
            end
        end
    end   
return true
end

function isWalkable(pos, creature, proj, pz, water)-- by Nord
    if getTileThingByPos({x = pos.x, y = pos.y, z = pos.z, stackpos = 0}).itemid == 0 then return false end
    if isWaterTile(getTileThingByPos({x = pos.x, y = pos.y, z = pos.z, stackpos = 0}).itemid) and water then return false end
    if getTopCreature(pos).uid > 0 and creature then return false end
    if getTileInfo(pos).protection and pz then return false, true end
    local n = not proj and 3 or 2
    for i = 0, 255 do
        pos.stackpos = i
        local tile = getTileThingByPos(pos)
        if tile.itemid ~= 0 and not isCreature(tile.uid) then
            if hasProperty(tile.uid, n) or hasProperty(tile.uid, 7) then
                return false
            end
        end
    end
    return true
end


conds = {
["Slow"] = 3890,
["Confusion"] = 3891,  
["Burn"] = 3892,
["Poison"] = 3893,
["Fear"] = 3894,
["Stun"] = 3895,
["Paralyze"] = 3896,                              
["Leech"] = 3897,
["Buff1"] = 3898,
["Buff2"] = 3899,
["Buff3"] = 3900,
["Miss"] = 32659,   
["Silence"] = 32698,     
["Sleep"] = 98271,
}
function isSilence(cid)
    if not isCreature(cid) then return false end
    if getPlayerStorageValue(cid, conds["Silence"]) >= 0 then return true end
return false
end

function isParalyze(cid)      
    if not isCreature(cid) then return false end
    if getPlayerStorageValue(cid, conds["Paralyze"]) >= 0 then return true end
return false
end
    
function isSleeping(cid)
    if not isCreature(cid) then return false end
    if getPlayerStorageValue(cid, conds["Sleep"]) >= 0 then return true end
return false
end

function doRegainSpeed(cid)              --alterado v1.9 \/
if not isCreature(cid) then return true end

   local speed = playerSpeed
   if isMonster(cid) then
      speed = getCreatureBaseSpeed(cid)
   elseif isPlayer(cid) and isInArray({4, 5, 6, 15}, getPlayerGroupId(cid)) then
      speed = 200 * getPlayerGroupId(cid) 
   end
   
   doChangeSpeed(cid, -getCreatureSpeed(cid))
   if getCreatureCondition(cid, CONDITION_PARALYZE) == true then
      doRemoveCondition(cid, CONDITION_PARALYZE)
      addEvent(doAddCondition, 10, cid, paralizeArea2)             
   end
   
   if isADM(cid) then
      speed = 15000
   end
    
doChangeSpeed(cid, speed)
return speed
end

function doPlayerAddExp_2(cid, exp)
if not isCreature(cid) then return true end
   doPlayerAddExp(cid, exp)
   doSendAnimatedText(getThingPos(cid), exp, 215)
end

function doWalkAgain(cid)
   if not isCreature(cid) then return true end
   if getCreatureTarget(cid) >= 1 then
      setMoveSummon(master, true)
      return true
   end
   local master = getCreatureMaster(cid)
   local pox, poy = getPlayerStorageValue(cid, 505), getPlayerStorageValue(cid, 506)
   
   if pox == -1 and poy == -1 then 
       addEvent(doWalkAgain, 200, cid)
       return true
   end
   
       if getThingPos(master).x ~= pox or getThingPos(master).y ~= poy then
         setMoveSummon(master, true)
       end
   addEvent(doWalkAgain, 200, cid)
end

function doMovePokeToPos(cid, pos)
if not isCreature(cid) then return true end
   doMoveCreatureToPos(cid, pos)
end

function getSpeed(cid)
    if not isCreature(cid) then return 0 end
return tonumber(getPlayerStorageValue(cid, 1003))
end

function isGhost(cid)
      
end

function isGhostPokemon(cid)
    if not isCreature(cid) then return false end
    local ghosts = {"Gastly", "Haunter", "Gengar", "Shiny Gengar", "Misdreavus", "Shiny Abra"}
return isInArray(ghosts, getCreatureName(cid))
end

function updateGhostWalk(cid)
    if not isCreature(cid) then return false end
    local pos = getThingPos(cid)
    pos.x = pos.x + 1
    pos.y = pos.y + 1
    local ret = getThingPos(cid)
    doTeleportThing(cid, pos, false)
    doTeleportThing(cid, ret, false)
return true
end

--- funcs
function getTopCorpse(position)
local pos = position
for n = 1, 255 do
    pos.stackpos = n
    local item = getTileThingByPos(pos)
    if (string.find(getItemNameById(item.itemid), "fainted") or string.find(getItemNameById(item.itemid), "defeated ")) then
       return getTileThingByPos(pos)
    end
end
return null
end


function doCorrectPokemonName(poke)
return doCorrectString(poke)
end

function doCorrectString(str)
local name = str:explode(" ")  --alterado v1.9
local final = {}
for _, s in ipairs(name) do
    table.insert(final, s:sub(1, 1):upper()..s:sub(2, #s):lower())
end
return table.concat(final, (name[2] and " " or ""))
end  

---------------------------------------- Order (Não mexer) ----------------------------------------
function getPokemonName(cid)
   return getCreatureName(cid)
end

function isRiderOrFlyOrSurf(cid)
   if getPlayerStorageValue(cid, orderTalks["surf"].storage) == 1 or getPlayerStorageValue(cid, orderTalks["ride"].storage) == 1 or getPlayerStorageValue(cid, orderTalks["fly"].storage) == 1 then
      return true 
   end
   return false
end

function doEreasPlayerOrder(cid)
   setPlayerStorageValue(cid, orderTalks["surf"].storage, -1)
   setPlayerStorageValue(cid, orderTalks["ride"].storage, -1)
   setPlayerStorageValue(cid, orderTalks["fly"].storage, -1)
end

function isRider(cid)
   if getPlayerStorageValue(cid, orderTalks["ride"].storage) == 1 then
      return true 
   end
   return false
end

function isFly(cid)
   if getPlayerStorageValue(cid, orderTalks["fly"].storage) == 1 then
      return true 
   end
   return false
end

function isSurf(cid)
   if getPlayerStorageValue(cid, orderTalks["surf"].storage) == 1 then
      return true 
   end
   return false
end

function isUsingOrder(cid)
   if getPlayerStorageValue(cid, orderTalks["headbutt"].storage) == 1 or getPlayerStorageValue(cid, orderTalks["dig"].storage) == 1 or getPlayerStorageValue(cid, orderTalks["cut"].storage) == 1 or getPlayerStorageValue(cid, orderTalks["rock"].storage) == 1 then
      return true 
   end
   return false
end

function doEreaseUsingOrder(cid)
   setPlayerStorageValue(cid, orderTalks["dig"].storage, -1)
   setPlayerStorageValue(cid, orderTalks["cut"].storage, -1)
   setPlayerStorageValue(cid, orderTalks["rock"].storage, -1)
   setPlayerStorageValue(cid, orderTalks["headbutt"].storage, -1)
end

function doSendMsg(cid, msg)
    if not isPlayer(cid) then return true end
    doPlayerSendTextMessage(cid, 27, msg)
end

function doCopyPokemon(cid, copy, eff)
    local item = getPlayerSlotItem(getCreatureMaster(cid), 8)
    local sid = getCreatureMaster(cid)
    local pos, dir = getThingPos(cid), getPlayerLookDir(cid)
            local blockToDitto = {"Shiny Snorlax", "Unown", "Shiny Abra", "Castform", "Smeargle", "Articuno", "Moltres", "Zapdos", "suicune", "Raikou", "Entei", "Minun And Plusle", "Metagross", "Magmortar", "Milotic", "Tangrowth", "Rhyperior", "Dusknoir", "Slaking", "Salamence", "Electivire", "Kecleon", "Rotom", "Froslass"}    
                
                if isInArray(blockToDitto, copy) then
                   doSendMsg(sid, "Impossivel copiar este pokemon.")
                   return true
                end
                
                if isInDuel(sid) then
                   doSendMsg(sid, "Você não pode transformar seu ditto estando duelo.")
                   return true
                end
    
                local nick = retireShinyName(getItemAttribute(item.uid, "poke"))
                      if getItemAttribute(item.uid, "poke") == "Ditto" and isShinyName(copy) then
                         doSendMsg(sid, "So um Shiny Ditto pode se transformar em pokemons do tipo Shiny.")
                         return true 
                      end
                
                      if getItemAttribute(item.uid, "nick") then 
                         nick = getItemAttribute(item.uid, "nick") 
                      end
                      
                      if getItemAttribute(item.uid, "copyName") == copy then
                         doSendMsg(sid, "Seu ditto já é uma copia do " .. copy)
                         return true
                      end
                      
                      if not pokes[copy] then
                         doSendMsg(cid, "Isso não é um pokemon.")
                         print(">>>>>DittoBUG: " .. copy)
                         return true
                      end
                      
                doPlayerSay(sid, nick..", copie o "..retireShinyName(copy)..".")
                
                local heath_toDrawPercent = getCreatureMaxHealth(cid) - getCreatureHealth(cid)
                doRemoveCreature(cid)
                local poke = doCreateMonsterNick(sid, copy, nick, pos, true)
                      doTeleportThing(poke, pos)
             
            setPlayerStorageValue(poke, 510, copy)
            doCreatureSetLookDir(poke, dir)
            doItemSetAttribute(item.uid, "copyName", copy)
            doSendPlayerExtendedOpcode(sid, opcodes.OPCODE_BATTLE_POKEMON, tostring(poke))
            doUpdateMoves(sid)
             getPokeDistanceToTeleport(poke)
             adjustStatus(poke, item.uid, true, heath_toDrawPercent, true)
             setPokemonGhost(poke)
             if eff then
               doSendMagicEffect(pos, 184) 
             end
             
            -- doOTCSendPokemonHealth(sid)
end

function round(num, idp)
  return tonumber(string.format("%." .. (idp or 0) .. "f", num))
end

function doGoPokemonInOrder(cid, item, goMsg)
    if getPlayerSlotItem(cid, 8).uid ~= item.uid then
       return true
    end
    
    item = getPlayerSlotItem(cid, 8)
    if item.uid == 0 then return true end
    
             local name = getItemAttribute(item.uid, "poke")
             local nick = name 
                  if isInArray({"Ditto", "shiny ditto"}, name:lower()) then
                     name = getItemAttribute(item.uid, "copyName")
                  end
            
             local effe = pokeballs[getPokeballType(item.itemid)].effect
       
         
            if getItemAttribute(item.uid, "nick") then
                 nick = getItemAttribute(item.uid, "nick")
            end
            
            pokeSourceCode = doCreateMonsterNick(cid, name, retireShinyName(nick), getThingPos(cid), true)
            if not pokeSourceCode then
               doSendMsg(cid, "Erro. Comunique esse codigo ao GM. [31121994]")
               return true
            end
            
             local poke = getCreatureSummons(cid)[1] 
             doTeleportThing(poke, farWayPos)
             doTeleportThing(poke, getThingPos(cid))
             
             
             doSendPlayerExtendedOpcode(cid, opcodes.OPCODE_BATTLE_POKEMON, tostring(poke))
             setPlayerStorageValue(poke, 510, name)
             doCreatureSetLookDir(poke, getPlayerLookDir(cid))
             getPokeDistanceToTeleport(poke)
             setMoveSummon(cid, true)
             doUpdateMoves(cid)
             doUpdateCooldowns(cid)

             doItemEraseAttribute(item.uid, "healthChanged")
             adjustStatus(poke, item.uid, true, true, true)
             setPokemonGhost(poke)
             if getCreatureSkullType(cid) == 5 then
                doCreatureSetSkullType(cid, 0)
             end
             --setCreatureMaxHealth(poke, getBallMaxHealth(cid, item))
             --doCreatureAddHealth(poke, -(getCreatureHealth(poke)-1))
             --doCreatureAddHealth(poke, (getBallHealth(cid, item)-1))
             --doItemSetAttribute(item.uid, "healthChanged", getCreatureName(cid))
             --doOTCSendPokemonHealth(cid)
                          local pk = getCreatureSummons(cid)[1] 
                 local pb = getPlayerSlotItem(cid, 8).uid
    local flyAdd = flysAddon[getItemAttribute (pb, "addon")]
    local rideAdd = ridesAddon[getItemAttribute (pb, "addon")]
    
    if flyAdd then
        if getItemAttribute(pb, "addon") > 1 then
            doSetCreatureOutfit(pk, {lookType = getItemAttribute (pb, "addon")}, -1)
        end
    elseif rideAdd then
        if getItemAttribute(pb, "addon") > 1 then
            doSetCreatureOutfit(pk, {lookType = getItemAttribute (pb, "addon")}, -1)
        end
    end
    
end

function doUp(cid, summon, move)
                     local pokeName = getItemAttribute(getPlayerSlotItem(cid, 8).uid, "poke")
                     local ditto = getItemAttribute(getPlayerSlotItem(cid, 8).uid, "copyName")
                          if ditto and ditto ~= "" then
                             pokeName = ditto
                          end
                     local outfit = getPokemonOutfitToSkill(pokeName)
                     local speed = getPokemonSpeedToSkill(pokeName)
                     addEvent(doRemoveCreature, 10, summon)
                     doSetCreatureOutfit(cid, {lookType = outfit + 351}, -1)
                     local outfit = getPokemonOutfitToSkill(pokeName)
                     local speed = getPokemonSpeedToSkill(pokeName)
                     addEvent(doRemoveCreature, 10, summon)
        local pb = getPlayerSlotItem(cid, 8).uid
        
        if getItemAttribute(pb, "addon") < 1 then
                     doSetCreatureOutfit(cid, {lookType = outfit + 351}, -1)
        else
            doSetCreatureOutfit(cid, {lookType = flysAddon[getItemAttribute (pb, "addon")][1]}, -1)
        end
                     doChangeSpeed(cid, -getCreatureSpeed(cid))
                     doChangeSpeed(cid, speed)

                     if #getCreatureSummons(cid) > 1 and getPlayerStorageValue(cid, 212124) <= 0 then     --alterado v1.6
                       if getPlayerStorageValue(cid, 637501) == -2 or getPlayerStorageValue(cid, 637501) >= 1 then  
                          BackTeam(cid)       
                       end
                     end
                    
                    if move == "ride" then 
                     setPlayerStorageValue(cid, orderTalks["ride"].storage, 1)
                    elseif move == "fly" then
                     setPlayerStorageValue(cid, orderTalks["fly"].storage, 1)
                    end
                    setPokemonGhost(cid)
                    
                    doPlayerSendCancel(cid, '12//,hide') --alterado v1.7
    
end


function getCylinderTiles(pos, cilinderSize) -- By SmiX
local position = pos
local c = cilinderSize
local pos = {}
for i=-c, c do
        for j=-c, c do
                local posEffect = {x=position.x+i,y=position.y+j,z=position.z}
                  table.insert(pos, posEffect)
        end
end
   return pos
end

function recheck(sid, skill, pos)
    if not isCreature(sid) or not isCreature(getCreatureMaster(sid)) then return end
    if not isUsingOrder(sid) then return true end
    local cid = getCreatureMaster(sid)

    if skill == "cut" then

        local item = getTileItemById(pos, 2767)
        if not item or item.uid <= 0 then return true end
        
        doCreatureSay(sid, "CUT!", TALKTYPE_MONSTER)
        doSendMagicEffect(getThingPos(item.uid), EFFECT_CUT)
        doTransformItem(item.uid, 6216)
        local function growRock()
            doTransformItem(getTileItemById(pos, 6216).uid, 2767)
            end
        addEvent(growRock, tempoPraVoltarAoNormal * 1000)
  
    elseif skill == "rock" then

        local item = getTileItemById(pos, 1285)
        if not item or item.uid <= 0 then return true end
        
        doCreatureSay(sid, "ROCK SMASH!", TALKTYPE_MONSTER)
        doSendMagicEffect(getThingPos(item.uid), EFFECT_DIG)
        doTransformItem(item.uid, 3610)
            local function growRock()
            doTransformItem(getTileItemById(pos, 3610).uid, 1285)
            end
        addEvent(growRock, tempoPraVoltarAoNormal * 1000)
        
 elseif skill == "headbutt" then  --alterado v1.6

    local item = getTileItemById(pos, 2707)    --id do item   arvore normal
        if not item or item.uid <= 0 then return true end
            
    local master = getCreatureMaster(sid)
    local array = {}                           
    local lvl = {25, 40, 60, 80, 150, 1000} --lvls

    for i = 1, #lvl do
        if getPlayerLevel(master) <= lvl then
           array = headbutt[lvl]
           break
        end
    end 
    local rand = array[math.random(#array)]
    for j = 1, rand[2] do        
        local poke = doCreateMonster(rand[1] , getClosestFreeTile(sid, pos))
        --doCreatureSay(sid, rand[1], TALKTYPE_MONSTER)
    end
    doCreatureSay(sid, "HEADBUTT!", TALKTYPE_MONSTER)
    doSendMagicEffect(getThingPos(item.uid), EFFECT_DIG)
    doTransformItem(item.uid, 2702)  --id do item   arvore quebrada
    local function growHead()
          doTransformItem(getTileItemById(pos, 2702).uid, 2707) --id do item  arvore quebrada, arvore normal
    end
    addEvent(growHead, choose(5, 8, 10, 15) * 60 * 1000)   --o tempo pra arvore voltar ao normal varia de 5~30min
end 
   doEreaseUsingOrder(sid)   
end

function choose(...) -- by mock
    local arg = {...}
    return arg[math.random(1,#arg)]
end


function getFreeTile(pos)
   if canWalkOnPos(pos, true, false, false, false, false) then
      return pos
   end
   local tmp
   for dir = 0, 7 do
      tmp = getPosByDir(pos, dir)
      if canWalkOnPos(tmp, true, false, false, false, false) then
         return tmp
      end 
   end
   return farWayPos
end

------------------------ marcar a pos do spawn do poke e retornar ela
function doMarkedSpawnPos(cid)
local pos = getThingPos(cid)
    setPlayerStorageValue(cid, storages.markedPosPoke, "x = "..pos.x..", y = "..pos.y..", z = "..pos.z..";")
end

function doMarkedPos(cid, pos)
    setPlayerStorageValue(cid, storages.markedPosPoke, "x = "..pos.x..", y = "..pos.y..", z = "..pos.z..";")
end

function isInPartyAndSharedExperience(cid)
    if isInParty(cid) and isPartyEnabledExp(cid) then
       return true
    end
    return false
end

function getMarkedSpawnPos(cid)
 local l = {}
 local pos = getPlayerStorageValue(cid, storages.markedPosPoke)
 local strPos = "x = (.-), y = (.-), z = (.-);"
   for a, b, c in pos:gmatch(strPos) do
      l = {x = tonumber(a), y = tonumber(b), z = tonumber(c)}
   end
   return l
end

function doComparePositions(position, positionEx)
return position.x == positionEx.x and position.y == positionEx.y and position.z == positionEx.z
end
------------------------ marcar a pos do spawn do poke e retornar ela

function doPlayerAddPoke(cid, pokeName, ball, unique)
    local ballid = pokeballs[ball]
    local send = false

    if not ballid then
        return print("doPlayerAddPoke: Não foi encontrada a pokebola: "..ball)
    end

    if isUseIconSystem(cid) then
        id = pokeballs[string.lower(pokeName)].on
    else
        id = ballid.on
    end

    if (getPlayerFreeCap(cid) <= 1 and not isInArray({5, 6}, getPlayerGroupId(cid))) or not hasSpaceInContainer(getPlayerSlotItem(cid, 3).uid) then
        item = doCreateItemEx(id)
        send = true
    else
        item = addItemInFreeBag(getPlayerSlotItem(cid, 3).uid, id, 1)
    end

    doItemSetAttribute(item, "health", getPokemonHealth(pokeName))
    doItemSetAttribute(item, "maxHealth", getPokemonHealth(pokeName))
    doItemSetAttribute(item, "pokeName", doCorrectString(pokeName))
    doItemSetAttribute(item, "ballEffe", ball)

    if send then
        doPlayerSendMailByName(getCreatureName(cid), item, 1)
        doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Você já está segurando seis pokebolas, o seu novo pokemon foi enviado para o CP.")
    end
end

function hasSpaceInContainer(container)                --alterado v1.6
if not isContainer(container) then return false end
if getContainerSize(container) < getContainerCap(container) then return true end

for slot = 0, (getContainerSize(container)-1) do
    local item = getContainerItem(container, slot)
    if isContainer(item.uid) then
       if hasSpaceInContainer(item.uid) then
          return true
       end
    end
end
return false
end

function doSendEffect(cid, effe)
if not isCreature(cid) then return true end
   doSendMagicEffect(getThingPos(cid), effe)  
end

function doSendEffectAndText(cid, effe, text, color)
if not isCreature(cid) then return true end
if not color then color = 215 end
   doSendEffect(cid, effe)
   if text and text ~= "" then
      doSendAnimatedText(getThingPos(cid), text, color) 
   end
end

function setCreatureVisibility(cid, vis)
    if not isCreature(cid) then return true end
    if vis then
        doAddCondition(cid, invisiblecondition)
    else
        doRemoveCondition(cid, CONDITION_INVISIBLE)
    end
end

function setCreatureHick(cid, secs, i)
if not isCreature(cid) then return true end
    i = i +1
    local pos2 = getThingPos(cid)
          pos2.x = pos2.x + math.random(1, 4)
          pos2.y = pos2.y + math.random(1, 4)
    if(i < secs) then
      local pos = getPosByDir(pos2, math.random(0, 7))
      local master = getCreatureMaster(cid)
        if(isPlayer(master)) then
           setMoveSummon(master, false)
        end
      doAddCondition(cid, bebo)
      doMovePokeToPos(cid, pos)
      pos = getThingPos(cid)
      pos.y = pos.y -1
      doSendMagicEffect(pos, 31)
      addEvent(setCreatureHick, 1000, cid, secs, i)
    else
       doRemoveCondition(cid, CONDITION_DRUNK)
    end
end

function doRemoveConditionWithSecurity(cid, cond)
if not isCreature(cid) then return true end
         doRemoveCondition(cid, cond)
end

function doCanAttackOther(cid, target)

setPlayerStorageValue(cid, storages.teamRed, 1)
setPlayerStorageValue(target, storages.teamBlue, 1)

end

function isInDuel(cid)
if not isCreature(cid) then return false end
   if getPlayerStorageValue(cid, storages.isInDuel) == 1 then
      return true 
    end
   return false
end

-------------- pokedex
function getPokemonVitalityD(name)
    if not pokes[name] then return false end
    return pokes[name].vitality
end

function getPokemonAttackD(name)
    if not pokes[name] then return false end
    return pokes[name].offense
end

function getPokemonDefenseD(name)
    if not pokes[name] then return false end
    return pokes[name].defense
end

function getPokemonSpAttackD(name)
    if not pokes[name] then return false end
    return pokes[name].specialattack
end

function getPokemonLevelD(name)
    if not pokes[name] then return false end
    if pokes[name].level <= 1 then
        return 5
    end
    return pokes[name].level
end

function getPokemonPortraitD(name)
    if not pokes[name] then return false end
    return pokes[name].portrait
end

function getPokemonType1D(name)
    if not pokes[name] then return "normal" end
    return pokes[name].type
end

function getPokemonType2D(name)
    if not pokes[name] or not pokes[name].type2 then return false end
    return pokes[name].type2
end

function getPokemonHealthD(name)                
    if not pokes[name] then return false end
    return getMonsterInfo(name).healthMax
end

function getPokemonExperienceD(name)
    if not pokes[name] then return false end
    return getMonsterInfo(name).experience
end

function getPokemonCatchedStorage(name)
    if not pokes[name] then return false end
    return getMonsterInfo(name).lookCorpse
end

function getPokemonCorpse(name)
    if not pokes[name] then return false end
    return getMonsterInfo(name).lookCorpse
end

 

 

 

 

 

configuration : 

 

  Citar

useOTClient = true  -- coloque false caso n for usar o OTClient!!!  --alterado v1.7

useKpdoDlls = true -- coloque true pra usar as barras de cooldown.
intervalToRegrowBushAndStones = 15 -- this also affects dig (in seconds) / isso afeta dig também (em segundos)
nurseHealsOnlyInPZ = true -- true = precisa estar em pz pra falar com a nurse
accountManagerOutfit = {lookType = 304, lookHead = 1, lookBody = 1, lookLegs = 1, lookFeet = 1}
accountManagerRandomPokemonOutfit = true -- se true, quando o acc manager logar, vai ter uma outfit de pokemon aleatoria
reloadHighscoresWhenUsingPc = true -- talvez dê lag, lembrando que tem uma opção no config.lua que indica o intervalo do update das highscores
backupPos = {x = 4, y = 3, z = 10} -- alguma pos para criar monstros quando tentar sair do fly/ride/surf em lugares que não são muito espaçosos
nurseHealsPokemonOut = true
maximumBoost = 200
boost_rate = 2.5
catchMakesPokemonHappier = true
dittoCopiesStatusToo = true
dittoBonus = 1 
wildBeforeNames = false
hideBoost = false                                                          
showBoostSeparated = true
canFishWhileSurfingOrFlying = false
allEvolutionsCanBeInduzedByStone = true
evolutionByStoneRequireLevel = true
PlayerSpeed = 320
attackRate = 0.5
specialoffenseRate = 3.55
levelFactor = 1
defenseRate = 1
playerDamageReduction = 0.30
summonReduction = 1
generalSpecialAttackReduction = 1
summonSpecialDamageReduction = 0
vitReductionForWild = 1    -- 1 means that nothing will change, 0.5 means that wild pokemon hp will drop by half
speedRate = 1
wildEvolveChance = 1000
pokemonExpPerLevelRate = 0
baseExpRate = 10
generalExpRate = 10
HPperVITwild = 13
HPperVITsummon = 11
baseNurseryHappiness = 500
baseNurseryHunger = -1
minHappyToEvolve = 0
maxHappyToEvolve = 500
happyLostOnDeath = 0
happyGainedOnEvolution = 500
happinessRate = {
[5] = {rate = 1.5, effect = 183, n = getConfigValue(PokemonStageVeryHappy)},
[4] = {rate = 1.2, effect = 170, n = getConfigValue(PokemonStageHappy)},
[3] = {rate = 1.0, effect = 182, n = getConfigValue(PokemonStageOK)},
[2] = {rate = 0.7, effect = 169, n = getConfigValue(PokemonStageSad)},
[1] = {rate = 0.4, effect = 168, n = getConfigValue(PokemonStageMad)}}

specialabilities = {
["rock smash"] = {"Shiny Magcargo", "Shiny Sandslash", "Shiny Rhydon", "Nidoking", "Nidoqueen", "Dragonite", "Salamence", "Shiny Salamence", "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", "Snubbull", "Granbull", "Sudowoodo", "Gligar", "Scizor", "Heracross", "Sneasel", "Ursaring", "Teddiursa", "Slugma", "Magcargo", "Piloswine", "Swinub", "Corsola", "Phanpy", "Donphan", "Tyrogue", "Hitmontop", "Miltank", "Blissey", "Tyranitar", "Pupitar"},
["cut"] = {"Shiny Magcargo", "Shiny Crobat", "Shiny Weezing", "Shiny Sandslash", "Kabutops", "Raticate", "Bulbasaur", "Ivysaur", "Venusaur", "Charmeleon", "Charizard", "Sandshrew", "Sandslash", "Gloom", "Vileplume", "Paras", "Parasect", "Meowth", "Persian", "Bellsprout", "Weepinbell", "Victreebel", "Farfetch'd", "Krabby", "Kingler", "Exeggutor", "Tropius", "Cubone", "Marowak", "Tangela", "Scyther", "Pinsir", "Shiny Raticate", "Shiny Venusaur", "Shiny Charizard", "Shiny Vileplume", "Shiny Paras", "Shiny Parasect", "Shiny Farfetch'd", "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"},
["light"] = {"Shiny Lanturn", "Shiny Xatu", "Shiny Magmortar", "Shiny Electivire", "Electivire", "Shiny Espeon", "Shiny Electrode", "Abra", "Kadabra", "Alakazam", "Magnemite", "Magneton", "Magnezone", "Drowzee", "Hypno", "Voltorb", "Electrode", "Mrmime", "Electabuzz", "Jolteon", "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"}, 
["digholes"] = {"468", "481", "483"},
["ghostwalk"] = {"Shiny Abra", "Gastly", "Haunter", "Gengar", "Shiny Gengar", "Misdreavus"},
["dig"] = {"Shiny Magcargo", "Shiny Lanturn", "Poliwrath", "Miltank", "Shiny Sandslash", "Shiny Dodrio", "Shiny Umbreon", "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", "Snubbull", "Granbull", "Heracross", "Dunsparce", "Sneasel", "Teddiursa", "Ursaring", "Piloswine", "Hitmontop", "Larvitar", "Pupitar", "Tyranitar"},
["blink"] = {"Shiny Xatu", "Exeggutor", "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"},
["teleport"] = {"Shiny Xatu", "Jynx", "Shiny Jynx", "Slowking", "Slowbro", "Exeggutor", "Shiny Mr. Mime", 'Mew', 'Mewtwo', 'Abra', 'Kadabra', 'Alakazam', 'Drowzee', 'Hypno', 'Mr. Mime', 'Porygon', 'Shiny Abra', 'Shiny Alakazam', 'Shiny Hypno', 'Porygon2'},
["fly"] = {"Flygon", "Swellow", "Altaria", "Shiny Stantler","Venomoth", "Shiny Crobat", "Tropius", "Noctowl", "Dragonair", "Shiny Dragonair", "Porygon", "Aerodactyl", "Salamence", "Shiny Salamence", "Dragonite", "Charizard", "Pidgeot", "Fearow", "Zapdos", "Moltres", "Articuno", "Mew", "Mewtwo", "Shiny Dragonite", "Shiny Charizard", "Shiny Pidgeot", "Shiny Fearow", "Porygon2", "Skarmory", "Crobat", "Scyther", "Shiny Scyther", "Shiny Venomoth", "Gengar", "Shiny Gengar", "Heracross", "Farfetch'd", "Shiny Farfetch'd", "Xatu"},
["ride"] = {"Absol", "Manectric", "Shiny Meganium", "Girafarig", "Shiny Dodrio", "Absol", "Metagross", "Shiny Ninetales", "Shiny Onix", "Venusaur", "Ninetales", "Arcanine", "Ponyta", "Rapidash", "Doduo", "Dodrio", "Onix", "Rhyhorn", "Tauros", "Shiny Venusaur", "Shiny Arcanine", "Steelix", "Houndoom", "Meganium", "Bayleef", "Stantler", "Mareep", "Piloswine"},
["surf"] = {"Swampert", "Sealeo", "Walrein","Crawdaunt", "Lombre", "Ludicolo", 'Poliwag', 'Poliwhirl', 'Seaking', 'Milotic', 'Dewgong', 'Wailord', '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"},
["foresight"] = {"Machamp", "Shiny Hitmonchan", "Shiny Hitmonlee", "Shiny Hitmontop", "Hitmontop", "Hitmonlee", "Hitmonchan"},
["counter"] = {"Shiny Magcargo", "Shiny Lanturn", "Shiny Magmar", "Shiny Magmortar", "Shiny Electivire", "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"}, 
["levitate"] = {"Gengar", "Haunter", "Gastly", "Misdreavus", "Weezing", "Koffing", "Unown", "Shiny Gengar", "Shiny Weezing"},
["evasion"] = {"Mega Scizor", "Beedrill", "Shiny Beedrill", "Scyther", "Scizor", "Shiny Scizor","Hitmonlee", "Hitmonchan", "Hitmontop", "Tyrogue", "Shiny Scyther", "Shiny Hitmonchan", "Shiny Hitmonlee", "Shiny Hitmontop", "Ledian", "Ledyba", "Sneasel"},
["control mind"] = {'Haunter', 'Gengar', 'Tentacruel', 'Alakazam', 'Shiny Tentacruel', 'Shiny Gengar', 'Shiny Alakazam', 'Slowking'},
["transform"] = {"Ditto"},
["levitate_fly"] = {"Gengar", "Shiny Gengar", "Raichu", "Shiny Raichu"},
["Illusion"] = {"Misdreavus, Stantler, Shiny Stantler"},
["headbutt"] = {"Golem", "Shiny Charizard"},
}              --alterado v1.9 /\  novos shinys da pxg adicionados em algumas tabelas..

flys = {
["Moltres"] = {229, 3000}, -- moltres
["Articuno"] = {230, 3000}, -- artic
["Zapdos"] = {224, 3000}, -- zapdos
["Mew"] = {232, 3000}, -- 1000
["Mewtwo"] = {233, 3000},-- two
["Dragonite"] = {221, 800},-- nite
["Salamence"] = {1274, 800},-- nite
["Shiny Salamence"] = {1301, 1000},-- nite
["Pidgeot"] = {222, 800}, -- geot
["Fearow"] = {226, 600}, -- fearow
["Aerodactyl"] = {227, 1000}, -- aero
["Charizard"] = {216, 600}, -- chari
["Porygon"] = {316, 600}, -- porygon
["Shiny Pidgeot"] = {996, 1000}, -- Shiny geot
["Shiny Fearow"] = {997, 800}, -- Shiny fearow          --alterado v1.5
["Shiny Charizard"] = {295, 1000}, -- Shiny chari
["Shiny Crobat"] = {1149, 1000},
["Porygon2"] = {648, 600}, -- 2
["Skarmory"] = {649, 700}, -- skarmory
["Crobat"] = {652, 600}, -- crobat
["Farfetch'd"] = {1733, 500},
["Shiny Farfetch'd"] = {1121, 1000},
["Shiny Stantler"] = {1229, 1000}, -- 

["Raichu"] = {1732, 600},
["Shiny Raichu"] = {1731, 800},

["Heracross"] = {1125, 600},

["Scyther"] = {1162, 600},
["Shiny Scyther"] = {1161, 800},
["Shiny Venomoth"] = {893, 1000},

["Dragonair"] = {1112, 600},
["Shiny Dragonair"] = {1113, 1000},
["Noctowl"] = {994, 600},

["Venomoth"] = {1233, 600},

["Shiny Gengar"] = {1124, 800},
["Gengar"] = {1123, 600},
["Xatu"] = {1122, 800},

--- 3 geracao
["Altaria"] = {1406, 1406},
["Tropius"] = {1471, 3000}, -- 
["Flygon"] = {1473, 3000}, -- 
["Swellow"] = {1497, 3000}, -- 

}

ridesAddon = {
[2289] = {2288, 600}
}

rides = {
["Tauros"] = {128, 600}, -- tauros
["Ninetales"] = {129, 600}, -- kyuubi
["Rapidash"] = {130, 800}, -- rapid
["Ponyta"] = {131, 500}, -- ponyta
["Rhyhorn"] = {132, 500}, -- rhyhorn
["Arcanine"] = {12, 800}, -- arcan
["Onix"] = {126, 500}, -- onix
["Venusaur"] = {134, 600}, -- venu
["Dodrio"] = {133, 650}, -- dodrio
["Doduo"] = {135, 500}, -- doduo
["Shiny Arcanine"] = {1003, 900}, -- arcan
["Shiny Onix"] = {1737, 800}, -- onix             --alterado v1.5
["Shiny Venusaur"] = {1040, 800}, -- venu
["Steelix"] = {646, 700}, -- steelix
["Meganium"] = {685, 600}, -- meganium
["Bayleef"] = {686, 500}, -- bayleef
["Stantler"] = {687, 500}, -- stantler
["Houndoom"] = {647, 600}, -- houndoom
["Piloswine"] = {689, 600}, -- piloswine
["Mareep"] = {688, 500}, -- marip
["Metagross"] = {1266, 700}, -- Metagross

["Shiny Ninetales"] = {1136, 900}, -- Shiny Ninetales  --alterado v1.9 \/
["Shiny Dodrio"] = {1145, 1000}, -- shiny dodrio
["Shiny Tauros"] = {1181, 1000}, -- shiny tauros
["Shiny Meganium"] = {1178, 800}, -- shiny meganium
["Girafarig"] = {1227, 600}, -- 

["Absol"] = {1468, 600}, -- 
["Manectric"] = {1467, 600}, -- 

}

surfs = {
["Poliwag"] = {lookType=278, speed = 10},
["Poliwhirl"] = {lookType=137, speed = 40},
["Seaking"] = {lookType=269, speed = 40},
["Dewgong"] = {lookType=183, speed = 80},
["Blastoise"] = {lookType=184, speed = 80},
["Tentacruel"] = {lookType=185, speed = 80},
["Lapras"] = {lookType=186, speed = 80},
["Gyarados"] = {lookType=187, speed = 80},
["Omastar"] = {lookType=188, speed = 80},
["Kabutops"] = {lookType=189, speed = 80},
["Poliwrath"] = {lookType=190, speed = 80},
["Vaporeon"] = {lookType=191, speed = 50},
["Staryu"] = {lookType=266, speed = 30},
["Starmie"] = {lookType=267, speed = 70},
["Goldeen"] = {lookType=268, speed = 20},
["Seadra"] = {lookType=270, speed = 50},
["Golduck"] = {lookType=271, speed = 70},
["Squirtle"] = {lookType=273, speed = 20},
["Wartortle"] = {lookType=275, speed = 40},
["Tentacool"] = {lookType=277, speed = 20},
["Snorlax"] = {lookType=300, speed = 80},
----------------Shiny----------------------
["Shiny Blastoise"] = {lookType=658, speed = 600},
["Shiny Tentacruel"] = {lookType=1014, speed = 600},
["Shiny Gyarados"] = {lookType=1030, speed = 600},
["Shiny Vaporeon"] = {lookType=1032, speed = 600},        --alterado v1.6
["Shiny Seadra"] = {lookType=1025, speed = 600},
["Shiny Tentacool"] = {lookType=1013, speed = 600},
["Shiny Snorlax"] = {lookType=1035, speed = 600},
["Shiny Feraligatr"] = {lookType=1175, speed = 600},
----------------Johto----------------------
["Mantine"] = {lookType=636, speed = 80},
["Totodile"] = {lookType=637, speed = 20},
["Croconow"] = {lookType=638, speed = 40},
["Feraligatr"] = {lookType=645, speed = 80},
["Marill"] = {lookType=639, speed = 30},
["Azumarill"] = {lookType=642, speed = 40},
["Quagsire"] = {lookType=643, speed = 70},
["Kingdra"] = {lookType=644, speed = 100},
["Octillery"] = {lookType=641, speed = 70},
["Wooper"] = {lookType=640, speed = 30},
["Milotic"] = {lookType=1290, speed = 1000},
["Wailord"] = {lookType=1305, speed = 1000},

["Lombre"] = {lookType=1470, speed = 1000},
["Ludicolo"] = {lookType=1469, speed = 1000},
["Crawdaunt"] = {lookType=1479, speed = 1000},

["Sealeo"] = {lookType=1480, speed = 1000},
["Walrein"] = {lookType=1481, speed = 1000}, 
["Swampert"] = {lookType=1495, speed = 1000}, 
}

--------
pokeballs = {
["magu"] =      {effect = 316, on = 16181, use = 16232, off = 16193, all = {16181, 16232, 16193}},
["sora"] =      {effect = 319, on = 16182, use = 16233, off = 16194, all = {16182, 16233, 16194}},
["yume"] =      {effect = 322, on = 16183, use = 16234, off = 16195, all = {16183, 16234, 16195}},
["dusk"] =      {effect = 325, on = 16184, use = 16235, off = 16196, all = {16184, 16235, 16196}},
["fast"] =      {effect = 328, on = 16185, use = 16236, off = 16197, all = {16185, 16236, 16197}},
["heavy"] =      {effect = 331, on = 16186, use = 16237, off = 16198, all = {16186, 16237, 16198}},
["tale"] =      {effect = 334, on = 16187, use = 16238, off = 16199, all = {16187, 16238, 16199}},
["moon"] =      {effect = 337, on = 16188, use = 16239, off = 16200, all = {16188, 16239, 16200}},
["net"] =      {effect = 340, on = 16189, use = 16240, off = 16201, all = {16189, 16240, 16201}},
["premier"] =      {effect = 346, on = 16191, use = 16241, off = 16202, all = {16190, 16241, 16202}},
["tinker"] =      {effect = 349, on = 16192, use = 16242, off = 16203, all = {16191, 16242, 16203}},

["shinymagu"] =      {effect = 316, on = 16204, use = 16243, off = 16220, all = {16204, 16243, 16220}},
["shinysora"] =      {effect = 319, on = 16205, use = 16244, off = 16221, all = {16205, 16244, 16221}},
["shinyyume"] =      {effect = 322, on = 16206, use = 16245, off = 16222, all = {16206, 16245, 16222}},
["shinydusk"] =      {effect = 325, on = 16207, use = 16246, off = 16223, all = {16207, 16246, 16223}},
["shinyfast"] =      {effect = 328, on = 16208, use = 16247, off = 16224, all = {16208, 16247, 16224}},
["shinyheavy"] =      {effect = 331, on = 16209, use = 16248, off = 16225, all = {16209, 16248, 16225}},
["shinytale"] =      {effect = 334, on = 16210, use = 16249, off = 16226, all = {16210, 16249, 16226}},
["shinymoon"] =      {effect = 337, on = 16211, use = 16250, off = 16227, all = {16211, 16250, 16227}},
["shinynet"] =      {effect = 340, on = 16212, use = 16251, off = 16229, all = {16212, 16251, 16229}},
["shinypremier"] =      {effect = 346, on = 16214, use = 16252, off = 16228, all = {16214, 16252, 16228}},
["shinytinker"] =      {effect = 349, on = 16215, use = 16253, off = 16230, all = {16215, 16253, 16230}},

["poke"] =      {effect = 188, on = 11826, use = 11827, off = 11828, all = {11826, 11827, 11828}},
["ultra"] =       {effect = 188, on = 11829, use = 11830, off = 11831, all = {11829, 11830, 11831}},
["super"] =       {effect = 190, on = 11835, use = 11836, off = 11837, all = {11835, 11836, 11837}},
["great"] =       {effect = 189, on = 11832, use = 11833, off = 11834, all = {11832, 11833, 11834}},
["saffari"] =     {effect = 195, on = 10975, use = 10976, off = 10977, all = {10975, 10976, 10977}},    --alterado v1.9
["master"] =        {effect = 196, on = 12826, use = 12827, off = 12828, all = {12826, 12827, 12828}},
["shinypoke"] = {effect = 188, on = 11737, use = 11738, off = 11739, all = {11737, 11738, 11739}},
["shinygreat"] =  {effect = 189, on = 11740, use = 11741, off = 11742, all = {11740, 11741, 11742}},
["shinysuper"] =  {effect = 190, on = 11743, use = 11744, off = 11745, all = {11743, 11744, 11745}},
["shinyultra"] =  {effect = 188, on = 11746, use = 11747, off = 11748, all = {11746, 11747, 11748}},
["shinysaffari"] = {effect = 195, on = 12621, use = 12622, off = 12623, all = {12621, 12622, 12623}},   --alterado v1.9
["shinymaster"] =   {effect = 196, on = 12829, use = 12830, off = 12831, all = {12829, 12830, 12831}},
["gengar"] =      {effect = 188, on = 12861, use = 12862, off = 12863, all = {12861, 12862, 12863}},
["abra"] =      {effect = 188, on = 12864, use = 12865, off = 12866, all = {12864, 12865, 12866}},
["aerodactyl"] =      {effect = 188, on = 12867, use = 12868, off = 12869, all = {12867, 12868, 12869}},
["aipom"] =      {effect = 188, on = 12870, use = 12871, off = 12872, all = {12870, 12871, 12872}},
["aipom"] =      {effect = 188, on = 12870, use = 12871, off = 12872, all = {12870, 12871, 12872}},
["alakazam"] =      {effect = 188, on = 12873, use = 12874, off = 12875, all = {12873, 12874, 12875}},
["ampharos"] =      {effect = 188, on = 12876, use = 12877, off = 12878, all = {12876, 12877, 12878}},
["arbok"] =      {effect = 188, on = 12879, use = 12880, off = 12881, all = {12879, 12880, 12881}},
["shiny arbok"] =      {effect = 188, on = 12879, use = 12880, off = 12881, all = {12879, 12880, 12881}},
["arcanine"] =      {effect = 188, on = 12882, use = 12883, off = 12884, all = {12882, 12883, 12884}},
["ariados"] =      {effect = 188, on = 12885, use = 12886, off = 12887, all = {12885, 12886, 12887}},
["azumarill"] =      {effect = 188, on = 12888, use = 12889, off = 12890, all = {12888, 12889, 12890}},
["bayleef"] =      {effect = 188, on = 12891, use = 12892, off = 12893, all = {12891, 12892, 12893}},
["bellossom"] =      {effect = 188, on = 12894, use = 12895, off = 12896, all = {12894, 12895, 12896}},
["bellsprout"] =      {effect = 188, on = 12897, use = 12898, off = 12899, all = {12897, 12898, 12899}},
["blastoise"] =      {effect = 188, on = 12900, use = 12901, off = 12902, all = {12900, 12901, 12902}},
["blissey"] =      {effect = 188, on = 12903, use = 12904, off = 12905, all = {12903, 12904, 12905}},
["Shiny bulbasaur"] =      {effect = 188, on = 12906, use = 12907, off = 12908, all = {12906, 12907, 12908}},
["bulbasaur"] =      {effect = 188, on = 12906, use = 12907, off = 12908, all = {12906, 12907, 12908}},
["butterfree"] =      {effect = 188, on = 12909, use = 12910, off = 12911, all = {12909, 12910, 12911}},
["caterpie"] =      {effect = 188, on = 12912, use = 12913, off = 12914, all = {12912, 12913, 12914}},
["shiny caterpie"] =      {effect = 188, on = 12912, use = 12913, off = 12914, all = {12912, 12913, 12914}},
["celebi"] =      {effect = 188, on = 12915, use = 12916, off = 12917, all = {12915, 12916, 12917}},
["Shiny chansey"] =      {effect = 188, on = 12918, use = 12919, off = 12920, all = {12918, 12919, 12920}},
["chansey"] =      {effect = 188, on = 12918, use = 12919, off = 12920, all = {12918, 12919, 12920}},
["charizard"] =      {effect = 188, on = 12921, use = 12922, off = 12923, all = {12921, 12922, 12923}},
["shiny charmander"] =      {effect = 188, on = 12924, use = 12925, off = 12926, all = {12924, 12925, 12926}},
["charmander"] =      {effect = 188, on = 12924, use = 12925, off = 12926, all = {12924, 12925, 12926}},
["shiny charmeleon"] =      {effect = 188, on = 12927, use = 12928, off = 12929, all = {12927, 12928, 12929}},
["charmeleon"] =      {effect = 188, on = 12927, use = 12928, off = 12929, all = {12927, 12928, 12929}},
["chikorita"] =      {effect = 188, on = 12930, use = 12931, off = 12932, all = {12930, 12931, 12932}},
["chinchou"] =      {effect = 188, on = 12933, use = 12934, off = 12935, all = {12933, 12934, 12935}},
["cyndaquil"] =      {effect = 188, on = 12936, use = 12937, off = 12938, all = {12936, 12937, 12938}},
["clefable"] =      {effect = 188, on = 12939, use = 12940, off = 12941, all = {12939, 12940, 12941}},
["shiny clefable"] =      {effect = 188, on = 12939, use = 12940, off = 12941, all = {12939, 12940, 12941}},
["clefairy"] =      {effect = 188, on = 12942, use = 12943, off = 12944, all = {12942, 12943, 12944}},
["shiny clefairy"] =      {effect = 188, on = 12942, use = 12943, off = 12944, all = {12942, 12943, 12944}},
["cleffa"] =      {effect = 188, on = 12945, use = 12946, off = 12947, all = {12945, 12946, 12947}},
["shiny cleffa"] =      {effect = 188, on = 12945, use = 12946, off = 12947, all = {12945, 12946, 12947}},
["cloyster"] =      {effect = 188, on = 12948, use = 12949, off = 12950, all = {12948, 12949, 12950}},
["shiny cloyster"] =      {effect = 188, on = 12948, use = 12949, off = 12950, all = {12948, 12949, 12950}},
["corsola"] =      {effect = 188, on = 12951, use = 12952, off = 12953, all = {12951, 12952, 12953}},
["crobat"] =      {effect = 188, on = 12954, use = 12955, off = 12956, all = {12954, 12955, 12956}},
["croconaw"] =      {effect = 188, on = 12957, use = 12958, off = 12959, all = {12957, 12958, 12959}},
["cubone"] =      {effect = 188, on = 12960, use = 12961, off = 12962, all = {12960, 12961, 12962}},
["delibird"] =      {effect = 188, on = 12963, use = 12964, off = 12965, all = {12963, 12964, 12965}},
["shiny dewgong"] =      {effect = 188, on = 12966, use = 12967, off = 12968, all = {12966, 12967, 12968}},
["dewgong"] =      {effect = 188, on = 12966, use = 12967, off = 12968, all = {12966, 12967, 12968}},
["seel"] =      {effect = 188, on = 14329, use = 14330, off = 14331, all = {14329, 14330, 14330}}, -- seel precisa do icone
["shiny seel"] =      {effect = 188, on = 14329, use = 14330, off = 14331, all = {14329, 14330, 14330}}, -- seel precisa do icone
["diglett"] =      {effect = 188, on = 12969, use = 12970, off = 12971, all = {12969, 12970, 12971}},
["shiny diglett"] =      {effect = 188, on = 12969, use = 12970, off = 12971, all = {12969, 12970, 12971}},
["ditto"] =      {effect = 188, on = 12972, use = 12973, off = 12974, all = {12972, 12973, 12974}},
["shiny ditto"] =      {effect = 188, on = 15647, use = 15648, off = 15649, all = {15647, 15648, 15649}},
["dodrio"] =      {effect = 188, on = 12975, use = 12976, off = 12977, all = {12975, 12976, 12977}},
["shiny doduo"] =      {effect = 188, on = 12978, use = 12979, off = 12980, all = {12978, 12979, 12980}},
["doduo"] =      {effect = 188, on = 12978, use = 12979, off = 12980, all = {12978, 12979, 12980}},
["donphan"] =      {effect = 188, on = 12981, use = 12982, off = 12983, all = {12981, 12982, 12983}},
["dragonair"] =      {effect = 188, on = 12984, use = 12985, off = 12986, all = {12984, 12985, 12986}},
["dragonite"] =      {effect = 188, on = 12987, use = 12988, off = 12989, all = {12987, 12988, 12989}},
["dratini"] =      {effect = 188, on = 12990, use = 12991, off = 12992, all = {12990, 12991, 12992}},
["shiny drowzee"] =      {effect = 188, on = 12993, use = 12994, off = 12995, all = {12993, 12994, 12995}},
["drowzee"] =      {effect = 188, on = 12993, use = 12994, off = 12995, all = {12993, 12994, 12995}},
["shiny dugtrio"] =      {effect = 188, on = 12996, use = 12997, off = 12998, all = {12996, 12997, 12998}},
["dugtrio"] =      {effect = 188, on = 12996, use = 12997, off = 12998, all = {12996, 12997, 12998}},
["dunsparce"] =      {effect = 188, on = 12999, use = 13000, off = 13001, all = {12999, 13000, 13001}},
["eevee"] =      {effect = 188, on = 13002, use = 13003, off = 13004, all = {13002, 13003, 13004}},
["ekans"] =      {effect = 188, on = 13005, use = 13006, off = 13007, all = {13005, 13006, 13007}},
["shiny ekans"] =      {effect = 188, on = 13005, use = 13006, off = 13007, all = {13005, 13006, 13007}},
["electabuzz"] =      {effect = 188, on = 13008, use = 13009, off = 13010, all = {13008, 13009, 13010}},
["electrode"] =      {effect = 188, on = 13011, use = 13012, off = 13013, all = {13011, 13012, 13013}},
["elekid"] =      {effect = 188, on = 13014, use = 13015, off = 13016, all = {13014, 13015, 13016}},
["entei"] =      {effect = 188, on = 13017, use = 13018, off = 13019, all = {13017, 13018, 13019}},
["espeon"] =      {effect = 188, on = 13020, use = 13021, off = 13022, all = {13020, 13021, 13022}},
["shiny exeggcute"] =      {effect = 188, on = 13023, use = 13024, off = 13025, all = {13023, 13024, 13025}},
["exeggcute"] =      {effect = 188, on = 13023, use = 13024, off = 13025, all = {13023, 13024, 13025}},
["shiny exeggutor"] =      {effect = 188, on = 13026, use = 13027, off = 13028, all = {13026, 13027, 13028}},
["exeggutor"] =      {effect = 188, on = 13026, use = 13027, off = 13028, all = {13026, 13027, 13028}},
["farfetch'd"] =      {effect = 188, on = 13029, use = 13030, off = 13031, all = {13029, 13030, 13031}},
["fearow"] =      {effect = 188, on = 13032, use = 13033, off = 13034, all = {13032, 13033, 13034}},
["feraligatr"] =      {effect = 188, on = 13035, use = 13036, off = 13037, all = {13035, 13036, 13037}},
["flaaffy"] =      {effect = 188, on = 13038, use = 13039, off = 13040, all = {13038, 13039, 13040}},
["forretress"] =      {effect = 188, on = 13041, use = 13042, off = 13043, all = {13041, 13042, 13043}},
["furret"] =      {effect = 188, on = 13044, use = 13045, off = 13046, all = {13044, 13045, 13046}},
["gastly"] =      {effect = 188, on = 13047, use = 13048, off = 13049, all = {13047, 13048, 13049}},
["shiny gastly"] =      {effect = 188, on = 13047, use = 13048, off = 13049, all = {13047, 13048, 13049}},
["shiny geodude"] =      {effect = 188, on = 13050, use = 13051, off = 13052, all = {13050, 13051, 13052}},
["geodude"] =      {effect = 188, on = 13050, use = 13051, off = 13052, all = {13050, 13051, 13052}},
["girafarig"] =      {effect = 188, on = 13053, use = 13054, off = 13055, all = {13053, 13054, 13055}},
["gligar"] =      {effect = 188, on = 13056, use = 13057, off = 13058, all = {13056, 13057, 13058}},
["gloom"] =      {effect = 188, on = 13059, use = 13060, off = 13061, all = {13059, 13060, 13061}},
["shiny gloom"] =      {effect = 188, on = 13059, use = 13060, off = 13061, all = {13059, 13060, 13061}},
["golbat"] =      {effect = 188, on = 13623, use = 13624, off = 13625, all = {13623, 13624, 13625}},
["goldeen"] =      {effect = 188, on = 13065, use = 13066, off = 13067, all = {13065, 13066, 13067}},
["shiny goldeen"] =      {effect = 188, on = 13065, use = 13066, off = 13067, all = {13065, 13066, 13067}},
["shiny golduck"] =      {effect = 188, on = 13068, use = 13069, off = 13070, all = {13068, 13069, 13070}},
["golduck"] =      {effect = 188, on = 13068, use = 13069, off = 13070, all = {13068, 13069, 13070}},
["golem"] =      {effect = 188, on = 13071, use = 13072, off = 13073, all = {13071, 13072, 13073}},
["golbat"] =      {effect = 188, on = 13623, use = 13624, off = 13625, all = {13623, 13624, 13625}},
["granbull"] =      {effect = 188, on = 13074, use = 13075, off = 13076, all = {13074, 13075, 13076}},
["graveler"] =      {effect = 188, on = 13077, use = 13078, off = 13079, all = {13077, 13078, 13079}},
["shiny graveler"] =      {effect = 188, on = 13077, use = 13078, off = 13079, all = {13077, 13078, 13079}},
["grimer"] =      {effect = 188, on = 13080, use = 13081, off = 13082, all = {13080, 13081, 13082}},
["growlithe"] =      {effect = 188, on = 13083, use = 13084, off = 13085, all = {13083, 13084, 13085}},
["gyarados"] =      {effect = 188, on = 13086, use = 13087, off = 13088, all = {13086, 13087, 13088}},
["haunter"] =      {effect = 188, on = 13089, use = 13090, off = 13091, all = {13089, 13090, 13091}},
["shiny haunter"] =      {effect = 188, on = 13089, use = 13090, off = 13091, all = {13089, 13090, 13091}},
["heracross"] =      {effect = 188, on = 13092, use = 13093, off = 13094, all = {13092, 13093, 13094}},
["hitmonchan"] =      {effect = 188, on = 13095, use = 13096, off = 13097, all = {13095, 13096, 13097}},
["hitmonlee"] =      {effect = 188, on = 13098, use = 13099, off = 13100, all = {13098, 13099, 13100}},
["hitmontop"] =      {effect = 188, on = 13101, use = 13102, off = 13103, all = {13101, 13102, 13103}},
["hoothoot"] =      {effect = 188, on = 13104, use = 13105, off = 13106, all = {13104, 13105, 13106}},
["hoppip"] =      {effect = 188, on = 13107, use = 13108, off = 13109, all = {13107, 13108, 13109}},
["horsea"] =      {effect = 188, on = 13110, use = 13111, off = 13112, all = {13110, 13111, 13112}},
["houndoom"] =      {effect = 188, on = 13113, use = 13114, off = 13115, all = {13113, 13114, 13115}},
["houndour"] =      {effect = 188, on = 13116, use = 13117, off = 13118, all = {13116, 13117, 13118}},
["hypno"] =      {effect = 188, on = 13119, use = 13120, off = 13121, all = {13119, 13120, 13121}},
["igglybuff"] =      {effect = 188, on = 13122, use = 13123, off = 13124, all = {13122, 13123, 13124}},
["shiny igglybuff"] =      {effect = 188, on = 13122, use = 13123, off = 13124, all = {13122, 13123, 13124}},
["ivysaur"] =      {effect = 188, on = 13125, use = 13126, off = 13127, all = {13125, 13126, 13127}},
["shiny ivysaur"] =      {effect = 188, on = 13125, use = 13126, off = 13127, all = {13125, 13126, 13127}},
["jigglypuff"] =      {effect = 188, on = 13128, use = 13129, off = 13130, all = {13128, 13129, 13130}},
["shiny jigglypuff"] =      {effect = 188, on = 13128, use = 13129, off = 13130, all = {13128, 13129, 13130}},
["jolteon"] =      {effect = 188, on = 13131, use = 13132, off = 13133, all = {13131, 13132, 13133}},
["jumpluff"] =      {effect = 188, on = 13134, use = 13135, off = 13136, all = {13134, 13135, 13136}},
["jynx"] =      {effect = 188, on = 13137, use = 13138, off = 13139, all = {13137, 13138, 13139}},
["kabuto"] =      {effect = 188, on = 13140, use = 13141, off = 13142, all = {13140, 13141, 13142}},
["kabutops"] =      {effect = 188, on = 13143, use = 13144, off = 13145, all = {13143, 13144, 13145}},
["Shiny kabutops"] =      {effect = 188, on = 17584, use = 13144, off = 13145, all = {17584, 13144, 13145}},
["kadabra"] =      {effect = 188, on = 13146, use = 13147, off = 13148, all = {13146, 13147, 13148}},
["kangaskhan"] =      {effect = 188, on = 13149, use = 13150, off = 13151, all = {13149, 13150, 13151}},
["kingdra"] =      {effect = 188, on = 13152, use = 13153, off = 13154, all = {13152, 13153, 13154}},
["kingler"] =      {effect = 188, on = 13155, use = 13156, off = 13157, all = {13155, 13156, 13157}},
["koffing"] =      {effect = 188, on = 13158, use = 13159, off = 13160, all = {13158, 13159, 13160}},
["shiny koffing"] =      {effect = 188, on = 13158, use = 13159, off = 13160, all = {13158, 13159, 13160}},
["krabby"] =      {effect = 188, on = 13161, use = 13162, off = 13163, all = {13161, 13162, 13163}},
["lanturn"] =      {effect = 188, on = 13164, use = 13165, off = 13166, all = {13164, 13165, 13166}},
["lapras"] =      {effect = 188, on = 13167, use = 13168, off = 13169, all = {13167, 13168, 13169}},
["larvitar"] =      {effect = 188, on = 13170, use = 13171, off = 13172, all = {13170, 13171, 13172}},
["ledian"] =      {effect = 188, on = 13173, use = 13174, off = 13175, all = {13173, 13174, 13175}},
["ledyba"] =      {effect = 188, on = 13176, use = 13177, off = 13178, all = {13176, 13177, 13178}},
["lickitung"] =      {effect = 188, on = 13179, use = 13180, off = 13181, all = {13179, 13180, 13181}},
["shiny lickitung"] =      {effect = 188, on = 13179, use = 13180, off = 13181, all = {13179, 13180, 13181}},
["machamp"] =      {effect = 188, on = 13182, use = 13183, off = 13184, all = {13182, 13183, 13184}},
["shiny machoke"] =      {effect = 188, on = 13185, use = 13186, off = 13187, all = {13185, 13186, 13187}},
["machoke"] =      {effect = 188, on = 13185, use = 13186, off = 13187, all = {13185, 13186, 13187}},
["machop"] =      {effect = 188, on = 13188, use = 13189, off = 13190, all = {13188, 13189, 13190}},
["shiny machop"] =      {effect = 188, on = 13188, use = 13189, off = 13190, all = {13188, 13189, 13190}},
["magby"] =      {effect = 188, on = 13191, use = 13192, off = 13193, all = {13191, 13192, 13193}},
["magcargo"] =      {effect = 188, on = 13194, use = 13195, off = 13196, all = {13194, 13195, 13196}},
["magikarp"] =      {effect = 188, on = 13197, use = 13198, off = 13199, all = {13197, 13198, 13199}},
["magmar"] =      {effect = 188, on = 13200, use = 13201, off = 13202, all = {13200, 13201, 13202}},
["magnemite"] =      {effect = 188, on = 13203, use = 13204, off = 13205, all = {13203, 13204, 13205}},
["shiny magnemite"] =      {effect = 188, on = 13203, use = 13204, off = 13205, all = {13203, 13204, 13205}},
["magneton"] =      {effect = 188, on = 13206, use = 13207, off = 13208, all = {13206, 13207, 13208}},
["mankey"] =      {effect = 188, on = 13209, use = 13210, off = 13211, all = {13209, 13210, 13211}},
["shiny mankey"] =      {effect = 188, on = 13209, use = 13210, off = 13211, all = {13209, 13210, 13211}},
["mantine"] =      {effect = 188, on = 13212, use = 13213, off = 13214, all = {13212, 13213, 13214}},
["mareep"] =      {effect = 188, on = 13215, use = 13216, off = 13217, all = {13215, 13216, 13217}},
["marill"] =      {effect = 188, on = 13218, use = 13219, off = 13220, all = {13218, 13219, 13220}},
["marowak"] =      {effect = 188, on = 13221, use = 13222, off = 13223, all = {13221, 13222, 13223}},
["meganium"] =      {effect = 188, on = 13224, use = 13225, off = 13226, all = {13224, 13225, 13226}},
["meowth"] =      {effect = 188, on = 13227, use = 13228, off = 13229, all = {13227, 13228, 13229}},
["shiny meowth"] =      {effect = 188, on = 13227, use = 13228, off = 13229, all = {13227, 13228, 13229}},
["metapod"] =      {effect = 188, on = 13230, use = 13231, off = 13232, all = {13230, 13231, 13232}},
["shiny metapod"] =      {effect = 188, on = 13230, use = 13231, off = 13232, all = {13230, 13231, 13232}},
["miltank"] =      {effect = 188, on = 13233, use = 13234, off = 13235, all = {13233, 13234, 13235}},
["misdreavus"] =      {effect = 188, on = 13236, use = 13237, off = 13238, all = {13236, 13237, 13238}},
["mr. mime"] =      {effect = 188, on = 13239, use = 13240, off = 13241, all = {13239, 13240, 13241}},
["muk"] =      {effect = 188, on = 13242, use = 13243, off = 13244, all = {13242, 13243, 13244}},
["murkrow"] =      {effect = 188, on = 13245, use = 13246, off = 13247, all = {13245, 13246, 13247}},
["natu"] =      {effect = 188, on = 13248, use = 13249, off = 13250, all = {13248, 13249, 13250}},
["nidoking"] =      {effect = 188, on = 13251, use = 13252, off = 13253, all = {13251, 13252, 13253}},
["shiny nidoran male"] =      {effect = 188, on = 13254, use = 13255, off = 13256, all = {13254, 13255, 13256}},
["nidoran male"] =      {effect = 188, on = 13254, use = 13255, off = 13256, all = {13254, 13255, 13256}},
["nidoran female"] =      {effect = 188, on = 13257, use = 13258, off = 13259, all = {13257, 13258, 13259}},
["shiny nidoran female"] =      {effect = 188, on = 13257, use = 13258, off = 13259, all = {13257, 13258, 13259}},
["nidorina"] =      {effect = 188, on = 13260, use = 13261, off = 13262, all = {13260, 13261, 13262}},
["shiny nidorina"] =      {effect = 188, on = 13260, use = 13261, off = 13262, all = {13260, 13261, 13262}},
["ninetales"] =      {effect = 188, on = 13263, use = 13264, off = 13265, all = {13263, 13264, 13265}},
["nidoqueen"] =      {effect = 188, on = 13266, use = 13267, off = 13268, all = {13266, 13267, 13268}},
["nidorino"] =      {effect = 188, on = 13269, use = 13270, off = 13271, all = {13269, 13270, 13271}},
["shiny nidorino"] =      {effect = 188, on = 13269, use = 13270, off = 13271, all = {13269, 13270, 13271}},
["noctowl"] =      {effect = 188, on = 13272, use = 13273, off = 13274, all = {13272, 13273, 13274}},
["octillery"] =      {effect = 188, on = 13275, use = 13276, off = 13277, all = {13275, 13276, 13277}},
["oddish"] =      {effect = 188, on = 13278, use = 13279, off = 13280, all = {13278, 13279, 13280}},
["omanyte"] =      {effect = 188, on = 13281, use = 13282, off = 13283, all = {13281, 13282, 13283}},
["omastar"] =      {effect = 188, on = 13284, use = 13285, off = 13286, all = {13284, 13285, 13286}},
["onix"] =      {effect = 188, on = 13287, use = 13288, off = 13289, all = {13287, 13288, 13289}},
["parasect"] =      {effect = 188, on = 13290, use = 13291, off = 13292, all = {13290, 13291, 13292}},
["paras"] =      {effect = 188, on = 14326, use = 14327, off = 14328, all = {14326, 14327, 14328}}, -- fazer os icones do paras
["persian"] =      {effect = 188, on = 13293, use = 13294, off = 13295, all = {13293, 13294, 13295}},
["phanpy"] =      {effect = 188, on = 13296, use = 13297, off = 13298, all = {13296, 13297, 13298}},
["pichu"] =      {effect = 188, on = 13299, use = 13300, off = 13301, all = {13299, 13300, 13301}},
["pidgeot"] =      {effect = 188, on = 13302, use = 13303, off = 13304, all = {13302, 13303, 13304}},
["pidgeotto"] =      {effect = 188, on = 13305, use = 13306, off = 13307, all = {13305, 13306, 13307}},
["shiny pidgeotto"] =      {effect = 188, on = 13305, use = 13306, off = 13307, all = {13305, 13306, 13307}},
["pidgey"] =      {effect = 188, on = 13308, use = 13309, off = 13310, all = {13308, 13309, 13310}},
["shiny pidgey"] =      {effect = 188, on = 13308, use = 13309, off = 13310, all = {13308, 13309, 13310}},
["pikachu"] =      {effect = 188, on = 13311, use = 13312, off = 13313, all = {13311, 13312, 13313}},
["shiny pikachu"] =      {effect = 188, on = 13311, use = 13312, off = 13313, all = {13311, 13312, 13313}},
["piloswine"] =      {effect = 188, on = 13314, use = 13315, off = 13316, all = {13314, 13315, 13316}},
["pineco"] =      {effect = 188, on = 13317, use = 13318, off = 13319, all = {13317, 13318, 13319}},
["pinsir"] =      {effect = 188, on = 13320, use = 13321, off = 13322, all = {13320, 13321, 13322}},
["politoed"] =      {effect = 188, on = 13323, use = 13324, off = 13325, all = {13323, 13324, 13325}},
["poliwag"] =      {effect = 188, on = 13326, use = 13327, off = 13328, all = {13326, 13327, 13328}},
["shiny poliwag"] =      {effect = 188, on = 13326, use = 13327, off = 13328, all = {13326, 13327, 13328}},
["poliwhirl"] =      {effect = 188, on = 13329, use = 13330, off = 13331, all = {13329, 13330, 13331}},
["shiny poliwhirl"] =      {effect = 188, on = 13329, use = 13330, off = 13331, all = {13329, 13330, 13331}},
["poliwrath"] =      {effect = 188, on = 13332, use = 13333, off = 13334, all = {13332, 13333, 13334}},
["shiny poliwrath"] =      {effect = 188, on = 13332, use = 13333, off = 13334, all = {13332, 13333, 13334}},
["ponyta"] =      {effect = 188, on = 13335, use = 13336, off = 13337, all = {13335, 13336, 13337}},
["shiny ponyta"] =      {effect = 188, on = 13335, use = 13336, off = 13337, all = {13335, 13336, 13337}},
["porygon"] =      {effect = 188, on = 13338, use = 13339, off = 13340, all = {13338, 13339, 13340}},
["shiny porygon"] =      {effect = 188, on = 13338, use = 13339, off = 13340, all = {13338, 13339, 13340}},
["porygon2"] =      {effect = 188, on = 13341, use = 13342, off = 13343, all = {13341, 13342, 13343}},
["primeape"] =      {effect = 188, on = 13344, use = 13345, off = 13346, all = {13344, 13345, 13346}},
["shiny psyduck"] =      {effect = 188, on = 13347, use = 13348, off = 13349, all = {13347, 13348, 13349}},
["psyduck"] =      {effect = 188, on = 13347, use = 13348, off = 13349, all = {13347, 13348, 13349}},
["pupitar"] =      {effect = 188, on = 13350, use = 13351, off = 13352, all = {13350, 13351, 13352}},
["quagsire"] =      {effect = 188, on = 13353, use = 13354, off = 13355, all = {13353, 13354, 13355}},
["quilava"] =      {effect = 188, on = 13356, use = 13357, off = 13358, all = {13356, 13357, 13358}},
["qwilfish"] =      {effect = 188, on = 13359, use = 13360, off = 13361, all = {13359, 13360, 13361}},
["raichu"] =      {effect = 188, on = 13362, use = 13363, off = 13364, all = {13362, 13363, 13364}},
["rapidash"] =      {effect = 188, on = 13365, use = 13366, off = 13367, all = {13365, 13366, 13367}},
["Shiny Rapidash"] =      {effect = 188, on = 13365, use = 13366, off = 13367, all = {13365, 13366, 13367}},
["raticate"] =      {effect = 188, on = 13368, use = 13369, off = 13370, all = {13368, 13369, 13370}},
["rattata"] =      {effect = 188, on = 13371, use = 13372, off = 13373, all = {13371, 13372, 13373}},
["remoraid"] =      {effect = 188, on = 13374, use = 13375, off = 13376, all = {13374, 13375, 13376}},
["rhydon"] =      {effect = 188, on = 13377, use = 13378, off = 13379, all = {13377, 13378, 13379}},
["rhyhorn"] =      {effect = 188, on = 13380, use = 13381, off = 13382, all = {13380, 13381, 13382}},
["Shiny rhyhorn"] =      {effect = 188, on = 13380, use = 13381, off = 13382, all = {13380, 13381, 13382}},
["shiny sandshrew"] =      {effect = 188, on = 13383, use = 13384, off = 13385, all = {13383, 13384, 13385}},
["sandshrew"] =      {effect = 188, on = 13383, use = 13384, off = 13385, all = {13383, 13384, 13385}},
["sandslash"] =      {effect = 188, on = 13386, use = 13387, off = 13388, all = {13386, 13387, 13388}},
["Shiny sandslash"] =      {effect = 188, on = 13386, use = 13387, off = 13388, all = {13386, 13387, 13388}},
["scizor"] =      {effect = 188, on = 13389, use = 13390, off = 13391, all = {13389, 13390, 13391}},
["Shiny Scizor"] =      {effect = 188, on = 17592, use = 13390, off = 13391, all = {17592, 13390, 13391}},
["scyther"] =      {effect = 188, on = 13392, use = 13393, off = 13394, all = {13392, 13393, 13394}},
["seadra"] =      {effect = 188, on = 13395, use = 13396, off = 13397, all = {13395, 13396, 13397}},
["seaking"] =      {effect = 188, on = 13398, use = 13399, off = 13400, all = {13398, 13399, 13400}},
["Shiny seaking"] =      {effect = 188, on = 13398, use = 13399, off = 13400, all = {13398, 13399, 13400}},
["sentret"] =      {effect = 188, on = 13401, use = 13402, off = 13403, all = {13401, 13402, 13403}},
["shellder"] =      {effect = 188, on = 13404, use = 13405, off = 13406, all = {13404, 13405, 13406}},
["Shiny shellder"] =      {effect = 188, on = 13404, use = 13405, off = 13406, all = {13404, 13405, 13406}},
["shiny abra"] =      {effect = 188, on = 13407, use = 13408, off = 13409, all = {13407, 13408, 13409}},
["shiny alakazam"] =      {effect = 188, on = 13410, use = 13411, off = 13412, all = {13410, 13411, 13412}},
["shiny ampharos"] =      {effect = 188, on = 13413, use = 13414, off = 13415, all = {13413, 13414, 13415}},
["shiny arcanine"] =      {effect = 188, on = 13416, use = 13417, off = 13418, all = {13416, 13417, 13418}},
["shiny beedrill"] =      {effect = 188, on = 13419, use = 13420, off = 13421, all = {13419, 13420, 13421}},
["shiny blastoise"] =      {effect = 188, on = 13422, use = 13423, off = 13424, all = {13422, 13423, 13424}},
["shiny butterfree"] =      {effect = 188, on = 13425, use = 13426, off = 13427, all = {13425, 13426, 13427}},
["shiny charizard"] =      {effect = 188, on = 13428, use = 13429, off = 13430, all = {13428, 13429, 13430}},
["shiny crobat"] =      {effect = 188, on = 13431, use = 13432, off = 13433, all = {13431, 13432, 13433}},
["shiny cubone"] =      {effect = 188, on = 13434, use = 13435, off = 13436, all = {13434, 13435, 13436}},
["shiny dodrio"] =      {effect = 188, on = 13437, use = 13438, off = 13439, all = {13437, 13438, 13439}},
["shiny dragonair"] =      {effect = 188, on = 13440, use = 13441, off = 13442, all = {13440, 13441, 13442}},
["shiny electabuzz"] =      {effect = 188, on = 13443, use = 13444, off = 13445, all = {13443, 13444, 13445}},
["shiny electrode"] =      {effect = 188, on = 13446, use = 13447, off = 13448, all = {13446, 13447, 13448}},
["shiny espeon"] =      {effect = 188, on = 13449, use = 13450, off = 13451, all = {13449, 13450, 13451}},
["shiny farfetch'd"] =      {effect = 188, on = 13452, use = 13453, off = 13454, all = {13452, 13453, 13454}},
["shiny fearow"] =      {effect = 188, on = 13455, use = 13456, off = 13457, all = {13455, 13456, 13457}},
["shiny feraligatr"] =      {effect = 188, on = 13458, use = 13459, off = 13460, all = {13458, 13459, 13460}},
["shiny flareon"] =      {effect = 188, on = 13461, use = 13462, off = 13463, all = {13461, 13462, 13463}},
["shiny gengar"] =      {effect = 188, on = 13464, use = 13465, off = 13466, all = {13464, 13465, 13466}},
["shiny golem"] =      {effect = 188, on = 13467, use = 13468, off = 13469, all = {13467, 13468, 13469}},
["shiny grimer"] =      {effect = 188, on = 13470, use = 13471, off = 13472, all = {13470, 13471, 13472}},
["shiny growlithe"] =      {effect = 188, on = 13473, use = 13474, off = 13475, all = {13473, 13474, 13475}},
["shiny gyarados"] =      {effect = 188, on = 13476, use = 13477, off = 13478, all = {13476, 13477, 13478}},
["shiny hitmonchan"] =      {effect = 188, on = 13479, use = 13480, off = 13481, all = {13479, 13480, 13481}},
["shiny hitmonlee"] =      {effect = 188, on = 13482, use = 13483, off = 13484, all = {13482, 13483, 13484}},
["shiny horsea"] =      {effect = 188, on = 13485, use = 13486, off = 13487, all = {13485, 13486, 13487}},
["shiny hypno"] =      {effect = 188, on = 13488, use = 13489, off = 13490, all = {13488, 13489, 13490}},
["shiny jolteon"] =      {effect = 188, on = 13491, use = 13492, off = 13493, all = {13491, 13492, 13493}},
["shiny jynx"] =      {effect = 188, on = 13494, use = 13495, off = 13496, all = {13494, 13495, 13496}},
["shiny krabby"] =      {effect = 188, on = 13497, use = 13498, off = 13499, all = {13497, 13498, 13499}},
["shiny larvitar"] =      {effect = 188, on = 13500, use = 13501, off = 13502, all = {13500, 13501, 13502}},
["shiny machamp"] =      {effect = 188, on = 13503, use = 13504, off = 13505, all = {13503, 13504, 13505}},
["shiny magikarp"] =      {effect = 188, on = 13506, use = 13507, off = 13508, all = {13506, 13507, 13508}},
["shiny magmar"] =      {effect = 188, on = 13509, use = 13510, off = 13511, all = {13509, 13510, 13511}},
["shiny magmortar"] =      {effect = 188, on = 13933, use = 13934, off = 13935, all = {13933, 13934, 13935}},
["shiny electivire"] =      {effect = 188, on = 13937, use = 13938, off = 13939, all = {13937, 13938, 13939}},
["magmortar"] =      {effect = 188, on = 14190, use = 14191, off = 14192, all = {14190, 14191, 14192}},
["electivire"] =      {effect = 188, on = 14020, use = 14021, off = 14022, all = {14020, 14021, 14012}},
["shiny mantine"] =      {effect = 188, on = 14015, use = 14016, off = 14017, all = {14015, 14016, 14017}},
["shiny magneton"] =      {effect = 188, on = 13512, use = 13513, off = 13514, all = {13512, 13513, 13514}},
["shiny marowak"] =      {effect = 188, on = 13515, use = 13516, off = 13517, all = {13515, 13516, 13517}},
["shiny meganium"] =      {effect = 188, on = 13518, use = 13519, off = 13520, all = {13518, 13519, 13520}},
["shiny mr. mime"] =      {effect = 188, on = 13521, use = 13522, off = 13523, all = {13521, 13522, 13523}},
["shiny muk"] =      {effect = 188, on = 13524, use = 13525, off = 13526, all = {13524, 13525, 13526}},
["shiny nidoking"] =      {effect = 188, on = 13527, use = 13528, off = 13529, all = {13527, 13528, 13529}},
["shiny ninetales"] =      {effect = 188, on = 13530, use = 13531, off = 13532, all = {13530, 13531, 13532}},
["shiny onix"] =      {effect = 188, on = 13533, use = 13534, off = 13535, all = {13533, 13534, 13535}},
["shiny paras"] =      {effect = 188, on = 13536, use = 13537, off = 13538, all = {13536, 13537, 13538}},
["shiny parasect"] =      {effect = 188, on = 13539, use = 13540, off = 13541, all = {13539, 13540, 13541}},
["shiny pidgeot"] =      {effect = 188, on = 13542, use = 13543, off = 13544, all = {13542, 13543, 13544}},
["shiny pinsir"] =      {effect = 188, on = 13545, use = 13546, off = 13547, all = {13545, 13546, 13547}},
["shiny pupitar"] =      {effect = 188, on = 13548, use = 13549, off = 13550, all = {13548, 13549, 13550}},
["shiny raichu"] =      {effect = 188, on = 13551, use = 13552, off = 13553, all = {13551, 13552, 13553}},
["shiny raticate"] =      {effect = 188, on = 13554, use = 13555, off = 13556, all = {13554, 13555, 13556}},
["shiny rattata"] =      {effect = 188, on = 13557, use = 13558, off = 13559, all = {13557, 13558, 13559}},
["shiny rhydon"] =      {effect = 188, on = 13560, use = 13561, off = 13562, all = {13560, 13561, 13562}},
["shiny scyther"] =      {effect = 188, on = 13563, use = 13564, off = 13565, all = {13563, 13564, 13565}},
["shiny seadra"] =      {effect = 188, on = 13566, use = 13567, off = 13568, all = {13566, 13567, 13568}},
["shiny snorlax"] =      {effect = 188, on = 13569, use = 13570, off = 13571, all = {13569, 13570, 13571}},
["shiny stantler"] =      {effect = 188, on = 13572, use = 13573, off = 13574, all = {13572, 13573, 13574}},
["shiny tangela"] =      {effect = 188, on = 13575, use = 13576, off = 13577, all = {13575, 13576, 13577}},
["shiny tauros"] =      {effect = 188, on = 13578, use = 13579, off = 13580, all = {13578, 13579, 13580}},
["shiny tentacool"] =      {effect = 188, on = 13581, use = 13582, off = 13583, all = {13581, 13582, 13583}},
["shiny typhlosion"] =      {effect = 188, on = 13584, use = 13585, off = 13586, all = {13584, 13585, 13586}},
["shiny umbreon"] =      {effect = 188, on = 13587, use = 13588, off = 13589, all = {13587, 13588, 13589}},
["shiny vaporeon"] =      {effect = 188, on = 13590, use = 13591, off = 13592, all = {13590, 13591, 13592}},
["shiny venomoth"] =      {effect = 188, on = 13593, use = 13594, off = 13595, all = {13593, 13594, 13595}},
["shiny venonat"] =      {effect = 188, on = 13596, use = 13597, off = 13598, all = {13596, 13597, 13598}},
["shiny venusaur"] =      {effect = 188, on = 13599, use = 13600, off = 13601, all = {13599, 13600, 13601}},
["shiny vileplume"] =      {effect = 188, on = 13602, use = 13603, off = 13604, all = {13602, 13603, 13604}},
["shiny voltorb"] =      {effect = 188, on = 13605, use = 13606, off = 13607, all = {13605, 13606, 13607}},
["shiny xatu"] =      {effect = 188, on = 13608, use = 13609, off = 13610, all = {13608, 13609, 13610}},
["shiny zubat"] =      {effect = 188, on = 13611, use = 13612, off = 13613, all = {13611, 13612, 13613}},
["shiny Golbat"] =      {effect = 188, on = 13611, use = 13612, off = 13613, all = {13611, 13612, 13613}},
["shuckle"] =      {effect = 188, on = 13614, use = 13615, off = 13616, all = {13614, 13615, 13616}},
["skarmory"] =      {effect = 188, on = 13617, use = 13618, off = 13619, all = {13617, 13618, 13619}},
["skiploom"] =      {effect = 188, on = 13620, use = 13621, off = 13622, all = {13620, 13621, 13622}}, -------\/ diferença  nos numeros devido ao erro com o icon do golbat
["shiny slowbro"] =      {effect = 188, on = 13626, use = 13627, off = 13628, all = {13626, 13627, 13628}},
["slowbro"] =      {effect = 188, on = 13626, use = 13627, off = 13628, all = {13626, 13627, 13628}},
["slowking"] =      {effect = 188, on = 13629, use = 13630, off = 13631, all = {13629, 13630, 13631}},
["slowpoke"] =      {effect = 188, on = 13632, use = 13633, off = 13634, all = {13632, 13633, 13634}},
["shiny slowpoke"] =      {effect = 188, on = 13632, use = 13633, off = 13634, all = {13632, 13633, 13634}},
["slugma"] =      {effect = 188, on = 13635, use = 13636, off = 13637, all = {13635, 13636, 13637}},
["smeargle"] =      {effect = 188, on = 13638, use = 13639, off = 13640, all = {13638, 13639, 13640}},
["smoochum"] =      {effect = 188, on = 13641, use = 13642, off = 13643, all = {13641, 13642, 13643}},
["sneasel"] =      {effect = 188, on = 13644, use = 13645, off = 13646, all = {13644, 13645, 13646}},
["snorlax"] =      {effect = 188, on = 13647, use = 13648, off = 13649, all = {13647, 13648, 13649}},
["snubbull"] =      {effect = 188, on = 13650, use = 13651, off = 13652, all = {13650, 13651, 13652}},
["spearow"] =      {effect = 188, on = 13653, use = 13654, off = 13655, all = {13653, 13654, 13655}},
["shiny spearow"] =      {effect = 188, on = 13653, use = 13654, off = 13655, all = {13653, 13654, 13655}},
["spinarak"] =      {effect = 188, on = 13656, use = 13657, off = 13658, all = {13656, 13657, 13658}},
["squirtle"] =      {effect = 188, on = 13659, use = 13660, off = 13661, all = {13659, 13660, 13661}},
["shiny squirtle"] =      {effect = 188, on = 13659, use = 13660, off = 13661, all = {13659, 13660, 13661}},
["stantler"] =      {effect = 188, on = 13662, use = 13663, off = 13664, all = {13662, 13663, 13664}},
["starmie"] =      {effect = 188, on = 13665, use = 13666, off = 13667, all = {13665, 13666, 13667}},
["shiny starmie"] =      {effect = 188, on = 13665, use = 13666, off = 13667, all = {13665, 13666, 13667}},
["staryu"] =      {effect = 188, on = 13668, use = 13669, off = 13670, all = {13668, 13669, 13670}},
["shiny staryu"] =      {effect = 188, on = 13668, use = 13669, off = 13670, all = {13668, 13669, 13670}},
["steelix"] =      {effect = 188, on = 13671, use = 13672, off = 13673, all = {13671, 13672, 13673}},
["sudowoodo"] =      {effect = 188, on = 13674, use = 13675, off = 13676, all = {13674, 13675, 13676}},
["sunkern"] =      {effect = 188, on = 13677, use = 13678, off = 13679, all = {13677, 13678, 13679}},
["swinub"] =      {effect = 188, on = 13680, use = 13681, off = 13682, all = {13680, 13681, 13682}},
["tangela"] =      {effect = 188, on = 13683, use = 13684, off = 13685, all = {13683, 13684, 13685}},
["tauros"] =      {effect = 188, on = 13686, use = 13687, off = 13688, all = {13686, 13687, 13688}},
["teddiursa"] =      {effect = 188, on = 13689, use = 13690, off = 13691, all = {13689, 13690, 13691}},
["tentacool"] =      {effect = 188, on = 13692, use = 13693, off = 13694, all = {13692, 13693, 13694}},
["sunflora"] =      {effect = 188, on = 13695, use = 13696, off = 13697, all = {13695, 13696, 13697}},
["togepi"] =      {effect = 188, on = 13698, use = 13699, off = 13700, all = {13698, 13699, 13700}},
["flareon"] =      {effect = 188, on = 13701, use = 13702, off = 13703, all = {13701, 13702, 13703}},
["tentacruel"] =      {effect = 188, on = 13704, use = 13705, off = 13706, all = {13704, 13705, 13706}},
["shiny tentacruel"] =      {effect = 188, on = 13707, use = 13708, off = 13709, all = {13707, 13708, 13709}},
["togetic"] =      {effect = 188, on = 13710, use = 13711, off = 13712, all = {13710, 13711, 13712}},
["totodile"] =      {effect = 188, on = 13713, use = 13714, off = 13715, all = {13713, 13714, 13715}},
["typhlosion"] =      {effect = 188, on = 13716, use = 13717, off = 13718, all = {13716, 13717, 13718}},
["tyranitar"] =      {effect = 188, on = 13719, use = 13720, off = 13721, all = {13719, 13720, 13721}},
["tyrogue"] =      {effect = 188, on = 13722, use = 13723, off = 13724, all = {13722, 13723, 13724}},
["umbreon"] =      {effect = 188, on = 13725, use = 13726, off = 13727, all = {13725, 13726, 13727}},
["ursaring"] =      {effect = 188, on = 13728, use = 13729, off = 13730, all = {13728, 13729, 13730}},
["vaporeon"] =      {effect = 188, on = 13731, use = 13732, off = 13733, all = {13731, 13732, 13733}},
["venomoth"] =      {effect = 188, on = 13734, use = 13735, off = 13736, all = {13734, 13735, 13736}},
["venonat"] =      {effect = 188, on = 13737, use = 13738, off = 13739, all = {13737, 13738, 13739}},
["venusaur"] =      {effect = 188, on = 13740, use = 13741, off = 13742, all = {13740, 13741, 13742}},
["victreebel"] =      {effect = 188, on = 13743, use = 13744, off = 13745, all = {13743, 13744, 13745}},
["shiny victreebel"] =      {effect = 188, on = 13743, use = 13744, off = 13745, all = {13743, 13744, 13745}},
["vileplume"] =      {effect = 188, on = 13746, use = 13747, off = 13748, all = {13746, 13747, 13748}},
["voltorb"] =      {effect = 188, on = 13749, use = 13750, off = 13751, all = {13749, 13750, 13751}},
["vulpix"] =      {effect = 188, on = 13752, use = 13753, off = 13754, all = {13752, 13753, 13754}},
["shiny vulpix"] =      {effect = 188, on = 13752, use = 13753, off = 13754, all = {13752, 13753, 13754}},
["wartortle"] =      {effect = 188, on = 13755, use = 13756, off = 13757, all = {13755, 13756, 13757}},
["shiny wartortle"] =      {effect = 188, on = 13755, use = 13756, off = 13757, all = {13755, 13756, 13757}},
["weedle"] =      {effect = 188, on = 13758, use = 13759, off = 13760, all = {13758, 13759, 13760}},
["shiny weedle"] =      {effect = 188, on = 13758, use = 13759, off = 13760, all = {13758, 13759, 13760}},
["weepinbell"] =      {effect = 188, on = 13761, use = 13762, off = 13763, all = {13761, 13762, 13763}},
["shiny weepinbell"] =      {effect = 188, on = 13761, use = 13762, off = 13763, all = {13761, 13762, 13763}},
["weezing"] =      {effect = 188, on = 13764, use = 13765, off = 13766, all = {13764, 13765, 13766}},
["wigglytuff"] =      {effect = 188, on = 13767, use = 13768, off = 13769, all = {13767, 13768, 13769}},
["shiny wigglytuff"] =      {effect = 188, on = 13767, use = 13768, off = 13769, all = {13767, 13768, 13769}},
["wobbuffet"] =      {effect = 188, on = 13770, use = 13771, off = 13772, all = {13770, 13771, 13772}},
["wooper"] =      {effect = 188, on = 13773, use = 13774, off = 13775, all = {13773, 13774, 13775}},
["xatu"] =      {effect = 188, on = 13776, use = 13777, off = 13778, all = {13776, 13777, 13778}},
["yanma"] =      {effect = 188, on = 13779, use = 13780, off = 13781, all = {13779, 13780, 13781}},

["lugia"] =      {effect = 188, on = 13797, use = 13798, off = 13799, all = {13797, 13798, 13799}},
["articuno"] =      {effect = 188, on = 13800, use = 13801, off = 13802, all = {13800, 13801, 13802}},
["moltres"] =      {effect = 188, on = 13803, use = 13804, off = 13805, all = {13803, 13804, 13805}},
["zapdos"] =      {effect = 188, on = 13806, use = 13807, off = 13808, all = {13806, 13807, 13808}},
["mew"] =      {effect = 188, on = 13809, use = 13810, off = 13811, all = {13809, 13810, 13811}},
["mewtwo"] =      {effect = 188, on = 14332, use = 14333, off = 14334, all = {14332, 14333, 14334}},
["ho-oh"] =      {effect = 188, on = 13812, use = 13813, off = 13814, all = {13812, 13813, 13814}},
["suicune"] =      {effect = 188, on = 13815, use = 13816, off = 13817, all = {13815, 13816, 13817}},
["raikou"] =      {effect = 188, on = 13818, use = 13819, off = 13820, all = {13818, 13819, 13820}},

["beedrill"] =      {effect = 188, on = 13821, use = 13822, off = 13823, all = {13821, 13822, 13823}},

["zubat"] =      {effect = 188, on = 13062, use = 13063, off = 13064, all = {13062, 13063, 13064}},

["shiny hitmontop"] =      {effect = 188, on = 13836, use = 13837, off = 13838, all = {13836, 13837, 13838}},
["shiny ariados"] =      {effect = 188, on = 13839, use = 13840, off = 13841, all = {13839, 13840, 13841}},
["shiny politoed"] =      {effect = 188, on = 13842, use = 13843, off = 13844, all = {13842, 13843, 13844}},

["giant magikarp"] =      {effect = 188, on = 13845, use = 13846, off = 13847, all = {13845, 13846, 13847}},
["shiny giant magikarp"] =      {effect = 188, on = 13848, use = 13849, off = 13850, all = {13848, 13849, 13850}},

["shiny dratini"] =      {effect = 188, on = 13851, use = 13852, off = 13853, all = {13851, 13852, 13853}},
["shiny kingler"] =      {effect = 188, on = 13854, use = 13855, off = 13856, all = {13854, 13855, 13856}},
["Mewtwo"] =      {effect = 188, on = 13859, use = 13860, off = 13861, all = {13859, 13860, 13861}},

["kakuna"] =      {effect = 188, on = 13902, use = 13903, off = 13904, all = {13902, 13903, 13904}},
["shiny kakuna"] =      {effect = 188, on = 13902, use = 13903, off = 13904, all = {13902, 13903, 13904}},

["shiny magcargo"] =      {effect = 188, on = 13919, use = 13920, off = 13921, all = {13919, 13920, 13921}},
["shiny Lanturn"] =      {effect = 188, on = 13922, use = 13923, off = 13924, all = {13922, 13923, 13924}},

["shiny Weezing"] =      {effect = 188, on = 13925, use = 13926, off = 13927, all = {13925, 13926, 13927}},
["shiny Sandslash"] =      {effect = 188, on = 13928, use = 13929, off = 13930, all = {13928, 13929, 13930}},


-- nao temos["Wailord"] =      {effect = 188, on = 14173, use = 14174, off = 14175, all = {14173, 14174, 14175}},

["treecko"] =      {effect = 188, on = 14881, use = 14883, off = 14883, all = {14881, 14883}},
["grovyle"] =      {effect = 188, on = 14884, use = 14886, off = 14886, all = {14884, 14886}},
["sceptile"] =      {effect = 188, on = 14887, use = 14889, off = 14889, all = {14887, 14889}},

["torchic"] =      {effect = 188, on = 14890, use = 14892, off = 14892, all = {14890, 14892}},
["combusken"] =      {effect = 188, on = 14893, use = 14895, off = 14895, all = {14893, 14895}},
["blaziken"] =      {effect = 188, on = 14896, use = 14898, off = 14898, all = {14896, 14898}},

["mudkip"] =      {effect = 188, on = 14899, use = 14901, off = 14901, all = {14899, 14901}},
["marshtomp"] =      {effect = 188, on = 14902, use = 14904, off = 14904, all = {14902, 14904}},
["swampert"] =      {effect = 188, on = 14905, use = 14907, off = 14907, all = {14905, 14907}},

["lotad"] =      {effect = 188, on = 14908, use = 14910, off = 14910, all = {14908, 14910}},
["lombre"] =      {effect = 188, on = 14911, use = 14913, off = 14913, all = {14911, 14913}},
["ludicolo"] =      {effect = 188, on = 14914, use = 14916, off = 14916, all = {14914, 14916}},

["ralts"] =      {effect = 188, on = 14917, use = 14919, off = 14919, all = {14917, 14919}},
["kirlia"] =      {effect = 188, on = 14920, use = 14922, off = 14922, all = {14920, 14922}},
["gardevoir"] =      {effect = 188, on = 14923, use = 14925, off = 14925, all = {14923, 14925}},

["slakoth"] =      {effect = 188, on = 14926, use = 14928, off = 14928, all = {14926, 14928}},
["vigoroth"] =      {effect = 188, on = 14929, use = 14931, off = 14931, all = {14929, 14931}},
["slaking"] =      {effect = 188, on = 14932, use = 14934, off = 14934, all = {14932, 14934}},

["nincada"] =      {effect = 188, on = 14935, use = 14937, off = 14937, all = {14935, 14937}},
["ninjask"] =      {effect = 188, on = 14938, use = 14940, off = 14940, all = {14938, 14940}},
["shedinja"] =      {effect = 188, on = 14941, use = 14943, off = 14943, all = {14941, 14943}},

["whismur"] =      {effect = 188, on = 14944, use = 14945, off = 14945, all = {14944, 14945}},
["loudred"] =      {effect = 188, on = 14946, use = 14947, off = 14947, all = {14946, 14947}},
["exploud"] =      {effect = 188, on = 14948, use = 14949, off = 14949, all = {14948, 14949}},

["makuhita"] =      {effect = 188, on = 14950, use = 14951, off = 14951, all = {14950, 14951}},
["hariyama"] =      {effect = 188, on = 14952, use = 14953, off = 14953, all = {14952, 14953}},

["mawile"] =      {effect = 188, on = 14954, use = 14955, off = 14955, all = {14954, 14955}},

["aron"] =      {effect = 188, on = 14956, use = 14957, off = 14957, all = {14956, 14957}},
["lairon"] =      {effect = 188, on = 14958, use = 14959, off = 14959, all = {14958, 14959}},
["aggron"] =      {effect = 188, on = 14960, use = 14961, off = 14961, all = {14960, 14961}},

["meditite"] =      {effect = 188, on = 14962, use = 14963, off = 14963, all = {14962, 14963}},
["medicham"] =      {effect = 188, on = 14964, use = 14965, off = 14965, all = {14964, 14965}},

["electrike"] =      {effect = 188, on = 14966, use = 14967, off = 14967, all = {14966, 14967}},
["manectric"] =      {effect = 188, on = 14968, use = 14969, off = 14969, all = {14968, 14969}},

["numel"] =      {effect = 188, on = 14970, use = 14971, off = 14971, all = {14970, 14971}},
["camerupt"] =   {effect = 188, on = 14972, use = 14973, off = 14973, all = {14972, 14973}},

["torkoal"] =   {effect = 188, on = 14974, use = 14975, off = 14975, all = {14974, 14975}},

["spoink"] =   {effect = 188, on = 14976, use = 14977, off = 14977, all = {14976, 14977}},
["grumpig"] =   {effect = 188, on = 14978, use = 14979, off = 14979, all = {14978, 14979}},

["trapinch"] =   {effect = 188, on = 14980, use = 14981, off = 14981, all = {14980, 14981}},
["vibrava"] =   {effect = 188, on = 14982, use = 14983, off = 14983, all = {14982, 14983}},
["flygon"] =   {effect = 188, on = 14984, use = 14985, off = 14985, all = {14984, 14985}},

["swablu"] =   {effect = 188, on = 14986, use = 14987, off = 14987, all = {14986, 14987}},
["altaria"] =   {effect = 188, on = 14988, use = 14989, off = 14989, all = {14988, 14989}},

["zangoose"] =   {effect = 188, on = 14990, use = 14991, off = 14991, all = {14990, 14991}},

["seviper"] =   {effect = 188, on = 14992, use = 14993, off = 14993, all = {14992, 14993}},

["corphish"] =   {effect = 188, on = 14994, use = 14995, off = 14995, all = {14994, 14995}},
["crawdaunt"] =   {effect = 188, on = 14996, use = 14997, off = 14997, all = {14996, 14997}},

["feebas"] =   {effect = 188, on = 14998, use = 14999, off = 14999, all = {14998, 14999}},
["milotic"] =   {effect = 188, on = 15000, use = 15001, off = 15001, all = {15000, 15001}},

["shuppet"] =   {effect = 188, on = 15002, use = 15003, off = 15003, all = {15002, 15003}},
["banette"] =   {effect = 188, on = 15004, use = 15005, off = 15005, all = {15004, 15005}},

["duskull"] =   {effect = 188, on = 15006, use = 15007, off = 15007, all = {15006, 15007}},
["dusclops"] =   {effect = 188, on = 15008, use = 15009, off = 15009, all = {15008, 15009}},
["dusknoir"] =   {effect = 188, on = 15010, use = 15011, off = 15011, all = {15010, 15011}},

["tropius"] =   {effect = 188, on = 15012, use = 15013, off = 15013, all = {15012, 15013}},

["absol"] =   {effect = 188, on = 15014, use = 15015, off = 15015, all = {15014, 15015}},

["snorunt"] =   {effect = 188, on = 15016, use = 15017, off = 15017, all = {15016, 15017}},
["glalie"] =   {effect = 188, on = 15018, use = 15019, off = 15019, all = {15018, 15019}},

["spheal"] =   {effect = 188, on = 15020, use = 15021, off = 15021, all = {15020, 15021}},
["sealeo"] =   {effect = 188, on = 15022, use = 15023, off = 15023, all = {15022, 15023}},
["walrein"] =   {effect = 188, on = 15024, use = 15025, off = 15025, all = {15024, 15025}},

["bagon"] =   {effect = 188, on = 15026, use = 15027, off = 15027, all = {15026, 15027}},
["shelgon"] =   {effect = 188, on = 15028, use = 15029, off = 15029, all = {15028, 15029}},
["salamence"] =   {effect = 188, on = 15030, use = 15031, off = 15031, all = {15030, 15031}},

["beldum"] =      {effect = 188, on = 15032, use = 15033, off = 15033, all = {15032, 15033, 15033}},
["metang"] =      {effect = 188, on = 15034, use = 15035, off = 15035, all = {15034, 15035, 15035}},
["metagross"] =      {effect = 188, on = 15036, use = 15037, off = 15037, all = {15036, 15037, 15037}},

["groudon"] =   {effect = 188, on = 15038, use = 15039, off = 15039, all = {15038, 15039}},

["rayquaza"] =   {effect = 188, on = 15040, use = 15041, off = 15041, all = {15040, 15041}},

["kyogre"] =   {effect = 188, on = 15042, use = 15043, off = 15043, all = {15042, 15043}},

["riolu"] =   {effect = 188, on = 15068, use = 15069, off = 15069, all = {15068, 15069}},
["lucario"] =   {effect = 188, on = 15044, use = 15045, off = 15045, all = {15044, 15045}},

["rotom"] =   {effect = 188, on = 15046, use = 15047, off = 15047, all = {15046, 15047}},

["tangrowth"] =   {effect = 188, on = 15048, use = 15049, off = 15049, all = {15048, 15049}},

["rhyperior"] =   {effect = 188, on = 15050, use = 15051, off = 15051, all = {15050, 15051}},

["seedot"] =   {effect = 188, on = 15052, use = 15053, off = 15053, all = {15052, 15053}},
["nuzleaf"] =   {effect = 188, on = 15054, use = 15055, off = 15055, all = {15054, 15055}},
["shiftry"] =   {effect = 188, on = 15056, use = 15057, off = 15057, all = {15056, 15057}},

["taillow"] =   {effect = 188, on = 15058, use = 15059, off = 15059, all = {15058, 15059}},
["swellow"] =   {effect = 188, on = 15060, use = 15061, off = 15061, all = {15060, 15061}},

["sableye"] =   {effect = 188, on = 15062, use = 15063, off = 15063, all = {15062, 15063}},

["baltoy"] =   {effect = 188, on = 15064, use = 15065, off = 15065, all = {15064, 15065}},
["claydol"] =   {effect = 188, on = 15066, use = 15067, off = 15067, all = {15066, 15067}},

}


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á a cada level que tem (somada a exp base, no xml do poke)                 
-- vitality = vida que o poke ganha pra cada vitality que tem

function getPortraitClientID(pokeName)
    local random_shinys = {
        ["Shiny Crobat"] = 12487,
        
        ["Shiny Magmar"] = 12027,
        ["Electivire"] = 12910,
        ["Magmortar"] = 12905,
        ["Shiny Magmortar"] = 12935,
        ["Shiny Electivire"] = 12932,


        ["Shiny Ampharos"] = 12074,
        ["Shiny Feraligatr"] = 12076,
        ["Shiny Larvitar"] = 12078,
        ["Shiny Machamp"] = 12080,
        ["Shiny Meganium"] = 12082,
        ["Shiny Pupitar"] = 12084,
        ["Shiny Tauros"] = 12086,
        ["Shiny Typhlosion"] = 12088,
        ["Shiny Xatu"] = 12090,

        ["Shiny Magcargo"] = 12790,
        ["Shiny Lanturn"] = 12791,
        ["Shiny Onix"] = 11427,
    }
    local id = fotos[pokeName]
    if id >= 11989 and id <= 12139 then -- kanto
       return id - 928
    elseif id >= 11139 and id <= 11285 or id >= 11288 and id <= 11387 then -- shinys kanto e johto
       return id - 911
    elseif id >= 12607 and id <= 12616 then -- alguns shinys johto
       return id - 1178
    elseif random_shinys[pokeName] then
        return random_shinys[pokeName]
    end       
    --print("Pokemon nao encontrado: " .. pokeName .. ", na funcao: getPortraitClientID")
end


fotos = {
["Bulbasaur"] = 11989,
["Ivysaur"] = 11990,
["Venusaur"] = 11991,
["Charmander"] = 11992,
["Charmeleon"] = 11993,
["Charizard"] = 11994,
["Squirtle"] = 11995,
["Wartortle"] = 11996,
["Blastoise"] = 11997,
["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,
["Raichu"] = 12014,
["Sandshrew"] = 12015,
["Sandslash"] = 12016,
["Nidoran Female"] = 12017,
["Nidorina"] = 12018,
["Nidoqueen"] = 12019,
["Nidoran Male"] = 12020,
["Nidorino"] = 12021,
["Nidoking"] = 12022,
["Clefairy"] = 12023,
["Clefable"] = 12024,
["Vulpix"] = 12025,
["Ninetales"] = 12026,
["Jigglypuff"] = 12027,
["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,
["Arcanine lendario"] = 12047,
["Poliwag"] = 12048,
["Poliwhirl"] = 12049,
["Poliwrath"] = 12050,
["Abra"] = 12051,
["Kadabra"] = 12052,
["Alakazam"] = 12053,
["Machop"] = 12054,
["Machoke"] = 12055,
["Machamp"] = 12056,
["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,
["Farfetch'd"] = 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,
["Lickitung"] = 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,
["Giant Magikarp"] = 12117,
["Gyarados"] = 12118,
["Lapras"] = 12119,
["Ditto"] = 12120,
["Shiny Ditto"] = 16180,
["Eevee"] = 12121,
["Vaporeon"] = 12122,
["Jolteon"] = 12123,
["Flareon"] = 12124,
["Porygon"] = 12125,
["Omanyte"] = 12126,
["Omastar"] = 12127,
["Kabuto"] = 12128,
["Kabutops"] = 12129,
["Shiny Kabutops"] = 17578,
["Aerodactyl"] = 12130,
["Snorlax"] = 12131,
["Articuno"] = 12132,
["Zapdos"] = 12133,
["Moltres"] = 12134,
["Dratini"] = 12135,
["Dragonair"] = 12136,
["Dragonite"] = 12137,
["Mewtwo"] = 12138,
["Mew"] = 12139,
-----------------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 Farfetch'd"] = 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 Giant Magikarp"] = 11265,
["Shiny Gyarados"] = 11266,
["Shiny Vaporeon"] = 11270,
["Shiny Jolteon"] = 11271,
["Shiny Flareon"] = 11272,
["Shiny Snorlax"] = 11279,
["Shiny Dratini"] = 11283,
["Shiny Dragonite"] = 11285,
-- New Shinys --
["Shiny Arbok"] = 12012,
["Shiny Bulbasaur"] = 17463,
["Shiny Caterpie"] = 17464,
["Shiny Chansey"] = 17465,
["Shiny Charmander"] = 17405,
["Shiny Charmeleon"] = 17404,
["Shiny Clefable"] = 17467,
["Shiny Clefairy"] = 17466,
["Shiny Cleffa"] = 17475,
["Shiny Cloyster"] = 17407,
["Shiny Dewgong"] = 17472,
["Shiny Diglett"] = 17408,
["Shiny Doduo"] = 17409,
["Shiny Drowzee"] = 17461,
["Shiny Dugtrio"] = 17410,
["Shiny Ekans"] = 12011,
["Shiny Elekid"] = 17406,
["Shiny Exeggcute"] = 17411,
["Shiny Exeggutor"] = 17412,
["Shiny Gastly"] = 17413,
["Shiny Geodude"] = 17414,
["Shiny Gloom"] = 17415,
["Shiny Goldeen"] = 17416,
["Shiny Golduck"] = 17417,
["Shiny Graveler"] = 17418,
["Shiny Haunter"] = 17419,
["Shiny Igglybuff"] = 17476,
["Shiny Ivysaur"] = 17420,
["Shiny Jigglypuff"] = 17421,
["Shiny Kakuna"] = 17422,
["Shiny Koffing"] = 17423,
["Shiny Lickitung"] = 17424,
["Shiny Machoke"] = 17425,
["Shiny Machop"] = 17426,
["Shiny Magnemite"] = 17427,
["Shiny Mankey"] = 17428,
["Shiny Meowth"] = 17429,
["Shiny Metapod"] = 17430,
["Shiny Nidoran Female"] = 17431,
["Shiny Nidoran Male"] = 12020,
["Shiny Nidorina"] = 17433,
["Shiny Nidorino"] = 12021,
["Shiny Pidgeotto"] = 17435,
["Shiny Pidgey"] = 17434,
["Shiny Pikachu"] = 17436,
["Shiny Poliwag"] = 17437,
["Shiny Poliwhirl"] = 17438,
["Shiny Poliwrath"] = 17439,
["Shiny Ponyta"] = 17440,
["Shiny Porygon"] = 17441,
["Shiny Psyduck"] = 17443,
["Shiny Rapidash"] = 17444,
["Shiny Rhyhorn"] = 17445,
["Shiny Sandshrew"] = 17446,
["Shiny Sandslash"] = 17447,
["Shiny Seaking"] = 17448,
["Shiny Seel"] = 17471,
["Shiny Shellder"] = 17449,
["Shiny Slowbro"] = 17451,
["Shiny Slowpoke"] = 17450,
["Shiny Spearow"] = 17452,
["Shiny Squirtle"] = 17453,
["Shiny Starmie"] = 17455,
["Shiny Staryu"] = 17454,
["Shiny Victreebel"] = 17456,
["Shiny Vulpix"] = 17457,
["Shiny Wartortle"] = 17458,
["Shiny Weedle"] = 17459,
["Shiny Weepinbell"] = 17460,
["Shiny Wigglytuff"] = 17421,
-----------------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,
["Snubbull"] = 11345,
["Granbull"] = 11346,
["Qwilfish"] = 11347,
["Scizor"] = 11348,
["Shiny Scizor"] = 17594,
["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,
["Lugia"] = 11385,
["Ho-oh"] = 11386,
["Celebi"] = 11387,

                ------------ bagunçado
["Shiny Stantler"] = 12607, --tem
["Shiny Umbreon"] = 12608, --tem
["Shiny Espeon"] = 12609, --tem
["Shiny Politoed"] = 12610, --tem
["Shiny Ariados"] = 12611, --tem
["Shiny Rhydon"] = 12612, --tem
["Shiny Dodrio"] = 12613, --tem
["Shiny Magneton"] = 12614,   --alterado v1.9 \/  
["Shiny Ninetales"] = 12615,
["Shiny Mr. Mime"] = 12616,

["Shiny Crobat"] = 12741,
["Shiny Magmar"] = 12742,


["Shiny Mantine"] = 14018,
["Electivire"] = 14019,

["Magmortar"] = 14182,
["Shiny Magmortar"] = 14183,
["Shiny Electivire"] = 14184,


["Shiny Ampharos"] = 12836,
["Shiny Feraligatr"] = 12838,
["Shiny Larvitar"] = 12840,
["Shiny Machamp"] = 12842,
["Shiny Meganium"] = 12844,
["Shiny Pupitar"] = 12846,
["Shiny Tauros"] = 12848,
["Shiny Typhlosion"] = 12850,
["Shiny Xatu"] = 12852,

["Shiny Magcargo"] = 13915,
["Shiny Lanturn"] = 13916,


--------------------- 3 geracao fazer depois
["Treecko"] = 14795,
["Grovyle"] = 14796,
["Sceptile"] = 14797,
["Torchic"] = 14798,
["Combusken"] = 14799,
["Blaziken"] = 14800,
["Mudkip"] = 14801,
["Marshtomp"] = 14802,
["Swampert"] = 14803,
["Lotad"] = 14804,
["Lombre"] = 14805,
["Ludicolo"] = 14806,
["Ralts"] = 14807,
["Kirlia"] = 14808,
["Gardevoir"] = 14809,
["Slakoth"] = 14810,
["Vigoroth"] = 14811,
["Slaking"] = 14812,
["Nincada"] = 14813,
["Ninjask"] = 14814,
["Shedinja"] = 14880,

["Whismur"] = 14815,
["Loudred"] = 14816,
["Exploud"] = 14817,
["Makuhita"] = 14818,
["Hariyama"] = 14819,
["Aron"] = 14820,
["Lairon"] = 14821,
["Aggron"] = 14822,

["Meditite"] = 14823,
["Medicham"] = 14824,
["Sableye"] = 14825,
["Mawile"] = 14826,
["Electrike"] = 14827,
["Manectric"] = 14828,
["Numel"] = 14829,
["Camerupt"] = 14830,

["Torkoal"] = 14831,
["Spoink"] = 14832,
["Grumpig"] = 14833,
["Trapinch"] = 14834,
["Vibrava"] = 14835,
["Flygon"] = 14836,
["Swablu"] = 14837,
["Altaria"] = 14838,
["Zangoose"] = 14839,
["Seviper"] = 14840,

["Corphish"] = 14841,
["Crawdaunt"] = 14842,
["Feebas"] = 14843,
["Milotic"] = 14844,
["Shuppet"] = 14845,
["Banette"] = 14846,
["Duskull"] = 14847,
["Dusclops"] = 14848,
["Dusknoir"] = 14862,
["Tropius"] = 14849,
["Absol"] = 14850,

["Snorunt"] = 14851,
["Glalie"] = 14852,
["Spheal"] = 14853,
["Sealeo"] = 14854,
["Walrein"] = 14855,
["Bagon"] = 14856,
["Shelgon"] = 14857,
["Salamence"] = 14858,
["Beldum"] = 14859,
["Metang"] = 14860,

["Metagross"] = 14861,
["Rhyperior"] = 14863,
["tangrowth"] = 14864,
["Lucario"] = 14865,

["Kyogre"] = 14866,
["Groudon"] = 14867,
["Rayquaza"] = 14868,
["Rotom"] = 14869,
["Wailord"] = 14870,

["Swellow"] = 14871,
["Taillow"] = 14872,
["Seedot"] = 14873,
["Nuzleaf"] = 14874,
["Shiftry"] = 14875,
["Claydol"] = 14877,
["Baltoy"] = 14878,
["Riolu"] = 14879,
}      

pokecatches = {
["Bulbasaur"] = {chance = 300, corpse = 5969},
["Ivysaur"] = {chance = 800, corpse = 5982},
["Venusaur"] = {chance = 1800, corpse = 5962},
["Charmander"] = {chance = 300, corpse = 5983},
["Charmeleon"] = {chance = 800, corpse = 5981},
["Charizard"] = {chance = 1800, corpse = 6005},
["Squirtle"] = {chance = 300, corpse = 6008},
["Wartortle"] = {chance = 800, corpse = 5978},
["Blastoise"] = {chance = 1800, corpse = 5999},
["Caterpie"] = {chance = 5, corpse = 5971},
["Metapod"] = {chance = 50, corpse = 5970},
["Butterfree"] = {chance = 150, corpse = 5985},
["Weedle"] = {chance = 5, corpse = 5964},
["Kakuna"] = {chance = 50, corpse = 6000},
["Beedrill"] = {chance = 150, corpse = 5990},
["Pidgey"] = {chance = 10, corpse = 5961},
["Pidgeotto"] = {chance = 100, corpse = 5966},
["Pidgeot"] = {chance = 1800, corpse = 6020},
["Rattata"] = {chance = 5, corpse = 5974},
["Raticate"] = {chance = 100, corpse = 6007},
["Spearow"] = {chance = 10, corpse = 5968},
["Fearow"] = {chance = 300, corpse = 5992},
["Ekans"] = {chance = 80, corpse = 5979},
["Arbok"] = {chance = 200, corpse = 5984},
["Pikachu"] = {chance = 250, corpse = 6001},
["Raichu"] = {chance = 1800, corpse = 5996},
["Sandshrew"] = {chance = 50, corpse = 5988},
["Sandslash"] = {chance = 400, corpse = 6041},
["Nidoran Female"] = {chance = 20, corpse = 6013},
["Nidorina"] = {chance = 100, corpse = 6014},
["Nidoqueen"] = {chance = 1200, corpse = 3004},
["Nidoran Male"] = {chance = 20, corpse = 6015},
["Nidorino"] = {chance = 100, corpse = 6019},
["Nidoking"] = {chance = 1200, corpse = 5995},
["Clefairy"] = {chance = 100, corpse = 2968},
["Clefable"] = {chance = 800, corpse = 6006},
["Vulpix"] = {chance = 50, corpse = 6003},
["Ninetales"] = {chance = 800, corpse = 6040},
["Jigglypuff"] = {chance = 100, corpse = 6011},
["Wigglytuff"] = {chance = 1000, corpse = 6012},
["Zubat"] = {chance = 25, corpse = 5989},
["Golbat"] = {chance = 120, corpse = 6053},
["Oddish"] = {chance = 15, corpse = 3008},
["Gloom"] = {chance = 150, corpse = 6017},
["Vileplume"] = {chance = 600, corpse = 6025},
["Paras"] = {chance = 20, corpse = 3007},
["Parasect"] = {chance = 200, corpse = 6027},
["Venonat"] = {chance = 60, corpse = 5997},
["Venomoth"] = {chance = 200, corpse = 2925},
["Diglett"] = {chance = 15, corpse = 6023},
["Dugtrio"] = {chance = 200, corpse = 6024},
["Meowth"] = {chance = 20, corpse = 6034},
["Persian"] = {chance = 200, corpse = 6009},
["Psyduck"] = {chance = 50, corpse = 6029},
["Golduck"] = {chance = 350, corpse = 6028},
["Mankey"] = {chance = 30, corpse = 6035},
["Primeape"] = {chance = 300, corpse = 6032},
["Growlithe"] = {chance = 60, corpse = 6036},
["Arcanine"] = {chance = 1000, corpse = 6031},
["Poliwag"] = {chance = 10, corpse = 6042},
["Poliwhirl"] = {chance = 200, corpse = 6054},
["Poliwrath"] = {chance = 800, corpse = 6033},
["Abra"] = {chance = 40, corpse = 2905},
["Kadabra"] = {chance = 250, corpse = 6060},
["Alakazam"] = {chance = 1000, corpse = 6057},
["Machop"] = {chance = 30, corpse = 6045},
["Machoke"] = {chance = 200, corpse = 4251},
["Machamp"] = {chance = 1000, corpse = 6048},
["Bellsprout"] = {chance = 10, corpse = 2806},
["Weepinbell"] = {chance = 100, corpse = 2928},
["Victreebel"] = {chance = 400, corpse = 6332},
["Tentacool"] = {chance = 15, corpse = 2961},
["Tentacruel"] = {chance = 800, corpse = 6037},
["Geodude"] = {chance = 20, corpse = 6071},
["Graveler"] = {chance = 200, corpse = 6516},
["Golem"] = {chance = 800, corpse = 6043},
["Ponyta"] = {chance = 40, corpse = 5975},
["Rapidash"] = {chance = 300, corpse = 4323},
["Slowpoke"] = {chance = 15, corpse = 2926},
["Slowbro"] = {chance = 300, corpse = 5986},
["Magnemite"] = {chance = 10, corpse = 6056},
["Magneton"] = {chance = 200, corpse = 6076},
["Magnezone"] = {chance = 1000, corpse = 14181},
["Milotic"] = {chance = 800, corpse = 14181},
["Farfetch'd"] = {chance = 300, corpse = 2836},
["Doduo"] = {chance = 20, corpse = 2842},
["Dodrio"] = {chance = 150, corpse = 6047},
["Seel"] = {chance = 20, corpse = 6030},
["Dewgong"] = {chance = 400, corpse = 6038},
["Grimer"] = {chance = 20, corpse = 6055},
["Muk"] = {chance = 300, corpse = 2845},
["Shellder"] = {chance = 20, corpse = 2837},
["Cloyster"] = {chance = 500, corpse = 2932},
["Gastly"] = {chance = 80, corpse = 5993},
["Haunter"] = {chance = 300, corpse = 6004},
["Gengar"] = {chance = 900, corpse = 6336},
["Onix"] = {chance = 350, corpse = 2990},
["Drowzee"] = {chance = 50, corpse = 6026},
["Hypno"] = {chance = 600, corpse = 6046},
["Krabby"] = {chance = 8, corpse = 6039},
["Kingler"] = {chance = 200, corpse = 6340},
["Voltorb"] = {chance = 30, corpse = 6049},
["Electrode"] = {chance = 220, corpse = 6051},
["Exeggcute"] = {chance = 20, corpse = 2982},
["Exeggutor"] = {chance = 400, corpse = 3005},
["Cubone"] = {chance = 30, corpse = 6050},
["Marowak"] = {chance = 250, corpse = 6072},
["Hitmonlee"] = {chance = 800, corpse = 6067},
["Hitmonchan"] = {chance = 800, corpse = 5977},
["Lickitung"] = {chance = 800, corpse = 2953},
["Koffing"] = {chance = 30, corpse = 2936},
["Weezing"] = {chance = 220, corpse = 6306},
["Rhyhorn"] = {chance = 100, corpse = 3035},
["Rhydon"] = {chance = 1000, corpse = 2858},
["Chansey"] = {chance = 1000, corpse = 6010},
["Tangela"] = {chance = 300, corpse = 5976},
["Kangaskhan"] = {chance = 1000, corpse = 6073},
["Horsea"] = {chance = 15, corpse = 2973},
["Seadra"] = {chance = 250, corpse = 2872},
["Goldeen"] = {chance = 10, corpse = 2970},
["Seaking"] = {chance = 150, corpse = 3038},
["Staryu"] = {chance = 30, corpse = 5987},
["Starmie"] = {chance = 400, corpse = 7320},
["Mr. Mime"] = {chance = 800, corpse = 6069},
["Scyther"] = {chance = 1800, corpse = 3002},
["Jynx"] = {chance = 500, corpse = 5765},
["Electabuzz"] = {chance = 700, corpse = 6065},
["Magmar"] = {chance = 600, corpse = 7283},
["Pinsir"] = {chance = 300, corpse = 7282},
["Tauros"] = {chance = 100, corpse = 6302},
["Magikarp"] = {chance = 2, corpse = 2818},
["Gyarados"] = {chance = 2000, corpse = 6331},
["Lapras"] = {chance = 1000, corpse = 6018},
["Ditto"] = {chance = 4000, corpse = 2817},
["Eevee"] = {chance = 4000, corpse = 6364},
["Vaporeon"] = {chance = 800, corpse = 5960},
["Jolteon"] = {chance = 800, corpse = 6044},
["Flareon"] = {chance = 800, corpse = 6059},
["Porygon"] = {chance = 800, corpse = 5963},
["Omanyte"] = {chance = 50, corpse = 5998},
["Omastar"] = {chance = 900, corpse = 5994},
["Kabuto"] = {chance = 50, corpse = 5972},
["Kabutops"] = {chance = 900, corpse = 6345},
["Shiny Kabutops"] = {chance = 2500, corpse = 17574},
["Aerodactyl"] = {chance = 1500, corpse = 6338},
["Snorlax"] = {chance = 1500, corpse = 6016},
["Dratini"] = {chance = 200, corpse = 2879},
["Dragonair"] = {chance = 400, corpse = 6002},
["Dragonite"] = {chance = 2500, corpse = 4295},

-------------Johto Catch----------

["Chikorita"] = {chance = 300, corpse = 8949},
["Bayleef"] = {chance = 800, corpse = 8943},
["Meganium"] = {chance = 1500, corpse = 9872},
["Cyndaquil"] = {chance = 300, corpse = 8956},
["Quilava"] = {chance = 800, corpse = 9920},
["Typhlosion"] = {chance = 1800, corpse = 10521},
["Totodile"] = {chance = 300, corpse = 10520},
["Croconaw"] = {chance = 800, corpse = 8955},
["Feraligatr"] = {chance = 2500, corpse = 8967},
["Sentret"] = {chance = 20, corpse = 9935},
["Furret"] = {chance = 150, corpse = 9009},
["Hoothoot"] = {chance = 20, corpse = 9774},
["Noctowl"] = {chance = 600, corpse = 9879},
["Ledyba"] = {chance = 10, corpse = 9829},
["Ledian"] = {chance = 100, corpse = 9824},
["Spinarak"] = {chance = 10, corpse = 9965},
["Ariados"] = {chance = 200, corpse = 8941},
["Crobat"] = {chance = 900, corpse = 8953},
["Chinchou"] = {chance = 30, corpse = 8950},
["Lanturn"] = {chance = 400, corpse = 9803},
["Pichu"] = {chance = 30, corpse = 9882},
["Cleffa"] = {chance = 80, corpse = 8951},
["Igglybuff"] = {chance = 80, corpse = 9783},
["Togepi"] = {chance = 80, corpse = 10518},
["Togetic"] = {chance = 1200, corpse = 10519},
["Natu"] = {chance = 50, corpse = 9877},
["Xatu"] = {chance = 900, corpse = 8937},
["Mareep"] = {chance = 20, corpse = 9869},
["Flaaffy"] = {chance = 800, corpse = 8968},
["Ampharos"] = {chance = 1800, corpse = 8939},
["Bellossom"] = {chance = 400, corpse = 8946},
["Marill"] = {chance = 50, corpse = 9871},
["Azumarill"] = {chance = 400, corpse = 8942},
["Sudowoodo"] = {chance = 1000, corpse = 10005},
["Politoed"] = {chance = 800, corpse = 9915},
["Hoppip"] = {chance = 10, corpse = 9775},
["Skiploom"] = {chance = 80, corpse = 9937},
["Jumpluff"] = {chance = 250, corpse = 9801},
["Aipom"] = {chance = 100, corpse = 8938},
["Sunkern"] = {chance = 5, corpse = 10015},
["Sunflora"] = {chance = 200, corpse = 10008},
["Yanma"] = {chance = 150, corpse = 8935},
["Wooper"] = {chance = 50, corpse = 10603},
["Quagsire"] = {chance = 600, corpse = 9919},
["Espeon"] = {chance = 800, corpse = 8966},
["Umbreon"] = {chance = 800, corpse = 10525},
["Murkrow"] = {chance = 400, corpse = 9876},
["Slowking"] = {chance = 2500, corpse = 9938},
["Misdreavus"] = {chance = 2000, corpse = 9875},
["Wobbuffet"] = {chance = 4000, corpse = 10539},
["Girafarig"] = {chance = 1000, corpse = 9081},
["Pineco"] = {chance = 20, corpse = 9914},
["Forretress"] = {chance = 400, corpse = 8969},
["Dunsparce"] = {chance = 60, corpse = 8960},
["Gligar"] = {chance = 100, corpse = 9083},
["Steelix"] = {chance = 2500, corpse = 10003},
["Snubbull"] = {chance = 100, corpse = 9964},
["Granbull"] = {chance = 600, corpse = 9107},
["Qwilfish"] = {chance = 400, corpse = 9921},
["Scizor"] = {chance = 2500, corpse = 9925},
["Shiny Scizor"] = {chance = 2500, corpse = 17593},
["Shuckle"] = {chance = 10, corpse = 9924},
["Heracross"] = {chance = 800, corpse = 9654},
["Sneasel"] = {chance = 300, corpse = 9963},
["Teddiursa"] = {chance = 100, corpse = 10508},
["Ursaring"] = {chance = 2500, corpse = 10538},
["Slugma"] = {chance = 80, corpse = 9960},
["Magcargo"] = {chance = 400, corpse = 9867},
["Swinub"] = {chance = 80, corpse = 10171},
["Piloswine"] = {chance = 400, corpse = 9913},
["Corsola"] = {chance = 400, corpse = 8952},
["Remoraid"] = {chance = 80, corpse = 9923},
["Octillery"] = {chance = 400, corpse = 9880},
["Delibird"] = {chance = 400, corpse = 8957},
["Mantine"] = {chance = 1800, corpse = 9868},
["Skarmory"] = {chance = 2500, corpse = 9936},
["Houndour"] = {chance = 80, corpse = 9781},
["Houndoom"] = {chance = 1800, corpse = 9780},
["Kingdra"] = {chance = 2500, corpse = 9802},
["Phanpy"] = {chance = 80, corpse = 9881},
["Donphan"] = {chance = 1000, corpse = 8958},
["Porygon2"] = {chance = 2500, corpse = 9916},
["Stantler"] = {chance = 400, corpse = 10002},
["Smeargle"] = {chance = 3000, corpse = 9961},
["Tyrogue"] = {chance = 300, corpse = 10524},
["Hitmontop"] = {chance = 800, corpse = 9658},
["Smoochum"] = {chance = 100, corpse = 9962},
["Elekid"] = {chance = 200, corpse = 8964},
["Magby"] = {chance = 200, corpse = 9831},
["Miltank"] = {chance = 1500, corpse = 9873},
["Blissey"] = {chance = 2000, corpse = 8947},
["Larvitar"] = {chance = 200, corpse = 9823},
["Pupitar"] = {chance = 500, corpse = 9917},
["Tyranitar"] = {chance = 2500, corpse = 10522},

["Giant Magikarp"] = {chance = 1500, corpse = 12749},
------------Shiny Catch-----------

["Shiny Venusaur"] = {chance = 800, corpse = 12422},
["Shiny Charizard"] = {chance = 800, corpse = 12425},
["Shiny Blastoise"] = {chance = 800, corpse = 12583}, --alterado v1.4
["Shiny Butterfree"] = {chance = 500, corpse = 12431},
["Shiny Beedrill"] = {chance = 500, corpse = 12434},
["Shiny Pidgeot"] = {chance = 800, corpse = 12437},
["Shiny Rattata"] = {chance = 100, corpse = 12438},
["Shiny Raticate"] = {chance = 200, corpse = 12439},
["Shiny Fearow"] = {chance = 800, corpse = 12441},
["Shiny Raichu"] = {chance = 800, corpse = 12445},
["Shiny Nidoking"] = {chance = 800, corpse = 12453},
["Shiny Zubat"] = {chance = 500, corpse = 12460},
["Shiny Golbat"] = {chance = 800, corpse = 12461},
["Shiny Oddish"] = {chance = 500, corpse = 12462},
["Shiny Vileplume"] = {chance = 800, corpse = 12464},
["Shiny Paras"] = {chance = 200, corpse = 12465},
["Shiny Parasect"] = {chance = 500, corpse = 12466},
["Shiny Venonat"] = {chance = 250, corpse = 12467},
["Shiny Venomoth"] = {chance = 500, corpse = 12468},
["Shiny Growlithe"] = {chance = 700, corpse = 12477},
["Shiny Arcanine"] = {chance = 800, corpse = 12478},
["Shiny Alakazam"] = {chance = 800, corpse = 12484},
["Shiny Tentacool"] = {chance = 350, corpse = 12491},
["Shiny Tentacruel"] = {chance = 800, corpse = 12492},
["Shiny Golem"] = {chance = 800, corpse = 12495},
["Shiny Farfetch'd"] = {chance = 800, corpse = 12502},
["Shiny Grimer"] = {chance = 700, corpse = 12507},
["Shiny Muk"] = {chance = 800, corpse = 12508},
["Shiny Gengar"] = {chance = 800, corpse = 12513},
["Shiny Onix"] = {chance = 1500, corpse = 12514},
["Shiny Hypno"] = {chance = 800, corpse = 12516},
["Shiny Krabby"] = {chance = 200, corpse = 12517},
["Shiny Kingler"] = {chance = 450, corpse = 12518},
["Shiny Voltorb"] = {chance = 250, corpse = 12519},
["Shiny Electrode"] = {chance = 400, corpse = 12520},
["Shiny Cubone"] = {chance = 450, corpse = 12524},
["Shiny Marowak"] = {chance = 800, corpse = 12525},
["Shiny Hitmonlee"] = {chance = 800, corpse = 12526},
["Shiny Hitmonchan"] = {chance = 800, corpse = 12527},
["Shiny Tangela"] = {chance = 800, corpse = 12534},
["Shiny Horsea"] = {chance = 100, corpse = 12536},
["Shiny Seadra"] = {chance = 250, corpse = 12537},
["Shiny Scyther"] = {chance = 1200, corpse = 12543},
["Shiny Jynx"] = {chance = 800, corpse = 12544},
["Shiny Electabuzz"] = {chance = 800, corpse = 12545},
["Shiny Pinsir"] = {chance = 800, corpse = 12547},
["Shiny Magikarp"] = {chance = 80, corpse = 12549},  
["Shiny Giant Magikarp"] = {chance = 800, corpse = 12748},                  
["Shiny Gyarados"] = {chance = 2000, corpse = 12550},
["Shiny Vaporeon"] = {chance = 800, corpse = 12554},
["Shiny Jolteon"] = {chance = 300, corpse = 12555},
["Shiny Flareon"] = {chance = 300, corpse = 12556},
["Shiny Snorlax"] = {chance = 1500, corpse = 12680},
["Shiny Dratini"] = {chance = 700, corpse = 12567},
["Shiny Dragonair"] = {chance = 800, corpse = 12568},

["Shiny Mr. Mime"] = {chance = 900, corpse = 12595}, --alterado v1.9
["Shiny Rhydon"] = {chance = 1500, corpse = 12596},
["Shiny Ninetales"] = {chance = 1200, corpse = 12597},
["Shiny Ariados"] = {chance = 1500, corpse = 12598},
["Shiny Magneton"] = {chance = 1200, corpse = 12599},
["Shiny Espeon"] = {chance = 1200, corpse = 12600},
["Shiny Politoed"] = {chance = 1500, corpse = 12601},
["Shiny Umbreon"] = {chance = 1200, corpse = 12602},
["Shiny Stantler"] = {chance = 1200, corpse = 12603},
["Shiny Dodrio"] = {chance = 1200, corpse = 12604},
["Shiny Weezing"] = {chance = 800, corpse = 12686},
["Shiny Sandslash"] = {chance = 800, corpse = 12687},
["Shiny Crobat"] = {chance = 800, corpse = 12743},
["Shiny Magmar"] = {chance = 800, corpse = 12744},
["Shiny Magmortar"] = {chance = 1000, corpse = 13931},
["Shiny Electivire"] = {chance = 1000, corpse = 13940},
["Shiny Ampharos"] = {chance = 800, corpse = 12835},
["Shiny Feraligatr"] = {chance = 800, corpse = 12837},
["Shiny Larvitar"] = {chance = 800, corpse = 12839},
["Shiny Machamp"] = {chance = 800, corpse = 12841},
["Shiny Meganium"] = {chance = 800, corpse = 12843},
["Shiny Pupitar"] = {chance = 800, corpse = 12845},
["Shiny Tauros"] = {chance = 800, corpse = 12847},
["Shiny Typhlosion"] = {chance = 800, corpse = 12849},
["Shiny Xatu"] = {chance = 800, corpse = 12851},

["Shiny Arbok"] = {chance = 600, corpse = 17499},
["Shiny Bulbasaur"] = {chance = 300, corpse = 17480},
["Shiny Caterpie"] = {chance = 100, corpse = 17492},
["Shiny Chansey"] = {chance = 700, corpse = 17549},
["Shiny Charmander"] = {chance = 300, corpse = 17481},
["Shiny Charmeleon"] = {chance = 600, corpse = 17482},
["Shiny Clefable"] = {chance = 300, corpse = 17508},
["Shiny Clefairy"] = {chance = 600, corpse = 17507},
["Shiny Cleffa"] = {chance = 300, corpse = 17512},
["Shiny Cloyster"] = {chance = 600, corpse = 17540},
["Shiny Dewgong"] = {chance = 600, corpse = 17557},
["Shiny Diglett"] = {chance = 100, corpse = 17555},
["Shiny Doduo"] = {chance = 100, corpse = 17538},
["Shiny Drowzee"] = {chance = 300, corpse = 17543},
["Shiny Dugtrio"] = {chance = 600, corpse = 17514},
["Shiny Ekans"] = {chance = 300, corpse = 17498},
["Shiny Elekid"] = {chance = 300, corpse = 12851},
["Shiny Exeggcute"] = {chance = 500, corpse = 17544},
["Shiny Exeggutor"] = {chance = 800, corpse = 17545},
["Shiny Gastly"] = {chance = 300, corpse = 17541},
["Shiny Geodude"] = {chance = 300, corpse = 17531},
["Shiny Gloom"] = {chance = 500, corpse = 17513},
["Shiny Goldeen"] = {chance = 200, corpse = 17550},
["Shiny Golduck"] = {chance = 800, corpse = 17518},
["Shiny Graveler"] = {chance = 600, corpse = 17532},
["Shiny Haunter"] = {chance = 600, corpse = 17542},
["Shiny Igglybuff"] = {chance = 300, corpse = 17488},
["Shiny Ivysaur"] = {chance = 600, corpse = 17485},
["Shiny Jigglypuff"] = {chance = 500, corpse = 17510},
["Shiny Kakuna"] = {chance = 300, corpse = 17495},
["Shiny Koffing"] = {chance = 300, corpse = 17547},
["Shiny Lickitung"] = {chance = 800, corpse = 17546},
["Shiny Machoke"] = {chance = 800, corpse = 17526},
["Shiny Machop"] = {chance = 400, corpse = 17524},
["Shiny Magnemite"] = {chance = 300, corpse = 12851},
["Shiny Mankey"] = {chance = 300, corpse = 17519},
["Shiny Meowth"] = {chance = 300, corpse = 17515},
["Shiny Metapod"] = {chance = 300, corpse = 17493},
["Shiny Nidoran Female"] = {chance = 100, corpse = 17503},
["Shiny Nidoran Male"] = {chance = 300, corpse = 17478},
["Shiny Nidorino"] = {chance = 600, corpse = 17479},
["Shiny Nidorina"] = {chance = 400, corpse = 17504},
["Shiny Pidgeotto"] = {chance = 500, corpse = 17497},
["Shiny Pidgey"] = {chance = 200, corpse = 17496},
["Shiny Pikachu"] = {chance = 500, corpse = 17506},
["Shiny Poliwag"] = {chance = 200, corpse = 17521},
["Shiny Poliwhirl"] = {chance = 500, corpse = 17522},
["Shiny Poliwrath"] = {chance = 800, corpse = 17523},
["Shiny Ponyta"] = {chance = 300, corpse = 17533},
["Shiny Porygon"] = {chance = 800, corpse = 17554},
["Shiny Psyduck"] = {chance = 500, corpse = 17517},
["Shiny Rapidash"] = {chance = 800, corpse = 17556},
["Shiny Rhyhorn"] = {chance = 600, corpse = 17548},
["Shiny Sandshrew"] = {chance = 300, corpse = 17501},
["Shiny Sandslash"] = {chance = 800, corpse = 17502},
["Shiny Seaking"] = {chance = 600, corpse = 17551},
["Shiny Seel"] = {chance = 300, corpse = 17558},
["Shiny Shellder"] = {chance = 300, corpse = 17539},
["Shiny Slowbro"] = {chance = 600, corpse = 17537},
["Shiny Slowpoke"] = {chance = 300, corpse = 17536},
["Shiny Spearow"] = {chance = 200, corpse = 17500},
["Shiny Squirtle"] = {chance = 300, corpse = 17490},
["Shiny Starmie"] = {chance = 800, corpse = 17553},
["Shiny Staryu"] = {chance = 300, corpse = 17552},
["Shiny Victreebel"] = {chance = 800, corpse = 17530},
["Shiny Vulpix"] = {chance = 300, corpse = 17509},
["Shiny Wartortle"] = {chance = 600, corpse = 17491},
["Shiny Weedle"] = {chance = 100, corpse = 17494},
["Shiny Weepinbell"] = {chance = 600, corpse = 17529},
["Shiny Wigglytuff"] = {chance = 800, corpse = 17511},

["Aggron"] = {chance = 1200},
}

newpokedex = {
["Bulbasaur"] = {gender = 875, level = 1, storage = 1001, stoCatch = 666001},
["Ivysaur"] = {gender = 875, level = 40, storage = 1002, stoCatch = 666002},
["Venusaur"] = {gender = 875, level = 85, storage = 1003, stoCatch = 666003},
["Charmander"] = {gender = 875, level = 1, storage = 1004, stoCatch = 666004},
["Charmeleon"] = {gender = 875, level = 40, storage = 1005, stoCatch = 666005},
["Charizard"] = {gender = 875, level = 85, storage = 1006, stoCatch = 666006},
["Squirtle"] = {gender = 875, level = 1, storage = 1007, stoCatch = 666007},
["Wartortle"] = {gender = 875, level = 40, storage = 1008, stoCatch = 666008},
["Blastoise"] = {gender = 875, level = 85, storage = 1009, stoCatch = 666009},
["Caterpie"] = {gender = 500, level = 5, storage = 1010, stoCatch = 666010},
["Metapod"] = {gender = 500, level = 15, storage = 1011, stoCatch = 666011},
["Butterfree"] = {gender = 500, level = 30, storage = 1012, stoCatch = 666012},
["Weedle"] = {gender = 500, level = 5, storage = 1013, stoCatch = 666013},
["Kakuna"] = {gender = 500, level = 15, 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 = 75, storage = 1018, stoCatch = 666018},
["Rattata"] = {gender = 500, level = 5, storage = 1019, stoCatch = 666019},
["Raticate"] = {gender = 500, level = 60, storage = 1020, stoCatch = 666020},
["Spearow"] = {gender = 500, level = 10, storage = 1021, stoCatch = 666021},
["Fearow"] = {gender = 500, level = 50, storage = 1022, stoCatch = 666022},
["Ekans"] = {gender = 500, level = 15, storage = 1023, stoCatch = 666023},
["Arbok"] = {gender = 500, level = 35, storage = 1024, stoCatch = 666024},
["Pikachu"] = {gender = 500, level = 40, storage = 1025, stoCatch = 666025},
["Raichu"] = {gender = 500, level = 85, storage = 1026, stoCatch = 666026},
["Sandshrew"] = {gender = 500, level = 20, storage = 1027, stoCatch = 666027},
["Sandslash"] = {gender = 500, level = 65, storage = 1028, stoCatch = 666028},
["Nidoran Female"] = {gender = 0, level = 10, storage = 1029, stoCatch = 666029},
["Nidorina"] = {gender = 0, level = 30, 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 = 30, storage = 1033, stoCatch = 666033},
["Nidoking"] = {gender = 1000, level = 65, storage = 1034, stoCatch = 666034},
["Clefairy"] = {gender = 250, level = 50, storage = 1035, stoCatch = 666035},
["Clefable"] = {gender = 250, level = 65, storage = 1036, stoCatch = 666036},
["Vulpix"] = {gender = 250, level = 15, storage = 1037, stoCatch = 666037},
["Ninetales"] = {gender = 250, level = 70, storage = 1038, stoCatch = 666038},
["Jigglypuff"] = {gender = 250, level = 40, storage = 1039, stoCatch = 666039},
["Wigglytuff"] = {gender = 250, level = 65, storage = 1040, stoCatch = 666040},
["Zubat"] = {gender = 500, level = 10, storage = 1041, stoCatch = 666041},
["Golbat"] = {gender = 500, level = 35, storage = 1042, stoCatch = 666042},
["Oddish"] = {gender = 500, level = 5, storage = 1043, stoCatch = 666043},
["Gloom"] = {gender = 500, level = 30, 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 = 50, storage = 1047, stoCatch = 666047},
["Venonat"] = {gender = 500, level = 20, storage = 1048, stoCatch = 666048},
["Venomoth"] = {gender = 500, level = 50, storage = 1049, stoCatch = 666049},
["Diglett"] = {gender = 500, level = 10, storage = 1050, stoCatch = 666050},
["Dugtrio"] = {gender = 500, level = 35, storage = 1051, stoCatch = 666051},
["Meowth"] = {gender = 500, level = 15, storage = 1052, stoCatch = 666052},
["Persian"] = {gender = 500, level = 30, storage = 1053, stoCatch = 666053},
["Psyduck"] = {gender = 500, level = 20, 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 = 50, storage = 1057, stoCatch = 666057},
["Growlithe"] = {gender = 750, level = 25, storage = 1058, stoCatch = 666058},
["Arcanine"] = {gender = 750, level = 80, storage = 1059, stoCatch = 666059},
["Arcanine lendario"] = {gender = 750, level = 80, storage = 1059, stoCatch = 666059},
["Poliwag"] = {gender = 500, level = 5, storage = 1060, stoCatch = 666060},
["Poliwhirl"] = {gender = 500, level = 25, storage = 1061, stoCatch = 666061},
["Poliwrath"] = {gender = 500, level = 65, storage = 1062, stoCatch = 666062},
["Abra"] = {gender = 750, level = 15, storage = 1063, stoCatch = 666063},
["Kadabra"] = {gender = 750, level = 45, storage = 1064, stoCatch = 666064},
["Alakazam"] = {gender = 750, level = 80, storage = 1065, stoCatch = 666065},
["Machop"] = {gender = 750, level = 20, storage = 1066, stoCatch = 666066},
["Machoke"] = {gender = 750, level = 45, storage = 1067, stoCatch = 666067},
["Machamp"] = {gender = 750, level = 80, storage = 1068, stoCatch = 666068},
["Bellsprout"] = {gender = 500, level = 5, storage = 1069, stoCatch = 666069},
["Weepinbell"] = {gender = 500, level = 25, storage = 1070, stoCatch = 666070},
["Victreebel"] = {gender = 500, level = 50, storage = 1071, stoCatch = 666071},
["Tentacool"] = {gender = 500, level = 15, storage = 1072, stoCatch = 666072},
["Tentacruel"] = {gender = 500, level = 75, 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 = 20, storage = 1077, stoCatch = 666077},
["Rapidash"] = {gender = 500, level = 50, storage = 1078, stoCatch = 666078},
["Slowpoke"] = {gender = 500, level = 15, 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 = 75, storage = 1082, stoCatch = 666082},
["Magnezone"] = {gender = -1, level = 100, storage = 1082, stoCatch = 666082},
["Farfetch'd"] = {gender = 500, level = 40, storage = 1083, stoCatch = 666083},
["Doduo"] = {gender = 500, level = 15, storage = 1084, stoCatch = 666084},
["Dodrio"] = {gender = 500, level = 45, storage = 1085, stoCatch = 666085},
["Seel"] = {gender = 500, level = 20, storage = 1086, stoCatch = 666086},
["Dewgong"] = {gender = 500, level = 65, storage = 1087, stoCatch = 666087},
["Grimer"] = {gender = 500, level = 15, storage = 1088, stoCatch = 666088},
["Muk"] = {gender = 500, level = 70, storage = 1089, stoCatch = 666089},
["Shellder"] = {gender = 500, level = 10, storage = 1090, stoCatch = 666090},
["Cloyster"] = {gender = 500, level = 60, storage = 1091, stoCatch = 666091},
["Gastly"] = {gender = 500, level = 20, storage = 1092, stoCatch = 666092},
["Haunter"] = {gender = 500, level = 45, storage = 1093, stoCatch = 666093},
["Gengar"] = {gender = 500, level = 80, storage = 1094, stoCatch = 666094},
["Onix"] = {gender = 500, level = 50, storage = 1095, stoCatch = 666095},
["Drowzee"] = {gender = 500, level = 25, storage = 1096, stoCatch = 666096},
["Hypno"] = {gender = 500, level = 55, storage = 1097, stoCatch = 666097},
["Krabby"] = {gender = 500, level = 10, storage = 1098, stoCatch = 666098},
["Kingler"] = {gender = 500, level = 40, storage = 1099, stoCatch = 666099},
["Voltorb"] = {gender = -1, level = 10, storage = 1100, stoCatch = 666100},
["Electrode"] = {gender = -1, level = 35, storage = 1101, stoCatch = 666101},
["Exeggcute"] = {gender = 500, level = 10, storage = 1102, stoCatch = 666102},
["Exeggutor"] = {gender = 500, level = 80, storage = 1103, stoCatch = 666103},
["Cubone"] = {gender = 500, level = 20, storage = 1104, stoCatch = 666104},
["Marowak"] = {gender = 500, level = 55, storage = 1105, stoCatch = 666105},
["Hitmonlee"] = {gender = 1000, level = 60, storage = 1106, stoCatch = 666106},
["Hitmonchan"] = {gender = 1000, level = 60, storage = 1107, stoCatch = 666107},
["Lickitung"] = {gender = 500, level = 55, storage = 1108, stoCatch = 666108},
["Koffing"] = {gender = 500, level = 15, storage = 1109, stoCatch = 666109},
["Weezing"] = {gender = 500, level = 35, storage = 1110, stoCatch = 666110},
["Rhyhorn"] = {gender = 500, level = 30, storage = 1111, stoCatch = 666111},
["Rhydon"] = {gender = 500, level = 75, storage = 1112, stoCatch = 666112},
["Chansey"] = {gender = 0, level = 60, storage = 1113, stoCatch = 666113},
["Tangela"] = {gender = 500, level = 50, storage = 1114, stoCatch = 666114},
["Kangaskhan"] = {gender = 0, level = 80, storage = 1115, stoCatch = 666115},
["Horsea"] = {gender = 500, level = 10, storage = 1116, stoCatch = 666116},
["Seadra"] = {gender = 500, level = 45, storage = 1117, stoCatch = 666117},
["Goldeen"] = {gender = 500, level = 10, storage = 1118, stoCatch = 666118},
["Seaking"] = {gender = 500, level = 35, storage = 1119, stoCatch = 666119},
["Staryu"] = {gender = -1, level = 15, storage = 1120, stoCatch = 666120},
["Starmie"] = {gender = -1, level = 75, storage = 1121, stoCatch = 666121},
["Mr. Mime"] = {gender = 500, level = 45, storage = 1122, stoCatch = 666122},
["Scyther"] = {gender = 500, level = 80, storage = 1123, stoCatch = 666123},
["Jynx"] = {gender = 0, level = 80, storage = 1124, stoCatch = 666124},
["Electabuzz"] = {gender = 750, level = 80, storage = 1125, stoCatch = 666125},
["Magmar"] = {gender = 750, level = 80, storage = 1126, stoCatch = 666126},
["Pinsir"] = {gender = 500, level = 45, storage = 1127, stoCatch = 666127},
["Tauros"] = {gender = 1000, level = 45, storage = 1128, stoCatch = 666128},
["Magikarp"] = {gender = 500, level = 1, storage = 1129, stoCatch = 666129},
["Gyarados"] = {gender = 500, level = 85, storage = 1130, stoCatch = 666130},
["Lapras"] = {gender = 500, level = 80, storage = 1131, stoCatch = 666131},
["Ditto"] = {gender = -1, level = 40, storage = 1132, stoCatch = 666132},
["Eevee"] = {gender = 875, level = 20, storage = 1133, stoCatch = 666133},
["Vaporeon"] = {gender = 875, level = 55, storage = 1134, stoCatch = 666134},
["Jolteon"] = {gender = 875, level = 55, storage = 1135, stoCatch = 666135},
["Flareon"] = {gender = 875, level = 55, storage = 1136, stoCatch = 666136},
["Porygon"] = {gender = -1, level = 40, storage = 1137, stoCatch = 666137},
["Omanyte"] = {gender = 875, level = 20, storage = 1138, stoCatch = 666138},
["Omastar"] = {gender = 875, level = 80, storage = 1139, stoCatch = 666139},
["Kabuto"] = {gender = 875, level = 20, storage = 1140, stoCatch = 666140},
["Kabutops"] = {gender = 875, level = 80, storage = 1141, stoCatch = 666141},
["Aerodactyl"] = {gender = 875, level = 100, storage = 1142, stoCatch = 666142},
["Snorlax"] = {gender = 875, level = 85, storage = 1143, stoCatch = 666143},
["Articuno"] = {gender = 500, level = 150, storage = 1144, stoCatch = 666144},
["Zapdos"] = {gender = 500, level = 150, storage = 1145, stoCatch = 666145},
["Moltres"] = {gender = 500, level = 150, storage = 1146, stoCatch = 666146},
["Dratini"] = {gender = 500, level = 20, storage = 1147, stoCatch = 666147},
["Dragonair"] = {gender = 500, level = 60, storage = 1148, stoCatch = 666148},
["Dragonite"] = {gender = 500, level = 100, storage = 1149, stoCatch = 666149},
["Mewtwo"] = {gender = 500, level = 150, storage = 1150, stoCatch = 666150},
["Mew"] = {gender = 500, level = 150, storage = 1151, stoCatch = 666151},
["Giant Magikarp"] = {gender = 875, level = 10, storage = 104, stoCatch = 666010},


["Shiny Venusaur"] = {gender = 875, level = 100, storage = 10030, stoCatch = 666154},
["Shiny Charizard"] = {gender = 875, level = 100, storage = 10060, stoCatch = 666157},
["Shiny Blastoise"] = {gender = 875, level = 100, storage = 10090, stoCatch = 666160},
["Shiny Butterfree"] = {gender = 500, level = 60, storage = 10120, stoCatch = 666163},
["Shiny Beedrill"] = {gender = 500, level = 60, storage = 10150, stoCatch = 666166},
["Shiny Pidgeot"] = {gender = 500, level = 100, storage = 10180, stoCatch = 666169},
["Shiny Rattata"] = {gender = 500, level = 10, storage = 10190, stoCatch = 666170},
["Shiny Raticate"] = {gender = 500, level = 60, storage = 10200, stoCatch = 666171},
["Shiny Fearow"] = {gender = 500, level = 100, storage = 10220, stoCatch = 666173},
["Shiny Raichu"] = {gender = 500, level = 100, storage = 10260, stoCatch = 666177},
["Shiny Nidoking"] = {gender = 1000, level = 100, storage = 10340, stoCatch = 666185},
["Shiny Zubat"] = {gender = 500, level = 10, storage = 10410, stoCatch = 666192},
["Shiny Golbat"] = {gender = 500, level = 60, storage = 10420, stoCatch = 666193},
["Shiny Oddish"] = {gender = 500, level = 10, storage = 10430, stoCatch = 666194},
["Shiny Vileplume"] = {gender = 500, level = 100, storage = 10450, stoCatch = 666196},
["Shiny Paras"] = {gender = 500, level = 10, storage = 10460, stoCatch = 666197},
["Shiny Parasect"] = {gender = 500, level = 60, storage = 10470, stoCatch = 666198},
["Shiny Venonat"] = {gender = 500, level = 30, storage = 10480, stoCatch = 666199},
["Shiny Venomoth"] = {gender = 500, level = 80, storage = 10490, stoCatch = 666200},
["Shiny Growlithe"] = {gender = 750, level = 35, storage = 10580, stoCatch = 666209},
["Shiny Arcanine"] = {gender = 750, level = 100, storage = 10590, stoCatch = 666210},
["Shiny Abra"] = {gender = 750, level = 80, storage = 10630, stoCatch = 666214},
["Shiny Alakazam"] = {gender = 750, level = 100, storage = 10650, stoCatch = 666216},
["Shiny Tentacool"] = {gender = 500, level = 25, storage = 10720, stoCatch = 666223},
["Shiny Tentacruel"] = {gender = 500, level = 100, storage = 10730, stoCatch = 666224},
["Shiny Golem"] = {gender = 500, level = 100, storage = 10760, stoCatch = 666227},
["Shiny Farfetch'd"] = {gender = 500, level = 100, storage = 10830, stoCatch = 666234},
["Shiny Grimer"] = {gender = 500, level = 25, storage = 10880, stoCatch = 666239},
["Shiny Muk"] = {gender = 500, level = 100, storage = 10890, stoCatch = 666240},
["Shiny Gengar"] = {gender = 500, level = 100, storage = 10940, stoCatch = 666245},
["Shiny Onix"] = {gender = 500, level = 100, storage = 10950, stoCatch = 666246},
["Shiny Hypno"] = {gender = 500, level = 100, storage = 10970, stoCatch = 666248},
["Shiny Krabby"] = {gender = 500, level = 15, storage = 10980, stoCatch = 666249},
["Shiny Kingler"] = {gender = 500, level = 60, storage = 10990, stoCatch = 666250},
["Shiny Voltorb"] = {gender = -1, level = 25, storage = 11000, stoCatch = 666251},
["Shiny Electrode"] = {gender = -1, level = 80, storage = 11010, stoCatch = 666252},
["Shiny Cubone"] = {gender = 500, level = 30, storage = 11040, stoCatch = 666255},
["Shiny Marowak"] = {gender = 500, level = 100, storage = 11050, stoCatch = 666256},
["Shiny Hitmonlee"] = {gender = 1000, level = 100, storage = 11060, stoCatch = 666257},
["Shiny Hitmonchan"] = {gender = 1000, level = 100, storage = 11070, stoCatch = 666258},
["Shiny Tangela"] = {gender = 500, level = 100, storage = 11140, stoCatch = 666265},
["Shiny Horsea"] = {gender = 500, level = 15, storage = 11160, stoCatch = 666267},
["Shiny Seadra"] = {gender = 500, level = 60, storage = 11170, stoCatch = 666268},
["Shiny Scyther"] = {gender = 500, level = 100, storage = 11230, stoCatch = 666274},
["Shiny Jynx"] = {gender = 0, level = 100, storage = 11240, stoCatch = 666275},
["Shiny Electabuzz"] = {gender = 750, level = 100, storage = 11250, stoCatch = 666276},
["Shiny Pinsir"] = {gender = 500, level = 100, storage = 11270, stoCatch = 666278},
["Shiny Magikarp"] = {gender = 500, level = 10, storage = 11290, stoCatch = 666280},
["Shiny Gyarados"] = {gender = 500, level = 120, storage = 11300, stoCatch = 666281},
["Shiny Vaporeon"] = {gender = 875, level = 100, storage = 11340, stoCatch = 666285},
["Shiny Jolteon"] = {gender = 875, level = 100, storage = 11350, stoCatch = 666286},
["Shiny Flareon"] = {gender = 875, level = 100, storage = 11360, stoCatch = 666287},
["Shiny Snorlax"] = {gender = 875, level = 120, storage = 11430, stoCatch = 666294},
["Shiny Dratini"] = {gender = 500, level = 25, storage = 11470, stoCatch = 666298},
["Shiny Dragonair"] = {gender = 500, level = 100, storage = 11480, stoCatch = 666299},
["Shiny Dragonite"] = {gender = 500, level = 120, storage = 11490, stoCatch = 666300},

["Chikorita"] = {gender = 875, level = 20, storage = 1152, stoCatch = 666303},
["Bayleef"] = {gender = 875, level = 40, storage = 1153, stoCatch = 666304},
["Meganium"] = {gender = 875, level = 85, storage = 1154, stoCatch = 666305},
["Cyndaquil"] = {gender = 875, level = 20, storage = 1155, stoCatch = 666306},
["Quilava"] = {gender = 875, level = 40, storage = 1156, stoCatch = 666307},
["Typhlosion"] = {gender = 875, level = 85, storage = 1157, stoCatch = 666308},
["Totodile"] = {gender = 875, level = 20, storage = 1158, stoCatch = 666309},
["Croconaw"] = {gender = 875, level = 40, storage = 1159, stoCatch = 666310},
["Feraligatr"] = {gender = 875, level = 85, storage = 1160, stoCatch = 666311},
["Sentret"] = {gender = 500, level = 15, storage = 1161, stoCatch = 666312},
["Furret"] = {gender = 500, level = 35, storage = 1162, stoCatch = 666313},
["Hoothoot"] = {gender = 500, level = 20, storage = 1163, stoCatch = 666314},
["Noctowl"] = {gender = 500, level = 65, storage = 1164, stoCatch = 666315},
["Ledyba"] = {gender = 500, level = 15, storage = 1165, stoCatch = 666316},
["Ledian"] = {gender = 500, level = 35, storage = 1166, stoCatch = 666317},
["Spinarak"] = {gender = 500, level = 10, storage = 1167, stoCatch = 666318},
["Ariados"] = {gender = 500, level = 40, storage = 1168, stoCatch = 666319},
["Crobat"] = {gender = 500, level = 80, storage = 1169, stoCatch = 666320},
["Chinchou"] = {gender = 500, level = 15, storage = 1170, stoCatch = 666321},
["Lanturn"] = {gender = 500, level = 50, storage = 1171, stoCatch = 666322},
["Pichu"] = {gender = 500, level = 20, storage = 1172, stoCatch = 666323},
["Cleffa"] = {gender = 500, level = 20, storage = 1173, stoCatch = 666324},
["Igglybuff"] = {gender = 500, level = 20, storage = 1174, stoCatch = 666325},
["Togepi"] = {gender = 500, level = 5, storage = 1175, stoCatch = 666326},
["Togetic"] = {gender = 875, level = 60, storage = 1176, stoCatch = 666327},
["Natu"] = {gender = 500, level = 25, storage = 1177, stoCatch = 666328},
["Xatu"] = {gender = 500, level = 75, storage = 1178, stoCatch = 666329},
["Mareep"] = {gender = 500, level = 20, storage = 1179, stoCatch = 666330},
["Flaaffy"] = {gender = 500, level = 40, storage = 1180, stoCatch = 666331},
["Ampharos"] = {gender = 500, level = 85, storage = 1181, stoCatch = 666332},
["Bellossom"] = {gender = 500, level = 50, storage = 1182, stoCatch = 666333},
["Marill"] = {gender = 500, level = 20, storage = 1183, stoCatch = 666334},
["Azumarill"] = {gender = 500, level = 65, storage = 1184, stoCatch = 666335},
["Sudowoodo"] = {gender = 500, level = 80, storage = 1185, stoCatch = 666336},
["Politoed"] = {gender = 500, level = 65, storage = 1186, stoCatch = 666337},
["Hoppip"] = {gender = 500, level = 5, storage = 1187, stoCatch = 666338},
["Skiploom"] = {gender = 500, level = 25, storage = 1188, stoCatch = 666339},
["Jumpluff"] = {gender = 500, level = 50, storage = 1189, stoCatch = 666340},
["Aipom"] = {gender = 500, level = 40, storage = 1190, stoCatch = 666341},
["Sunkern"] = {gender = 500, level = 5, storage = 1191, stoCatch = 666342},
["Sunflora"] = {gender = 500, level = 30, storage = 1192, stoCatch = 666343},
["Yanma"] = {gender = 500, level = 50, storage = 1193, stoCatch = 666344},
["Wooper"] = {gender = 500, level = 20, storage = 1194, stoCatch = 666345},
["Quagsire"] = {gender = 500, level = 65, storage = 1195, stoCatch = 666346},
["Espeon"] = {gender = 875, level = 55, storage = 1196, stoCatch = 666347},
["Umbreon"] = {gender = 875, level = 55, storage = 1197, stoCatch = 666348},
["Murkrow"] = {gender = 500, level = 55, storage = 1198, stoCatch = 666349},
["Slowking"] = {gender = 500, level = 100, storage = 1199, stoCatch = 666350},
["Misdreavus"] = {gender = 500, level = 80, storage = 1200, stoCatch = 666351},
["Unown"] = {gender = 500, level = 100, storage = 1201, stoCatch = 666352},
["Wobbuffet"] = {gender = 500, level = 80, storage = 1202, stoCatch = 666353},
["Girafarig"] = {gender = 500, level = 80, storage = 1203, stoCatch = 666354},
["Pineco"] = {gender = 500, level = 15, storage = 1204, stoCatch = 666355},
["Forretress"] = {gender = 500, level = 65, storage = 1205, stoCatch = 666356},
["Dunsparce"] = {gender = 500, level = 30, storage = 1206, stoCatch = 666357},
["Gligar"] = {gender = 500, level = 40, storage = 1207, stoCatch = 666358},
["Steelix"] = {gender = 500, level = 100, storage = 1208, stoCatch = 666359},
["Snubbull"] = {gender = 250, level = 30, storage = 1209, stoCatch = 666360},
["Granbull"] = {gender = 250, level = 65, storage = 1210, stoCatch = 666361},
["Qwilfish"] = {gender = 500, level = 55, storage = 1211, stoCatch = 666362},
["Scizor"] = {gender = 500, level = 100, storage = 1212, stoCatch = 666363},
["Shuckle"] = {gender = 500, level = 30, storage = 1213, stoCatch = 666364},
["Heracross"] = {gender = 500, level = 80, storage = 1214, stoCatch = 666365},
["Sneasel"] = {gender = 500, level = 55, storage = 1215, stoCatch = 666366},
["Teddiursa"] = {gender = 500, level = 20, storage = 1216, stoCatch = 666367},
["Ursaring"] = {gender = 500, level = 90, storage = 1217, stoCatch = 666368},
["Slugma"] = {gender = 500, level = 15, storage = 1218, stoCatch = 666369},
["Magcargo"] = {gender = 500, level = 60, storage = 1219, stoCatch = 666370},
["Swinub"] = {gender = 500, level = 15, storage = 1220, stoCatch = 666371},
["Piloswine"] = {gender = 500, level = 80, storage = 1221, stoCatch = 666372},
["Corsola"] = {gender = 250, level = 50, storage = 1222, stoCatch = 666373},
["Remoraid"] = {gender = 500, level = 10, storage = 1223, stoCatch = 666374},
["Octillery"] = {gender = 500, level = 70, storage = 1224, stoCatch = 666375},
["Delibird"] = {gender = 500, level = 40, storage = 1225, stoCatch = 666376},
["Mantine"] = {gender = 500, level = 80, storage = 1226, stoCatch = 666377},
["Skarmory"] = {gender = 500, level = 85, storage = 1227, stoCatch = 666378},
["Houndour"] = {gender = 500, level = 50, storage = 1228, stoCatch = 666379},
["Houndoom"] = {gender = 500, level = 80, storage = 1229, stoCatch = 666380},
["Kingdra"] = {gender = 500, level = 90, storage = 1230, stoCatch = 666381},
["Phanpy"] = {gender = 500, level = 20, storage = 1231, stoCatch = 666382},
["Donphan"] = {gender = 500, level = 80, storage = 1232, stoCatch = 666383},
["Porygon2"] = {gender = -1, level = 75, storage = 1233, stoCatch = 666384},
["Stantler"] = {gender = 500, level = 55, storage = 1234, stoCatch = 666385},
["Smeargle"] = {gender = 500, level = 80, storage = 1235, stoCatch = 666386},
["Tyrogue"] = {gender = 500, level = 30, storage = 1236, stoCatch = 666387},
["Hitmontop"] = {gender = 1000, level = 60, storage = 1237, stoCatch = 666388},
["Smoochum"] = {gender = 500, 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 = 100, storage = 1242, stoCatch = 666393},
["Raikou"] = {gender = 500, level = 150, storage = 1243, stoCatch = 666394},
["Entei"] = {gender = 500, level = 150, storage = 1244, stoCatch = 666395},
["Suicune"] = {gender = 500, level = 150, storage = 1245, stoCatch = 666396},
["Larvitar"] = {gender = 500, level = 20, storage = 1246, stoCatch = 666397},
["Pupitar"] = {gender = 500, level = 65, storage = 1247, stoCatch = 666398},
["Tyranitar"] = {gender = 500, level = 100, storage = 1248, stoCatch = 666399},
["Lugia"] = {gender = 500, level = 150, storage = 1249, stoCatch = 666400},
["Ho-oh"] = {gender = 500, level = 150, storage = 1250, stoCatch = 666401},
["Celebi"] = {gender = 500, level = 150, storage = 1251, stoCatch = 666402},

["Shiny Hitmontop"] = {gender = 1000, level = 100, storage = 11520, stoCatch = 666403},
["Shiny Mr. Mime"] = {gender = 500, level = 150, storage = 11521, stoCatch = 666404},
["Shiny Rhydon"] = {gender = 500, level = 150, storage = 11522, stoCatch = 666405},
["Shiny Ninetales"] = {gender = 250, level = 150, storage = 11523, stoCatch = 666406},
["Shiny Ariados"] = {gender = 500, level = 150, storage = 11524, stoCatch = 666407},
["Shiny Magneton"] = {gender = -1, level = 150, storage = 11525, stoCatch = 666408},
["Shiny Espeon"] = {gender = 875, level = 150, storage = 11526, stoCatch = 666409},
["Shiny Politoed"] = {gender = 500, level = 150, storage = 11527, stoCatch = 666410},
["Shiny Umbreon"] = {gender = 875, level = 150, storage = 11528, stoCatch = 666411},
["Shiny Stantler"] = {gender = 500, level = 150, storage = 11529, stoCatch = 666412},
["Shiny Dodrio"] = {gender = 500, level = 150, storage = 11530, stoCatch = 666413},
["Shiny Weezing"] = {gender = 875, level = 100, storage = 11540, stoCatch = 666006},
["Shiny Sandslash"] = {gender = 875, level = 100, storage = 11541, stoCatch = 666007},
["Shiny Crobat"] = {gender = 875, level = 100, storage = 11542, stoCatch = 666008},
["Shiny Magmar"] = {gender = 875, level = 100, storage = 11543, stoCatch = 666009},
["Shiny Giant Magikarp"] = {gender = 875, level = 100, storage = 11545, stoCatch = 666011},
["Shiny Ampharos"] = {gender = 875, level = 100, storage = 11531, stoCatch = 666012},
["Shiny Feraligatr"] = {gender = 875, level = 100, storage = 11532, stoCatch = 666013},
["Shiny Machamp"] = {gender = 875, level = 100, storage = 11534, stoCatch = 666015},
["Shiny Meganium"] = {gender = 875, level = 100, storage = 11535, stoCatch = 666016},
["Shiny Larvitar"] = {gender = 875, level = 60, storage = 11533, stoCatch = 666014},
["Shiny Pupitar"] = {gender = 875, level = 100, storage = 11536, stoCatch = 666017},
["Shiny Tauros"] = {gender = 875, level = 100, storage = 11537, stoCatch = 666018},
["Shiny Typhlosion"] = {gender = 875, level = 100, storage = 11538, stoCatch = 666019},
["Shiny Xatu"] = {gender = 875, level = 100, storage = 11539, stoCatch = 666020},
["Shiny Ditto"] = {gender = -1, level = 100, storage = 11540, stoCatch = 666021},

["Shiny Magcargo"] = {gender = 875, level = 100, storage = 11540, stoCatch = 5000},
["Shiny Lanturn"] = {gender = 875, level = 100, storage = 11541, stoCatch = 5001},
["Shiny Magmortar"] = {gender = 875, level = 150, storage = 11542, stoCatch = 5003},
["Shiny Electivire"] = {gender = 875, level = 150, storage = 11543, stoCatch = 5004},
["Magmortar"] = {gender = 875, level = 100, storage = 11542, stoCatch = 5005},
["Electivire"] = {gender = 875, level = 100, storage = 11543, stoCatch = 5006},
["Shiny Mantine"] = {gender = 500, level = 150, storage = 1226, stoCatch = 5007},
["Salamence"] = {gender = 500, level = 120, storage = 1149, stoCatch = 5008},
["Shiny Salamence"] = {gender = 500, level = 150, storage = 1149, stoCatch = 5009},
["Milotic"] = {gender = 500, level = 150, storage = 1130, stoCatch = 5010},
["Tropius"] = {gender = 500, level = 90, storage = 16000, stoCatch = 5011},
["Absol"] = {gender = 500, level = 130, storage = 16001, stoCatch = 5012},
["Wailord"] = {gender = 500, level = 150, storage = 16002, stoCatch = 5013},
["Beldum"] = {gender = 500, level = 25, storage = 16003, stoCatch = 5014},
["Metang"] = {gender = 500, level = 80, storage = 16004, stoCatch = 5015},
["Metagross"] = {gender = 500, level = 150, storage = 16005, stoCatch = 5016},
["Shiny Arbok"] = {gender = 500, level = 150, storage = 16006, stoCatch = 5017},
["Shiny Bulbasaur"] = {gender = 500, level = 150, storage = 16007, stoCatch = 5018},
["Shiny Caterpie"] = {gender = 500, level = 150, storage = 16008, stoCatch = 5019},
["Shiny Chansey"] = {gender = 500, level = 150, storage = 16009, stoCatch = 5020},
["Shiny Charmander"] = {gender = 500, level = 150, storage = 16010, stoCatch = 5021},
["Shiny Charmeleon"] = {gender = 500, level = 150, storage = 16011, stoCatch = 5022},
["Shiny Clefable"] = {gender = 500, level = 150, storage = 16012, stoCatch = 5023},
["Shiny Clefairy"] = {gender = 500, level = 150, storage = 16013, stoCatch = 5024},
["Shiny Cleffa"] = {gender = 500, level = 150, storage = 16014, stoCatch = 5025},
["Shiny Cloyster"] = {gender = 500, level = 150, storage = 16015, stoCatch = 5026},
["Shiny Dewgong"] = {gender = 500, level = 150, storage = 16016, stoCatch = 5027},
["Shiny Diglett"] = {gender = 500, level = 150, storage = 16017, stoCatch = 5028},
["Shiny Doduo"] = {gender = 500, level = 150, storage = 16018, stoCatch = 5029},
["Shiny Drowzee"] = {gender = 500, level = 150, storage = 16019, stoCatch = 5030},
["Shiny Dugtrio"] = {gender = 500, level = 150, storage = 16020, stoCatch = 5031},
["Shiny Ekans"] = {gender = 500, level = 150, storage = 16021, stoCatch = 5032},
["Shiny Elekid"] = {gender = 500, level = 150, storage = 16022, stoCatch = 5033},
["Shiny Exeggcute"] = {gender = 500, level = 150, storage = 16023, stoCatch = 5034},
["Shiny Exeggutor"] = {gender = 500, level = 150, storage = 16024, stoCatch = 5035},
["Shiny Gastly"] = {gender = 500, level = 150, storage = 16025, stoCatch = 5036},
["Shiny Geodude"] = {gender = 500, level = 150, storage = 16026, stoCatch = 5037},
["Shiny Gloom"] = {gender = 500, level = 150, storage = 16027, stoCatch = 5038},
["Shiny Goldeen"] = {gender = 500, level = 150, storage = 16028, stoCatch = 5039},
["Shiny Golduck"] = {gender = 500, level = 150, storage = 16029, stoCatch = 5040},
["Shiny Graveler"] = {gender = 500, level = 150, storage = 16030, stoCatch = 5041},
["Shiny Haunter"] = {gender = 500, level = 150, storage = 16031, stoCatch = 5042},
["Shiny Igglybuff"] = {gender = 500, level = 150, storage = 16032, stoCatch = 5043},
["Shiny Ivysaur"] = {gender = 500, level = 150, storage = 16033, stoCatch = 5044},
["Shiny Jigglypuff"] = {gender = 500, level = 150, storage = 16034, stoCatch = 5045},
["Shiny Kakuna"] = {gender = 500, level = 150, storage = 16035, stoCatch = 5046},
["Shiny Koffing"] = {gender = 500, level = 150, storage = 16036, stoCatch = 5047},
["Shiny Lickitung"] = {gender = 500, level = 150, storage = 16037, stoCatch = 5048},
["Shiny Machoke"] = {gender = 500, level = 150, storage = 16038, stoCatch = 5049},
["Shiny Machop"] = {gender = 500, level = 150, storage = 16039, stoCatch = 5050},
["Shiny Magnemite"] = {gender = 500, level = 150, storage = 16040, stoCatch = 5051},
["Shiny Mankey"] = {gender = 500, level = 150, storage = 16041, stoCatch = 5052},
["Shiny Meowth"] = {gender = 500, level = 150, storage = 16042, stoCatch = 5053},
["Shiny Metapod"] = {gender = 500, level = 150, storage = 16043, stoCatch = 5054},
["Shiny Nidoran Female"] = {gender = 500, level = 150, storage = 16044, stoCatch = 5055},
["Shiny Nidoran Male"] = {gender = 500, level = 150, storage = 16045, stoCatch = 5056},
["Shiny Nidorina"] = {gender = 500, level = 150, storage = 160046, stoCatch = 5057},
["Shiny Nidorino"] = {gender = 500, level = 150, storage = 16047, stoCatch = 5058},
["Shiny Pidgeotto"] = {gender = 500, level = 150, storage = 16048, stoCatch = 5059},
["Shiny Pidgey"] = {gender = 500, level = 150, storage = 16049, stoCatch = 5060},
["Shiny Pikachu"] = {gender = 500, level = 150, storage = 16050, stoCatch = 5061},
["Shiny Poliwag"] = {gender = 500, level = 150, storage = 16051, stoCatch = 5062},
["Shiny Poliwhirl"] = {gender = 500, level = 150, storage = 16052, stoCatch = 5063},
["Shiny Poliwrath"] = {gender = 500, level = 150, storage = 16053, stoCatch = 5064},
["Shiny Ponyta"] = {gender = 500, level = 150, storage = 16054, stoCatch = 5065},
["Shiny Porygon"] = {gender = 500, level = 150, storage = 16055, stoCatch = 5066},
["Shiny Psyduck"] = {gender = 500, level = 150, storage = 16056, stoCatch = 5067},
["Shiny Rapidash"] = {gender = 500, level = 150, storage = 16057, stoCatch = 5068},
["Shiny Rhyhorn"] = {gender = 500, level = 150, storage = 16058, stoCatch = 5069},
["Shiny Sandshrew"] = {gender = 500, level = 150, storage = 16059, stoCatch = 5070},
["Shiny Sandslash"] = {gender = 500, level = 150, storage = 16060, stoCatch = 5071},
["Shiny Seaking"] = {gender = 500, level = 150, storage = 16061, stoCatch = 5072},
["Shiny Seel"] = {gender = 500, level = 150, storage = 16062, stoCatch = 5073},
["Shiny Shellder"] = {gender = 500, level = 150, storage = 16063, stoCatch = 5074},
["Shiny Slowbro"] = {gender = 500, level = 150, storage = 16064, stoCatch = 5075},
["Shiny Slowpoke"] = {gender = 500, level = 150, storage = 16065, stoCatch = 5076},
["Shiny Spearow"] = {gender = 500, level = 150, storage = 16066, stoCatch = 5077},
["Shiny Squirtle"] = {gender = 500, level = 150, storage = 16067, stoCatch = 5078},
["Shiny Starmie"] = {gender = 500, level = 150, storage = 16068, stoCatch = 5079},
["Shiny Staryu"] = {gender = 500, level = 150, storage = 16069, stoCatch = 5080},
["Shiny Victreebel"] = {gender = 500, level = 150, storage = 16070, stoCatch = 5081},
["Shiny Vulpix"] = {gender = 500, level = 150, storage = 16071, stoCatch = 5082},
["Shiny Wartortle"] = {gender = 500, level = 150, storage = 16072, stoCatch = 5083},
["Shiny Weedle"] = {gender = 500, level = 150, storage = 16073, stoCatch = 5084},
["Shiny Weepinbell"] = {gender = 500, level = 150, storage = 16074, stoCatch = 5085},
["Shiny Wigglytuff"] = {gender = 500, level = 150, storage = 16075, stoCatch = 5086},
["Shiny Scizor"] = {gender = 35, level = 200, storage = 16076, stoCatch = 5087},
["Shiny Kabutops"] = {gender = 400, level = 200, storage = 16077, stoCatch = 5088},

["Aggron"] = {gender = 500, level = 150, storage = 16000, stoCatch = 5017},
}

oldpokedex = {
{"Bulbasaur", 20, 1001},
{"Ivysaur", 40, 1002},
{"Venusaur", 85, 1003},
{"Charmander", 20, 1004},
{"Charmeleon", 40, 1005},
{"Charizard", 85, 1006},
{"Squirtle", 20, 1007},
{"Wartortle", 40, 1008},
{"Blastoise", 85, 1009},
{"Caterpie", 5, 1010},
{"Metapod", 15, 1011},
{"Butterfree", 30, 1012},
{"Weedle", 5, 1013},
{"Kakuna", 15, 1014},
{"Beedrill", 30, 1015},
{"Pidgey", 5, 1016},
{"Pidgeotto", 20, 1017},
{"Pidgeot", 80, 1018},
{"Rattata", 5, 1019},
{"Raticate", 30, 1020},
{"Spearow", 5, 1021},
{"Fearow", 50, 1022},
{"Ekans", 15, 1023},
{"Arbok", 35, 1024},
{"Pikachu", 40, 1025},
{"Raichu", 80, 1026},
{"Sandshrew", 20, 1027},
{"Sandslash", 65, 1028},
{"Nidoran Female", 10, 1029},
{"Nidorina", 25, 1030},
{"Nidoqueen", 65, 1031},
{"Nidoran Male", 10, 1032},
{"Nidorino", 25, 1033},
{"Nidoking", 65, 1034},
{"Clefairy", 40, 1035},
{"Clefable", 65, 1036},
{"Vulpix", 15, 1037},
{"Ninetales", 65, 1038},
{"Jigglypuff", 40, 1039},
{"Wigglytuff", 65, 1040},
{"Zubat", 5, 1041},
{"Golbat", 30, 1042},
{"Oddish", 5, 1043},
{"Gloom", 30, 1044},
{"Vileplume", 50, 1045},
{"Paras", 5, 1046},
{"Parasect", 50, 1047},
{"Venonat", 20, 1048},
{"Venomoth", 50, 1049},
{"Diglett", 5, 1050},
{"Dugtrio", 35, 1051},
{"Meowth", 10, 1052},
{"Persian", 65, 1053},
{"Psyduck", 20, 1054},
{"Golduck", 65, 1055},
{"Mankey", 10, 1056},
{"Primeape", 65, 1057},
{"Growlithe", 20, 1058},
{"Arcanine", 90, 1059},
{"Arcanine lendario", 90, 1059},
{"Poliwag", 5, 1060},
{"Poliwhirl", 20, 1061},
{"Poliwrath", 65, 1062},
{"Abra", 10, 1063},
{"Kadabra", 40, 1064},
{"Alakazam", 80, 1065},
{"Machop", 15, 1066},
{"Machoke", 50, 1067},
{"Machamp", 80, 1068},
{"Bellsprout", 5, 1069},
{"Weepinbell", 20, 1070},
{"Victreebel", 50, 1071},
{"Tentacool", 10, 1072},
{"Tentacruel", 80, 1073},
{"Geodude", 15, 1074},
{"Graveler", 40, 1075},
{"Golem", 70, 1076},
{"Ponyta", 15, 1077},
{"Rapidash", 65, 1078},
{"Slowpoke", 10, 1079},
{"Slowbro", 45, 1080},
{"Magnemite", 15, 1081},
{"Magneton", 75, 1082},
{"Magnezone", 100, 1082},
{"Farfetch'd", 45, 1083},
{"Doduo", 10, 1084},
{"Dodrio", 40, 1085},
{"Seel", 20, 1086},
{"Dewgong", 65, 1087},
{"Grimer", 10, 1088},
{"Muk", 80, 1089},
{"Shellder", 5, 1090},
{"Cloyster", 65, 1091},
{"Gastly", 20, 1092},
{"Haunter", 40, 1093},
{"Gengar", 80, 1094},
{"Onix", 50, 1095},
{"Drowzee", 15, 1096},
{"Hypno", 50, 1097},
{"Krabby", 5, 1098},
{"Kingler", 65, 1099},
{"Voltorb", 15, 1100},
{"Electrode", 35, 1101},
{"Exeggcute", 5, 1102},
{"Exeggutor", 80, 1103},
{"Cubone", 15, 1104},
{"Marowak", 45, 1105},
{"Hitmonlee", 60, 1106},
{"Hitmonchan", 60, 1107},
{"Lickitung", 55, 1108},
{"Koffing", 15, 1109},
{"Weezing", 55, 1110},
{"Rhyhorn", 25, 1111},
{"Rhydon", 75, 1112},
{"Chansey", 50, 1113},
{"Tangela", 55, 1114},
{"Kangaskhan", 80, 1115},
{"Horsea", 5, 1116},
{"Seadra", 45, 1117},
{"Goldeen", 10, 1118},
{"Seaking", 30, 1119},
{"Staryu", 15, 1120},
{"Starmie", 75, 1121},
{"Mr. Mime", 65, 1122},
{"Scyther", 80, 1123},
{"Jynx", 80, 1124},
{"Electabuzz", 80, 1125},
{"Magmar", 80, 1126},
{"Pinsir", 55, 1127},
{"Tauros", 50, 1128},
{"Magikarp", 1, 1129},
{"Gyarados", 90, 1130},
{"Lapras", 80, 1131},
{"Ditto", 1, 1132},
{"Eevee", 5, 1133},
{"Vaporeon", 55, 1134},
{"Jolteon", 55, 1135},
{"Flareon", 55, 1136},
{"Porygon", 45, 1137},
{"Omanyte", 20, 1138},
{"Omastar", 80, 1139},
{"Kabuto", 20, 1140},
{"Kabutops", 80, 1141},
{"Aerodactyl", 100, 1142},
{"Snorlax", 90, 1143},
{"Articuno", 100, 1144},
{"Zapdos", 100, 1145},
{"Moltres", 100, 1146},
{"Dratini", 20, 1147},
{"Dragonair", 65, 1148},
{"Dragonite", 100, 1149},
{"Mewtwo", 100, 1150},
{"Mew", 100, 1151},
-------------------old Shiny---------

{"Shiny Venusaur", 100, 10030},
{"Shiny Charizard", 100, 10060},
{"Shiny Blastoise", 100, 10090},
{"Shiny Butterfree", 60, 10120},
{"Shiny Beedrill", 60, 10150},
{"Shiny Pidgeot", 60, 10180},
{"Shiny Rattata", 10, 10190},
{"Shiny Raticate", 60, 10200},
{"Shiny Fearow", 120, 10220},
{"Shiny Raichu", 100, 10260},
{"Shiny Nidoking", 120, 10340},
{"Shiny Zubat", 15, 10410},
{"Shiny Golbat", 60, 10420},
{"Shiny Oddish", 20, 10430},
{"Shiny Vileplume", 120, 10450},
{"Shiny Paras", 15, 10460},
{"Shiny Parasect", 60, 10470},
{"Shiny Venonat", 20, 10480},
{"Shiny Venomoth", 100, 10490},
{"Shiny Growlithe", 30, 10580},
{"Shiny Arcanine", 100, 10590},
{"Shiny Abra", 120, 10630},
{"Shiny Alakazam", 100, 10650},
{"Shiny Tentacool", 20, 10720},
{"Shiny Tentacruel", 100, 10730},
{"Shiny Golem", 120, 10760},
{"Shiny Farfetch'd", 100, 10830},
{"Shiny Grimer", 20, 10880},
{"Shiny Muk", 100, 10890},
{"Shiny Gengar", 100, 10940},
{"Shiny Onix", 100, 10950},
{"Shiny Hypno", 120, 10970},
{"Shiny Krabby", 20, 10980},
{"Shiny Kingler", 60, 10990},
{"Shiny Voltorb", 20, 11000},
{"Shiny Electrode", 80, 11010},
{"Shiny Cubone", 20, 11040},
{"Shiny Marowak", 100, 11050},
{"Shiny Hitmonlee", 120, 11060},
{"Shiny Hitmonchan", 120, 11070},
{"Shiny Tangela", 100, 11140},
{"Shiny Horsea", 20, 11160},
{"Shiny Seadra", 60, 11170},
{"Shiny Scyther", 100, 11230},
{"Shiny Jynx", 100, 11240},
{"Shiny Electabuzz", 100, 11250},
{"Shiny Pinsir", 100, 11270},
{"Shiny Magikarp", 20, 11290},
{"Shiny Gyarados", 120, 11300},
{"Shiny Vaporeon", 120, 11340},
{"Shiny Jolteon", 120, 11350},
{"Shiny Flareon", 120, 11360},
{"Shiny Snorlax", 150, 11430},
{"Shiny Dratini", 20, 11470},
{"Shiny Dragonair", 100, 11480},
{"Shiny Dragonite", 150, 11490},
{"Milotic", 140, 11300},
---------------old johto-----------
{"Chikorita", 20, 1152},
{"Bayleef", 40, 1153},
{"Meganium", 85, 1154},
{"Cyndaquil", 20, 1155},
{"Quilava", 40, 1156},
{"Typhlosion", 85, 1157},
{"Totodile", 20, 1158},
{"Croconaw", 40, 1159},
{"Feraligatr", 85, 1160},
{"Sentret", 15, 1161},
{"Furret", 30, 1162},
{"Hoothoot", 15, 1163},
{"Noctowl", 65, 1164},
{"Ledyba", 10, 1165},
{"Ledian", 35, 1166},
{"Spinarak", 15, 1167},
{"Ariados", 40, 1168},
{"Crobat", 80, 1169},
{"Chinchou", 15, 1170},
{"Lanturn", 75, 1171},
{"Pichu", 15, 1172},
{"Cleffa", 10, 1173},
{"Igglybuff", 10, 1174},
{"Togepi", 10, 1175},
{"Togetic", 65, 1176},
{"Natu", 20, 1177},
{"Xatu", 75, 1178},
{"Mareep", 20, 1179},
{"Flaaffy", 40, 1180},
{"Ampharos", 80, 1181},
{"Bellossom", 50, 1182},
{"Marill", 20, 1183},
{"Azumarill", 65, 1184},
{"Sudowoodo", 80, 1185},
{"Politoed", 65, 1186},
{"Hoppip", 5, 1187},
{"Skiploom", 20, 1188},
{"Jumpluff", 50, 1189},
{"Aipom", 35, 1190},
{"Sunkern", 5, 1191},
{"Sunflora", 30, 1192},
{"Yanma", 50, 1193},
{"Wooper", 20, 1194},
{"Quagsire", 65, 1195},
{"Espeon", 55, 1196},
{"Umbreon", 55, 1197},
{"Murkrow", 55, 1198},
{"Slowking", 100, 1199},
{"Misdreavus", 90, 1200},
{"Unown", 20, 1201},
{"Wobbuffet", 90, 1202},
{"Girafarig", 80, 1203},
{"Pineco", 15, 1204},
{"Forretress", 65, 1205},
{"Dunsparce", 30, 1206},
{"Gligar", 35, 1207},
{"Steelix", 100, 1208},
{"Snubbull", 20, 1209},
{"Granbull", 65, 1210},
{"Qwilfish", 55, 1211},
{"Scizor", 100, 1212},
{"Shuckle", 30, 1213},
{"Heracross", 80, 1214},
{"Sneasel", 55, 1215},
{"Teddiursa", 20, 1216},
{"Ursaring", 90, 1217},
{"Slugma", 15, 1218},
{"Magcargo", 75, 1219},
{"Swinub", 15, 1220},
{"Piloswine", 80, 1221},
{"Corsola", 55, 1222},
{"Remoraid", 10, 1223},
{"Octillery", 75, 1224},
{"Delibird", 50, 1225},
{"Mantine", 80, 1226},
{"Skarmory", 80, 1227},
{"Houndour", 20, 1228},
{"Houndoom", 80, 1229},
{"Kingdra", 90, 1230},
{"Phanpy", 25, 1231},
{"Donphan", 80, 1232},
{"Porygon2", 75, 1233},
{"Stantler", 65, 1234},
{"Smeargle", 60, 1235},
{"Tyrogue", 20, 1236},
{"Hitmontop", 60, 1237},
{"Smoochum", 20, 1238},
{"Elekid", 20, 1239},
{"Magby", 20, 1240},
{"Miltank", 80, 1241},
{"Blissey", 90, 1242},
{"Raikou", 100, 1243},
{"Entei", 100, 1244},
{"Suicune", 100, 1245},
{"Larvitar", 30, 1246},
{"Pupitar", 50, 1247},
{"Tyranitar", 100, 1248},
{"Lugia", 100, 1249},
{"Ho-oh", 100, 1250},
{"Celebi", 100, 1251},
{"Shiny Hitmontop", 120, 11520},

{"Shiny Mr. Mime", 100, 11521},  --alterado v1.9
{"Shiny Ninetales", 150, 11522},
{"Shiny Ariados", 150, 11523},
{"Shiny Magneton", 150, 11524},
{"Shiny Espeon", 150, 11525},
{"Shiny Politoed", 150, 11526},
{"Shiny Umbreon", 150, 11527},
{"Shiny Stantler", 150, 11528},
{"Shiny Dodrio", 150, 11529},
{"Shiny Rhydon", 150, 11530},
{"Shiny Weezing", 100, 11540},
{"Shiny Sandslash", 100, 11541},
{"Shiny Crobat", 100, 11542},
{"Shiny Magmar", 100, 11543},
{"Shiny Magmortar", 150, 11543},
{"Shiny Electivire", 150, 11543},
{"Magmortar", 100, 11543},
{"Electivire", 100, 11543},
{"Giant Magikarp", 20, 11544},
{"Shiny Giant Magikarp", 60, 11545},

{"Shiny Ampharos", 100, 11531},
{"Shiny Feraligatr", 100, 11532},
{"Shiny Larvitar", 60, 11533},
{"Shiny Machamp", 100, 11534},
{"Shiny Meganium", 100, 11535},
{"Shiny Pupitar", 100, 11536},
{"Shiny Tauros", 100, 11537},
{"Shiny Typhlosion", 100, 11538},
{"Shiny Xatu", 100, 11539},

{"Shiny Magcargo", 100, 11540},
{"Shiny Lanturn", 100, 11541},
{"Shiny Mantine", 150, 1226},
{"Salamence", 150, 11490},
{"Shiny Salamence", 150, 11490},
{"Tropius", 90, 1103},
{"Absol", 130, 1103},
{"Wailord", 150, 1103},
{"Beldum", 25, 1103},
{"Metang", 80, 1103},
{"Metagross", 150, 1103},
{"Shiny Scizor", 150, 11861},
{"Shiny Kabutops", 150, 11862},
{"Shiny Politoed", 100, 11860},
}

poevo = {
["Bulbasaur"] = {level = 40, evolution = "Ivysaur", count = 1, stoneid = 11441, stoneid2 = 0},
["Ivysaur"] = {level = 85, evolution = "Venusaur", count = 1, stoneid = 11441, stoneid2 = 11443},
["Shiny Charmander"] = {level = 70, evolution = "Shiny Charmeleon", count = 1, stoneid = 11447, stoneid2 = 0},
["Charmander"] = {level = 40, evolution = "Charmeleon", count = 1, stoneid = 11447, stoneid2 = 0},
["Charmeleon"] = {level = 85, evolution = "Charizard", count = 2, stoneid = 11447, stoneid2 = 0},
["Shiny Charmeleon"] = {level = 100, evolution = "Shiny Charizard", count = 2, stoneid = 11447, stoneid2 = 0},
["Squirtle"] = {level = 40, evolution = "Wartortle", count = 1, stoneid = 11442, stoneid2 = 0},
["Shiny Squirtle"] = {level = 70, evolution = "Shiny Wartortle", count = 1, stoneid = 11442, stoneid2 = 0},
["Wartortle"] = {level = 85, evolution = "Blastoise", count = 2, stoneid = 11442, stoneid2 = 0},
["Shiny Wartortle"] = {level = 100, evolution = "Shiny Blastoise", count = 2, stoneid = 11442, stoneid2 = 0},
["Caterpie"] = {level = 15, evolution = "Metapod", count = 1, stoneid = 11448, stoneid2 = 0},
["Metapod"] = {level = 15, evolution = "Butterfree", count = 2, stoneid = 11448, stoneid2 = 0},
["Shiny Caterpie"] = {level = 25, evolution = "Shiny Metapod", count = 2, stoneid = 11448, stoneid2 = 0},
["Shiny Metapod"] = {level = 60, evolution = "Shiny Butterfree", count = 1, stoneid = 11448, stoneid2 = 0},
["Weedle"] = {level = 15, evolution = "Kakuna", count = 1, stoneid = 11448, stoneid2 = 0},
["Shiny Weedle"] = {level = 15, evolution = "Shiny Kakuna", count = 2, stoneid = 11448, stoneid2 = 0},
["Kakuna"] = {level = 30, evolution = "Beedrill", count = 2, stoneid = 11448, stoneid2 = 0},
["Shiny Kakuna"] = {level = 60, evolution = "Shiny Beedrill", count = 1, stoneid = 11448, stoneid2 = 0},
["Pidgey"] = {level = 20, evolution = "Pidgeotto", count = 1, stoneid = 11453, stoneid2 = 0},
["Pidgeotto"] = {level = 75, evolution = "Pidgeot", count = 2, stoneid = 11453, stoneid2 = 0},
["Shiny Pidgeotto"] = {level = 100, evolution = "Shiny Pidgeot", count = 2, stoneid = 11453, stoneid2 = 0},
["Rattata"] = {level = 25, evolution = "Raticate", count = 1, stoneid = 11453, stoneid2 = 0},
["Spearow"] = {level = 50, evolution = "Fearow", count = 1, stoneid = 11453, stoneid2 = 0},
["Shiny Spearow"] = {level = 120, evolution = "Shiny Fearow", count = 3, stoneid = 11453, stoneid2 = 0},
["Ekans"] = {level = 35, evolution = "Arbok", count = 1, stoneid = 11443, stoneid2 = 0},
["Pikachu"] = {level = 85, evolution = "Raichu", count = 1, stoneid = 11444, stoneid2 = 0},
["Shiny Pikachu"] = {level = 100, evolution = "Shiny Raichu", count = 3, stoneid = 11444, stoneid2 = 0},
["Sandshrew"] = {level = 65, evolution = "Sandslash", count = 2, stoneid = 11451, stoneid2 = 0},
["Nidoran Female"] = {level = 30, evolution = "Nidorina", count = 1, stoneid = 11443, stoneid2 = 0},
["Nidorina"] = {level = 65, evolution = "Nidoqueen", count = 1, stoneid = 11443, stoneid2 = 11451},
["Nidoran Male"] = {level = 30, evolution = "Nidorino", count = 1, stoneid = 11443, stoneid2 = 0},
["Nidorino"] = {level = 65, evolution = "Nidoking", count = 2, stoneid = 11443, stoneid2 = 0},
["Shiny Nidorino"] = {level = 120, evolution = "Shiny Nidoking", count = 3, stoneid = 11443, stoneid2 = 0},
["Clefairy"] = {level = 65, evolution = "Clefable", count = 1, stoneid = 11453, stoneid2 = 0},
["Shiny Clefairy"] = {level = 100, evolution = "Shiny Clefable", count = 2, stoneid = 11453, stoneid2 = 0},
["Vulpix"] = {level = 65, evolution = "Ninetales", count = 2, stoneid = 11447, stoneid2 = 0},
["Shiny Vulpix"] = {level = 150, evolution = "Shiny Ninetales", count = 5, stoneid = 11447, stoneid2 = 0},
["Jigglypuff"] = {level = 65, evolution = "Wigglytuff", count = 1, stoneid = 11453, stoneid2 = 0},
["Shiny Jigglypuff"] = {level = 100, evolution = "Shiny Wigglytuff", count = 2, stoneid = 11453, stoneid2 = 0},
["Zubat"] = {level = 35, evolution = "Golbat", count = 1, stoneid = 11443, stoneid2 = 0},
["Golbat"] = {level = 80, evolution = "Crobat", count = 1, stoneid = 11443, stoneid2 = 11449}, --alterado v1.9
["Oddish"] = {level = 30, evolution = "Gloom", count = 1, stoneid = 11441, stoneid2 = 0},
["Shiny Gloom"] = {level = 55, evolution = "Shiny Vileplume", count = 3, stoneid = 11441, stoneid2 = 0},
["Paras"] = {level = 50, evolution = "Parasect", count = 1, stoneid = 11448, stoneid2 = 0},
["Venonat"] = {level = 50, evolution = "Venomoth", count = 1, stoneid = 11448, stoneid2 = 11443},
["Diglett"] = {level = 35, evolution = "Dugtrio", count = 1, stoneid = 11451, stoneid2 = 0},
["Meowth"] = {level = 50, evolution = "Persian", count = 1, stoneid = 11453, stoneid2 = 0},
["Psyduck"] = {level = 70, evolution = "Golduck", count = 1, stoneid = 11442, stoneid2 = 11452},
["Shiny Psyduck"] = {level = 100, evolution = "Shiny Golduck", count = 3, stoneid = 11442, stoneid2 = 0},
["Mankey"] = {level = 50, evolution = "Primeape", count = 1, stoneid = 11446, stoneid2 = 0},
["Growlithe"] = {level = 90, evolution = "Arcanine", count = 1, stoneid = 11447, stoneid2 = 11449},
["Poliwag"] = {level = 25, evolution = "Poliwhirl", count = 1, stoneid = 11442, stoneid2 = 0},
["Shiny Poliwag"] = {level = 40, evolution = "Shiny Poliwhirl", count = 5, stoneid = 11442, stoneid2 = 0},
["Shiny Poliwhirl"] = {level = 100, evolution = "Shiny Poliwrath", count = 2, stoneid = 11442, stoneid2 = 0},
["Abra"] = {level = 40, evolution = "Kadabra", count = 1, stoneid = 11452, stoneid2 = 0},
["Kadabra"] = {level = 80, evolution = "Alakazam", count = 2, stoneid = 11452, stoneid2 = 0},
["Machop"] = {level = 45, evolution = "Machoke", count = 1, stoneid = 11446, stoneid2 = 0},
["Shiny Machop"] = {level = 45, evolution = "Shiny Machoke", count = 1, stoneid = 11446, stoneid2 = 0},
["Machoke"] = {level = 80, evolution = "Machamp", count = 2, stoneid = 11446, stoneid2 = 0},
["Shiny Machoke"] = {level = 80, evolution = "Shiny Machamp", count = 3, stoneid = 11446, stoneid2 = 0},
["Bellsprout"] = {level = 25, evolution = "Weepinbell", count = 1, stoneid = 11441, stoneid2 = 0},
["Weepinbell"] = {level = 50, evolution = "Victreebel", count = 2, stoneid = 11441, stoneid2 = 0},
["Shiny Weepinbell"] = {level = 100, evolution = "Shiny Victreebel", count = 2, stoneid = 11441, stoneid2 = 0},
["Tentacool"] = {level = 80, evolution = "Tentacruel", count = 1, stoneid = 11442, stoneid2 = 11443},
["Geodude"] = {level = 40, evolution = "Graveler", count = 1, stoneid = 11445, stoneid2 = 0},
["Shiny Geodude"] = {level = 60, evolution = "Shiny Graveler", count = 1, stoneid = 11445, stoneid2 = 0},
["Graveler"] = {level = 70, evolution = "Golem", count = 2, stoneid = 11445, stoneid2 = 0},
["Shiny Graveler"] = {level = 120, evolution = "Shiny Golem", count = 30, stoneid = 11445, stoneid2 = 0},
["Ponyta"] = {level = 65, evolution = "Rapidash", count = 1, stoneid = 11447, stoneid2 = 0},
["Magnemite"] = {level = 75, evolution = "Magneton", count = 1, stoneid = 11444, stoneid2 = 0},
["Shiny Magnemite"] = {level = 150, evolution = "Shiny Magneton", count = 5, stoneid = 11444, stoneid2 = 0},
["Doduo"] = {level = 45, evolution = "Dodrio", count = 1, stoneid = 11453, stoneid2 = 0},
["Shiny Doduo"] = {level = 150, evolution = "Shiny Dodrio", count = 4, stoneid = 11453, stoneid2 = 0},
["Seel"] = {level = 65, evolution = "Dewgong", count = 1, stoneid = 11442, stoneid2 = 11454},
["Shiny Seel"] = {level = 100, evolution = "Shiny Dewgong", count = 2, stoneid = 11442, stoneid2 = 0},
["Grimer"] = {level = 80, evolution = "Muk", count = 1, stoneid = 11443, stoneid2 = 0},
["Shellder"] = {level = 60, evolution = "Cloyster", count = 2, stoneid = 11454, stoneid2 = 0},
["Gastly"] = {level = 45, evolution = "Haunter", count = 1, stoneid = 11450, stoneid2 = 0},
["Shiny Gastly"] = {level = 60, evolution = "Shiny Haunter", count = 1, stoneid = 11450, stoneid2 = 0},
["Haunter"] = {level = 80, evolution = "Gengar", count = 2, stoneid = 11450, stoneid2 = 0},
["Shiny Haunter"] = {level = 100, evolution = "Shiny Gengar", count = 3, stoneid = 11450, stoneid2 = 0},
["Drowzee"] = {level = 55, evolution = "Hypno", count = 2, stoneid = 11452, stoneid2 = 0},
["Shiny Drowzee"] = {level = 120, evolution = "Shiny Hypno", count = 3, stoneid = 11452, stoneid2 = 0},
["Krabby"] = {level = 40, evolution = "Kingler", count = 1, stoneid = 11442, stoneid2 = 0},
["Voltorb"] = {level = 35, evolution = "Electrode", count = 1, stoneid = 11444, stoneid2 = 0},
["Exeggcute"] = {level = 80, evolution = "Exeggutor", count = 1, stoneid = 11441, stoneid2 = 11452},
["Shiny Exeggcute"] = {level = 100, evolution = "Shiny Exeggutor", count = 3, stoneid = 11441, stoneid2 = 0},
["Cubone"] = {level = 55, evolution = "Marowak", count = 2, stoneid = 11451, stoneid2 = 0},
["Koffing"] = {level = 35, evolution = "Weezing", count = 1, stoneid = 11443, stoneid2 = 0},
["Rhyhorn"] = {level = 75, evolution = "Rhydon", count = 1, stoneid = 11445, stoneid2 = 11451},
["Shiny Rhyhorn"] = {level = 150, evolution = "Shiny Rhydon", count = 5, stoneid = 11445, stoneid2 = 0},
["Horsea"] = {level = 45, evolution = "Seadra", count = 1, stoneid = 11442, stoneid2 = 0},
["Goldeen"] = {level = 35, evolution = "Seaking", count = 1, stoneid = 11442, stoneid2 = 0},
["Staryu"] = {level = 75, evolution = "Starmie", count = 1, stoneid = 11442, stoneid2 = 0},
["Shiny Staryu"] = {level = 100, evolution = "Shiny Starmie", count = 3, stoneid = 11442, stoneid2 = 0},
["Magikarp"] = {level = 90, evolution = "Gyarados", count = 1, stoneid = 11442, stoneid2 = 11449},
["Omanyte"] = {level = 80, evolution = "Omastar", count = 1, stoneid = 11442, stoneid2 = 11449},
["Kabuto"] = {level = 80, evolution = "Kabutops", count = 1, stoneid = 11445, stoneid2 = 11449},
["Dratini"] = {level = 60, evolution = "Dragonair", count = 1, stoneid = 11449, stoneid2 = 0},
["Dragonair"] = {level = 100, evolution = "Dragonite", count = 1, stoneid = 11449, stoneid2 = 12244},
-----shiny evo------

["Shiny Rattata"] = {level = 60, evolution = "Shiny Raticate", count = 1, stoneid = 11453, stoneid2 = 0},
["Shiny Zubat"] = {level = 60, evolution = "Shiny Golbat", count = 1, stoneid = 11443, stoneid2 = 0},
["Shiny Golbat"] = {level = 100, evolution = "Shiny Crobat", count = 1, stoneid = 11443, stoneid2 = 0},
["Shiny Paras"] = {level = 60, evolution = "Shiny Parasect", count = 1, stoneid = 11448, stoneid2 = 0},
["Shiny Venonat"] = {level = 100, evolution = "Shiny Venomoth", count = 1, stoneid = 11448, stoneid2 = 11443},
["Shiny Growlithe"] = {level = 100, evolution = "Shiny Arcanine", count = 2, stoneid = 11447, stoneid2 = 0},
["Shiny Tentacool"] = {level = 100, evolution = "Shiny Tentacruel", count = 1, stoneid = 11442, stoneid2 = 11443},
["Shiny Grimer"] = {level = 100, evolution = "Shiny Muk", count = 1, stoneid = 11443, stoneid2 = 0},
["Shiny Krabby"] = {level = 60, evolution = "Shiny Kingler", count = 1, stoneid = 11442, stoneid2 = 0},
["Shiny Voltorb"] = {level = 80, evolution = "Shiny Electrode", count = 1, stoneid = 11444, stoneid2 = 0},
["Shiny Cubone"] = {level = 100, evolution = "Shiny Marowak", count = 2, stoneid = 11451, stoneid2 = 0},
["Shiny Horsea"] = {level = 60, evolution = "Shiny Seadra", count = 1, stoneid = 11442, stoneid2 = 0},

["Shiny Larvitar"] = {level = 100, evolution = "Shiny Pupitar", count = 1, stoneid = 12244, stoneid2 = 11445},
-----johto evo------
["Chikorita"] = {level = 40, evolution = "Bayleef", count = 1, stoneid = 11441, stoneid2 = 0},
["Bayleef"] = {level = 85, evolution = "Meganium", count = 2, stoneid = 11441, stoneid2 = 0},
["Cyndaquil"] = {level = 40, evolution = "Quilava", count = 1, stoneid = 11447, stoneid2 = 0},
["Quilava"] = {level = 85, evolution = "Typhlosion", count = 2, stoneid = 11447, stoneid2 = 0},
["Totodile"] = {level = 40, evolution = "Croconaw", count = 1, stoneid = 11442, stoneid2 = 0},  --alterado v1.7
["Croconaw"] = {level = 85, evolution = "Feraligatr", count = 2, stoneid = 11442, stoneid2 = 0}, --alterado v1.7
["Sentret"] = {level = 35, evolution = "Furret", count = 1, stoneid = 11453, stoneid2 = 0},
["Hoothoot"] = {level = 65, evolution = "Noctowl", count = 1, stoneid = 11453, stoneid2 = 0},
["Ledyba"] = {level = 35, evolution = "Ledian", count = 2, stoneid = 11448, stoneid2 = 0},
["Spinarak"] = {level = 40, evolution = "Ariados", count = 1, stoneid = 11448, stoneid2 = 11443},
["Chinchou"] = {level = 50, evolution = "Lanturn", count = 1, stoneid = 11442, stoneid2 = 11444},
["Pichu"] = {level = 40, evolution = "Pikachu", count = 1, stoneid = 11444, stoneid2 = 0},    --alterado v1.9
["Cleffa"] = {level = 40, evolution = "Clefairy", count = 1, stoneid = 11453, stoneid2 = 0},     --alterado v1.9
["Igglybuff"] = {level = 40, evolution = "Jigglypuff", count = 1, stoneid = 11453, stoneid2 = 0}, --alterado v1.9
["Togepi"] = {level = 65, evolution = "Togetic", count = 2, stoneid = 11453, stoneid2 = 0},      --alterado v1.9
["Natu"] = {level = 75, evolution = "Xatu", count = 1, stoneid = 11452, stoneid2 = 0},
["Mareep"] = {level = 45, evolution = "Flaaffy", count = 1, stoneid = 11444, stoneid2 = 0},
["Flaaffy"] = {level = 80, evolution = "Ampharos", count = 2, stoneid = 11444, stoneid2 = 0},
["Marill"] = {level = 65, evolution = "Azumarill", count = 1, stoneid = 11442, stoneid2 = 0},
["Hoppip"] = {level = 25, evolution = "Skiploom", count = 1, stoneid = 11441, stoneid2 = 0},
["Skiploom"] = {level = 50, evolution = "Jumpluff", count = 1, stoneid = 11441, stoneid2 = 0},
["Sunkern"] = {level = 30, evolution = "Sunflora", count = 1, stoneid = 11441, stoneid2 = 0},
["Wooper"] = {level = 65, evolution = "Quagsire", count = 1, stoneid = 11442, stoneid2 = 11451},
["Pineco"] = {level = 65, evolution = "Forretress", count = 2, stoneid = 11448, stoneid2 = 0},
["Snubbull"] = {level = 65, evolution = "Granbull", count = 1, stoneid = 11453, stoneid2 = 11451},
["Teddiursa"] = {level = 90, evolution = "Ursaring", count = 1, stoneid = 11453, stoneid2 = 12244},
["Slugma"] = {level = 80, evolution = "Magcargo", count = 1, stoneid = 11445, stoneid2 = 11447},
["Swinub"] = {level = 80, evolution = "Piloswine", count = 1, stoneid = 11451, stoneid2 = 11454},
["Remoraid"] = {level = 75, evolution = "Octillery", count = 1, stoneid = 11442, stoneid2 = 0},
["Houndour"] = {level = 80, evolution = "Houndoom", count = 1, stoneid = 11450, stoneid2 = 11447},
["Phanpy"] = {level = 80, evolution = "Donphan", count = 2, stoneid = 11451, stoneid2 = 0},
["Smoochum"] = {level = 80, evolution = "Jynx", count = 1, stoneid = 11454, stoneid2 = 12244},
["Elekid"] = {level = 80, evolution = "Electabuzz", count = 1, stoneid = 11444, stoneid2 = 12244},
["Magby"] = {level = 80, evolution = "Magmar", count = 1, stoneid = 11447, stoneid2 = 12244},
["Larvitar"] = {level = 65, evolution = "Pupitar", count = 1, stoneid = 11445, stoneid2 = 0},
["Pupitar"] = {level = 100, evolution = "Tyranitar", count = 1, stoneid = 12244, stoneid2 = 11445},
["Porygon"] = {level = 75, evolution = "Porygon2", count = 2, stoneid = 12244, stoneid2 = 0},
["Seadra"] = {level = 90, evolution = "Kingdra", count = 1, stoneid = 11449, stoneid2 = 12244},
["Chansey"] = {level = 100, evolution = "Blissey", count = 2, stoneid = 12244, stoneid2 = 0},
["Scyther"] = {level = 100, evolution = "Scizor", count = 1, stoneid = 11448, stoneid2 = 12232},
["Onix"] = {level = 100, evolution = "Steelix", count = 1, stoneid = 11445, stoneid2 = 12232},
["Beldum"] = {level = 80, evolution = "Metang", count = 1, stoneid = 11452, stoneid2 = 12232},
["Shiny Slowpoke"] = {level = 70, evolution = "Shiny Slowbro", count = 1, stoneid = 11452, stoneid2 = 0},
["Slowpoke"] = {level = 40, evolution = "Slowbro", count = 1, stoneid = 11452, stoneid2 = 0},
["Slowbro"] = {level = 100, evolution = "Slowking", count = 1, stoneid = 11452, stoneid2 = 12244},


}

spcevo = {
["Poliwhirl"] = {[1] = {level = 65, evolution = "Poliwrath", count = 1, stoneid = 11442, stoneid2 = 11446},
                 [2] = {level = 65, evolution = "Politoed", count = 1, stoneid = 11442, stoneid2 = 11451}},
["Gloom"] =     {[1] = {level = 50, evolution = "Vileplume", count = 1, stoneid = 11441, stoneid2 = 11441},
                 [2] = {level = 50, evolution = "Bellossom", count = 1, stoneid = 11441, stoneid2 = 11443}},
}

leaf = 11441
grass = 11441
water = 11442
venom = 11443
thunder = 11444
rock = 11445
punch = 11446
fire = 11447
coccon = 11448
crystal = 11449
dark = 11450
earth = 11451
enigma = 11452
heart = 11453
ice = 11454

boostStone = 12618
metal = 12232
ancient = 12244

sfire = 12401
swater = 12402
sleaf = 12403
sheart = 12404
senigma = 12405
srock = 12406
svenom = 12407
sice = 12408
sthunder = 12409
scrystal = 12410
scoccon = 12411
sdarkness = 12412
spunch = 12413
searth = 12414

gobackmsgs = {
[1] = {go = "Go, doka!", back = "Come back, doka!"},
[2] = {go = "Let's do it, doka!", back = "Thanks for helping, doka!"},
[3] = {go = "I choose you, doka!", back = "That's enough, come back!"},
[4] = {go = "I need your help, doka!", back = "You were great, doka!"},
[5] = {go = "Let's fight, doka!", back = "Excellent work, doka!"},
[6] = {go = "It's battle time, doka!", back = "Well done, doka!"},
[7] = {go = "It's your turn, doka!", back = "You need to rest, doka!"},
[8] = {go = "doka, let's battle!", back = "Hurry back, doka!"},
[9] = {go = "Show your strength, doka!", back = "You did your best, doka!"}
}

specialevo = {"Poliwhirl", "Gloom", "Tyrogue", "Eevee"} --alterado v1.6

auraSyst = {    --auras
["red"] = 19,
["blue"] = 40,
["green"] = 164,
["yellow"] = 207,
["white"] = 29,      
["gray"] = 165,
["cyan"] = 177,
["purple"] = 208,
["orange"] = 219, 

["circulo verde"] = 220, 
["volcanic"] = 209, 
["circulo roxo"] = 174, 
["seavell"] = 170, 
["naturia"] = 168, 
["orebound"] = 234, 
["wingeon"] = 167, 

}

hitmonchans = {
["Hitmonchan"] = {
                         [0] = {out = 559, eff = 112, type = FIGHTINGDAMAGE},  --outfit normal
                         [1] = {out = 1075, eff = 35, type = FIREDAMAGE},    --outfit fogo
                         [2] = {out = 1077, eff = 48, type = ELECTRICDAMAGE},    --outfit raio
                         [3] = {out = 1078, eff = 43, type = ICEDAMAGE},    --outfit gelo
                         [4] = {out = 1076, eff = 60, type = GHOSTDAMAGE}   --outfit ghost
                  },
                  
["Shiny Hitmonchan"] = {              
                         
                         [0] = {out = 837, eff = 112, type = FIGHTINGDAMAGE},  --outfit normal
                         [1] = {out = 1080, eff = 35, type = FIREDAMAGE},    --outfit fogo
                         [2] = {out = 1081, eff = 48, type = ELECTRICDAMAGE},    --outfit raio
                         [3] = {out = 1082, eff = 43, type = ICEDAMAGE},    --outfit gelo
                         [4] = {out = 1079, eff = 60, type = GHOSTDAMAGE}   --outfit ghost
                       },
[" Boxer Hitmonchan"] = {
                         [0] = {out = 559, eff = 112, type = FIGHTINGDAMAGE},  --outfit normal
                         [1] = {out = 1075, eff = 35, type = FIREDAMAGE},    --outfit fogo
                         [2] = {out = 1077, eff = 48, type = ELECTRICDAMAGE},    --outfit raio
                         [3] = {out = 1078, eff = 43, type = ICEDAMAGE},    --outfit gelo
                         [4] = {out = 1076, eff = 60, type = GHOSTDAMAGE}   --outfit ghost
                  },
[" Bruno Hitmonchan"] = {
                         [0] = {out = 559, eff = 112, type = FIGHTINGDAMAGE},  --outfit normal
                         [1] = {out = 1075, eff = 35, type = FIREDAMAGE},    --outfit fogo
                         [2] = {out = 1077, eff = 48, type = ELECTRICDAMAGE},    --outfit raio
                         [3] = {out = 1078, eff = 43, type = ICEDAMAGE},    --outfit gelo
                         [4] = {out = 1076, eff = 60, type = GHOSTDAMAGE}   --outfit ghost
                  },
                  
["Gardestrike Shiny Hitmonchan"] = {              
                         
                         [0] = {out = 837, eff = 112, type = FIGHTINGDAMAGE},  --outfit normal
                         [1] = {out = 1080, eff = 35, type = FIREDAMAGE},    --outfit fogo
                         [2] = {out = 1081, eff = 48, type = ELECTRICDAMAGE},    --outfit raio
                         [3] = {out = 1082, eff = 43, type = ICEDAMAGE},    --outfit gelo
                         [4] = {out = 1079, eff = 60, type = GHOSTDAMAGE}   --outfit ghost
                       }
}

------------------- HEADBUTT ----------------------------- --alterado v1.6
--[lvl] = {nome do poke, qnts vao vir}},
--lvl = ate q lvl vai vir esses pokes... ate lvl 25 vira os pokes da 1* tabela.. do 26 ao 40 vira os pokes da 2* tabela...
headbutt = {
[25] = {{"Metapod", 3}, {"Kakuna", 3}, {"Pidgey", 3}, {"Ekans", 1}, {"Sentret", 1}, {"Pineco", 1}, {"Spinarak", 2}},
[40] = {{"Pineco", 2}, {"Pidgeotto", 1}, {"Hoothoot", 1}, {"Shuckle", 1}, {"Beedrill", 2}, {"Spearow", 3}},
[60] = {{"Arbok", 1}, {"Beedrill", 4}, {"Furret", 1}, {"Ariados", 2}, {"Pidgeotto", 2}, {"Yanma", 1}, {"Pineco", 4}},
[80] = {{"Beedrill", 5}, {"Parasect", 2}, {"Forretress", 1}, {"Pinsir", 2}, {"Ariados", 3}, {"Pidgeotto", 4}, {"Venomoth", 2}, {"Yanma", 3}},
[150] = {{"Forretress", 3}, {"Noctowl", 2}, {"Xatu", 2}, {"Yanma", 4}, {"Scyther", 1}, {"Butterfree", 4}, {"Parasect", 2}, {"Heracross", 1}},
[1000] = {{"Venomoth", 3}, {"Pinsir", 4}, {"Forretress", 4}, {"Noctowl", 4}, {"Xatu", 4}, {"Yanma", 4}, {"Scyther", 2}, {"Butterfree", 4}, {"Heracross", 2}},
}


----------------------- LOOK -------------------------------
lookClans = {
[1] = {"a Volcanic Spark", "a Volcanic Flame","a Volcanic Firetamer","a Volcanic Pyromancer","a Volcanic Master"},
[2] = {"a Seavell Drop", "a Seavell Icelake","a Seavell Waterfall","a Seavell Frost","a Seavell Master"},
[3] = {"an Orebound Sand", "an Orebound Rock","an Orebound Solid","an Orebound Hardskin","an Orebound Hero"},
[4] = {"a Wingeon Cloud", "a Wingeon Wind","a Wingeon Sky","a Wingeon Falcon","a Wingeon Dragon"},
[5] = {"a Malefic Troublemaker", "a Malefic Venomancer","a Malefic Spectre","a Malefic Nightwalker","a Malefic Master"},
[6] = {"a Gardestrike Fist", "a Gardestrike Tamer","a Gardestrike Fighter","a Gardestrike DeathHand","a Gardestrike Champion"},
[7] = {"a Psycraft Mind", "a Psycraft Brain","a Psycraft Scholar","a Psycraft Telepath","a Psycraft Medium"},
[8] = {"a Naturia Seed", "a Naturia Sprout","a Naturia Webhead","a Naturia Woodtrunk","a Naturia Keeper"},
[9] = {"a Raibolt Shock", "a Raibolt Watt","a Raibolt Electrician","a Raibolt Overcharged","a Raibolt Legend"},
[10] = {"a Iron creator", "a Iron cutter","a Iron ","a Iron warrior","a Iron master"},
}

function doCastPassive(cid)
local name = doCorrectString(getCreatureName(cid))
-------------------------------------------Counter Helix------------------------------------
if passivesChances["Counter Helix"][doCorrectString(getCreatureName(cid))] and math.random(1, 100) <= passivesChances["Counter Helix"][doCorrectString(getCreatureName(cid))] then
   docastspell(cid, "Counter Helix")
end
-------------------------------------------Lava Counter/Electricity----------------------------
if passivesChances["Lava-Counter"][doCorrectString(getCreatureName(cid))] and math.random(1, 100) <= passivesChances["Lava-Counter"][doCorrectString(getCreatureName(cid))] then
   docastspell(cid, "Lava-Counter")
end
---------------------------------------Stunning Confusion-----------------------------------------
if passivesChances["Stunning Confusion"][doCorrectString(getCreatureName(cid))] and math.random(1, 100) <= passivesChances["Stunning Confusion"][doCorrectString(getCreatureName(cid))] then  
   docastspell(cid, "Stunning Confusion")
end
-----------------------------------------Groundshock-----------------------------------
if passivesChances["Bone-Spin"][doCorrectString(getCreatureName(cid))] and math.random(1, 100) <= passivesChances["Bone-Spin"][doCorrectString(getCreatureName(cid))] then
   docastspell(cid, "Bone-Spin")
end
--------------------------------------Electric Charge---------------------------------------------
if passivesChances["Shock-Counter"][doCorrectString(getCreatureName(cid))] and math.random(1, 100) <= passivesChances["Shock-Counter"][doCorrectString(getCreatureName(cid))] then
   docastspell(cid, "Shock-Counter")
end
-------------------------------------Melody------------------------------------
if passivesChances["Melody"][doCorrectString(getCreatureName(cid))] and math.random(1, 100) <= passivesChances["Melody"][doCorrectString(getCreatureName(cid))] then 
   docastspell(cid, "Melody")
end
------------------------------------- Dragon Fury / Fury ---------------------------------------
if passivesChances["Dragon Fury"][name] and math.random(1, 100) <= passivesChances["Dragon Fury"][doCorrectString(getCreatureName(cid))] then
   docastspell(cid, "Dragon Fury")
end
------------------------------------- Mega Drain ---------------------------------------
if passivesChances["Mega Drain"][doCorrectString(getCreatureName(cid))] and math.random(1, 100) <= passivesChances["Mega Drain"][doCorrectString(getCreatureName(cid))] then
   docastspell(cid, "Mega Drain")
end
------------------------------------- Spores Reaction ---------------------------------------
if passivesChances["Spores Reaction"][doCorrectString(getCreatureName(cid))] and math.random(1, 100) <= passivesChances["Spores Reaction"][doCorrectString(getCreatureName(cid))] then
   docastspell(cid, "Spores Reaction")
end
------------------------------------ Amnesia ----------------------------------------   
if passivesChances["Amnesia"][doCorrectString(getCreatureName(cid))] and math.random(1, 100) <= passivesChances["Amnesia"][doCorrectString(getCreatureName(cid))] then 
   docastspell(cid, "Amnesia", 0, 0)
end
----------------------------------- Zen Mind -----------------------------------------
if passivesChances["Zen Mind"][doCorrectString(getCreatureName(cid))] and isWithCondition(cid) and math.random(1, 100) <= passivesChances["Zen Mind"][doCorrectString(getCreatureName(cid))] then
   docastspell(cid, "Zen Mind", 0, 0)
end
---------------------------------- Mirror Coat ---------------------------------------
if passivesChances["Mirror Coat"][doCorrectString(getCreatureName(cid))] and math.random(1, 100) <= passivesChances["Mirror Coat"][doCorrectString(getCreatureName(cid))] then   
   docastspell(cid, "Mirror Coat", 0, 0)
end
--------------------------------- Illusion -----------------------------------------
return false
end
--------------------- Chance das passivas -------------------------    --alterado v1.7
passivesChances = {
["Counter Helix"] = { --counter helix, counter spin e afins 
               ["Scyther"] = 18,
               ["Scizor"] = 18,
               ["Shiny Scyther"] = 22,
               ["Shiny Scizor"] = 22,
               ["Hitmontop"] = 22,
               ["Shiny Hitmontop"] = 22,
               ["Pineco"] = 10,
               ["Forretress"] = 15,
               ["Kangaskhan"] = 18,
             },
["Lava-Counter"] = {
                       ["Magmar"] = 18,
                       ["Shiny Magmar"] = 22,
                       ["Shiny Magmortar"] = 26,
                       ["Magmortar"] = 22,
                       ["Magby"] = 15,
               ["Ho-oh"] = 20,
               ["Entei"] = 20,
                   },

["Bone-Spin"] = {
                       ["Marowak"] = 15,
                       ["Shiny Marowak"] = 22,
                       ["Cubone"] = 10,
                       ["Shiny Cubone"] = 15,
                   },

["Stunning Confusion"] = {     --stunning confusion
                   ["Golduck"] = 20,
                   ["Shiny Golduck"] = 30,
                   ["Psyduck"] = 25,
                   ["Shiny Psyduck"] = 18,
                   ["Wobbuffet"] = 50,
                   ["Mega Wobbuffet"] = 80,
               },
["Shock-Counter"] = {
                       ["Electabuzz"] = 18,
                       ["Shiny Electabuzz"] = 22,
                       ["Shiny Electivire"] = 26,
                       ["Shiny Electivire"] = 22,
                       ["Elekid"] = 15,
                       ["Raikou"] = 20,
                  },
["Electric Charge"] = {
                         ["Pikachu"] = 12,
                         ["Raichu"] = 18,
                         ["Shiny Raichu"] = 22,
                      },
["Melody"] = {
               ["Wigglytuff"] = 20,
             },
["Dragon Fury"] = {
                    ["Persian"] = 15,
                    ["Raticate"] = 10,
                    ["Shiny Raticate"] = 15,
                    ["Gyarados"] = 18,
                    ["Shiny Gyarados"] = 22,
                    ["Dratini"] = 8,
                    ["Dragonair"] = 12,
                    ["Dragonite"] = 18,
                    ["Salamence"] = 18,
                    ["Shiny Salamence"] = 23,
                    ["Shiny Dratini"] = 15,
                    ["Shiny Dragonair"] = 22,
                 },
["Mega Drain"] = {
                    ["Oddish"] = 10,
                    ["Gloom"] = 15,
                    ["Vileplume"] = 18,
                    ["Bellossom"] = 18,
                    ["Kabuto"] = 10,
                    ["Kabutops"] = 18,
                    ["Shiny Kabutops"] = 30,
                    ["Paras"] = 8,
                    ["Parasect"] = 18,
                    ["Tangela"] = 18,
                    ["Venonat"] = 10,
                    ["Venomoth"] = 18,
                    ["Hoppip"] = 8,
                    ["Skiploom"] = 12,
                    ["Jumpluff"] = 18,
                    ["Shiny Oddish"] = 20,
                    ["Shiny Venonat"] = 20,
                    ["Shiny Venomoth"] = 20,
                    ["Shiny Vileplume"] = 20,
            ["Shiny Paras"] = 20,
                    ["Shiny Parasect"] = 20,
                    ["Shiny Tangela"] = 20,
                },
["Spores Reaction"] = {
                         ["Oddish"] = 10,
             ["Tangela"] = 18,
             ["Shiny Tangela"] = 20,
                         ["Gloom"] = 15,
                         ["Vileplume"] = 18,
                         ["Bellossom"] = 18,
             ["Hoppip"] = 8,
                         ["Skiploom"] = 12,
                         ["Jumpluff"] = 18,
             ["Paras"] = 8,
             ["Parasect"] = 18,
                         ["Shiny Vileplume"] = 20,
             ["Shiny Oddish"] = 20,
             ["Shiny Paras"] = 20,
             ["Shiny Parasect"] = 20,
                     },
["Amnesia"] = {
                ["Wooper"] = 10,
                ["Quagsire"] = 15,
                ["Swinub"] = 10,
                ["Wailord"] = 10,
                ["Piloswine"] = 15,
                ["Lorelei Piloswine"] = 15,
              },
["Zen Mind"] = {
                 ["Slowking"] = 20,
               },
["Mirror Coat"] = {
                    ["Wobbuffet"] = 50,
                  },
["Demon Kicker"] = {
                     ["Hitmonlee"] = 25,
                     ["Shiny Hitmonlee"] = 28,
                   },
["Demon Puncher"] = {
                      ["Hitmonchan"] = 25,
                      ["Shiny Hitmonchan"] = 28, 
                   },
["Evasion"] = {
                ["Scyther"] = 28,
                ["Shiny Scyther"] = 30,
                ["Scizor"] = 28,
                ["Shiny Scizor"] = 28,
                ["Hitmonlee"] = 28,
                ["Hitmonchan"] = 28,
                ["Hitmontop"] = 28,
                ["Shiny Hitmonlee"] = 28,
                ["Furios Scyther"] = 28,
                ["Rolling Hitmontop"] = 28,
                ["Puncher Hitmonchan"] = 28,
                ["Shiny Hitmonchan"] = 30,
                ["Shiny Hitmontop"] = 30,
                ["Tyrogue"] = 15,
                ["Ledian"] = 15,
                ["Ledyba"] = 10,
                ["Sneasel"] = 20,
                ["Beedrill"] = 20,
                ["Shiny Beedrill"] = 28,
                ["Mega Scizor"] = 100,
             },
}

--[[ Tabela PokePrice adicionada a baixo, para o npc Seller que compra
pokes, so edita ela aqui msm !! --]]

pokesPrice = {
["Charmander"] = 3000,
["Charmeleon"] = 8000, 
["Charizard"] = 18000,
["Bulbasaur"] =  3000,
["Ivysaur"] =  8000,
["Venusaur"] =  18000,
["Squirtle"] =  3000,
["Wartortle"] =  8000,
["Blastoise"] =  18000,
["Caterpie"] =  50,
["Metapod"] =  250,
["Butterfree"] =  2000,
["Weedle"] =  50,
["Kakuna"] =  250,
["Beedrill"] =  2000,
["Pidgey"] =  60,
["Pidgeotto"] =  1500,
["Pidgeot"] =  11500,
["Rattata"] =  5,
["Raticate"] =  2000,
["Spearow"] =  100,
["Fearow"] =  5100,
["Ekans"] =  300,
["Arbok"] =  3000,
["Pikachu"] =  8000,
["Raichu"] =  18000,
["Sandshrew"] =  1000,
["Sandslash"] =  11000,
["Nidoran Female"] =  125,
["Nidorina"] =  2250,
["Nidoqueen"] =  12250,
["Nidoran Male"] =  125,
["Nidorino"] =  2250,
["Nidoqueen"] = 12250,
["Clefairy"] =  8000,
["Clefable"] =  18000,
["Vulpix"] =  1000,
["Ninetales"] = 11000,
["Jigglypuff"] =  8000,
["Wigglytuff"] =  18000,
["Zubat"] =  120,
["Golbat"] =  3000,
["Oddish"] =  80,
["Gloom"] =  2250,
["Vileplume"] =  12000,
["Paras"] =  60,
["Parasect"] =  7250, 
["Venonat"] =  1500,
["Venomoth"] =  7250,
["Diglett"] =  200,
["Dugtrio"] =  3000,
["Meowth"] =  300,
["Persian"] =  3000,
["Psyduck"] =  1500,
["Golduck"] =  11500,
["Mankey"] =  300,
["Primeape"] =  7250,
["Growlithe"] =  3500,
["Arcanine"] =  60000,
["Poliwag"] =  80,
["Poliwhirl"] =  3000,
["Poliwrath"] =  13000,
["Abra"] =  800,
["Kadabra"] =  5800,
["Alakazam"] =  16000,
["Machop"] =  2000,
["Machoke"] =  7000,
["Machamp"] =  17000,
["Bellsprout"] =  80,
["Wepinbell"] =  2250,
["Victreebel"] =  12000,
["Tentacool"] =  300,
["Tentacruel"] =  10000,
["Geodude"] =  300,
["Graveler"] =  5000,
["Golem"] =  15000,
["Ponyta"] =  1500,
["Rapidash"] =  6500,
["Slowpoke"] =  400,
["Slowbro"] =  8000,
["Magnemite"] =  400,
["Magneton"] =  5400,
["Farfetch'd"] =  7000,
["Doduo"] =  600,
["Dodrio"] =  5600,
["Seel"] =  2000,
["Dewgong"] = 12000,
["Grimer"] =  300,
["Muk"] =  11000,
["Shellder"] =  200,
["Cloyster"] =  10200,
["Gastly"] =  3000,
["Haunter"] =  8000,
["Gengar"] =  18000,
["Onix"] =  6000,
["Drowzee"] =  1000,
["Hypno"] =  6000,
["Krabby"] =  200,
["Kingler"] =  5200,
["Voltorb"] =  250,
["Electrode"] =  3000,
["Exeggute"] =  200,
["Exeggutor"] =  10000,
["Cubone"] =  1000,
["Marowak"] =  11000,
["Hitmonlee"] =  20000,
["Hitmonchan"] =  20000,
["Lickitung"] =  60000,
["Koffing"] =  300,
["Weezing"] =  3000,
["Rhyhorn"] =  3000,
["Rhydon"] =  13000,
["Chansey"] =  40000,
["Tangela"] =  10000,
["Kangaskhan"] = 120000,
["Horsea"] =  200,
["Seadra"] =  5500,
["Goldeen"] =  200,
["Seaking"] =  3000,
["Staryu"] =  400,
["Starmie"] =  3000,
["Mr. Mime"] =  120000,
["Scyther"] =  120000,
["Jynx"] =  120000,
["Electabuzz"] =  120000,
["Magmar"] =  120000,
["Pinsir"] =  9000,
["Tauros"] =  5000,
["Magikarp"] =  5,
["Gyarados"] =  55000,
["Lapras"] =  120000,
["Ditto"] =  70000,
["Eevee"] =  45000,
["Vaporeon"] =  50000,
["Jolteon"] =  50000,
["Flareon"] =  50000,
["Porygon"] =  60000,
["Omanyte"] =  20000,
["Omastar"] =  75000,
["Kabuto"] =  2000,
["Kabutops"] =  75000,
["Aerodactyl"] =  2000000,
["Snorlax"] =  200000,
["Dratini"] =  15000,
["Dragonair"] =  65000,
["Dragonite"] =  125000,
 
-- Segunda Geração

["Chikorita"] = 3000,
["Bayleef"] = 8000,
["Meganium"] = 18000,
["Cydaquil"] = 3000,
["Quilava"] = 8000,
["Typhlosion"] = 18000,
["Totodile"] = 3000,
["Croconaw"] = 8000,
["Feraligatr"] = 18000,
["Sentret"] = 250,
["Furret"] = 3000,
["Hoothoot"] = 1500,
["Noctowl"] = 11500,
["Ledyba"] = 250,
["Ledian"] = 3000,
["Spinarak"] = 250,
["Ariados"] = 3000,
["Crobat"] = 58000,
["Chinchou"] = 1000,
["Lanturn"] = 6000,
["Pichu"] = 3000,
["Cleffa"] = 3000,
["Igglybuff"] = 3000,
["Togepi"] = 15000,
["Togetic"] = 25000,
["Natu"] = 3000,
["Xatu"] = 130000,
["Mareep"] = 3000,
["Flaaffy"] = 8000,
["Ampharos"] = 18000,
["Bellossom"] = 12000,
["Marill"] = 3000,
["Azumarill"] = 13000,
["Sudowoodo"] = 120000,
["Politoed"] = 8000,
["Hoppip"] = 80,
["Skiploom"] = 2250,
["Jumpluff"] = 12000,
["Aipom"] = 8000,
["Sunkern"] = 50,
["Sunflora"] = 5000,
["Yanma"] = 9000,
["Wooper"] = 2000,
["Quagsire"] = 12000,
["Espeon"] = 50000,
["Umbreon"] = 50000,
["Murkrow"] = 10000,
["Slowking"] = 110000,
["Misdreavus"] = 100000,
["Wobbuffet"] = 200000,
["Girafarig"] = 120000,
["Pineco"] = 300,
["Forretress"] = 10000,
["Dunsparce"] = 3000,
["Gligar"] = 8000,
["Steelix"] = 110000,
["Snubbull"] = 22500,
["Granbull"] = 12500,
["Qwilfish"] = 10000,
["Scizor"] = 220000,
["Shuckle"] = 3500,
["Heracross"] = 120000,
["Sneasel"] = 10000,
["Teddiursa"] = 80000,
["Ursaring"] = 150000,
["Slugma"] = 1000,
["Magcargo"] = 11000,
["Swinub"] = 1000,
["Piloswine"] = 11000,
["Corsola"] = 9000,
["Remoraid"] = 200,
["Octillery"] = 10000,
["Delibird"] = 10000,
["Mantine"] = 120000,
["Skarmory"] = 120000,
["Houndour"] = 35000,
["Houndoom"] = 13500,
["kingdra"] = 70000,
["Phanpy"] = 3000,
["Donphan"] = 13000,
["Porygon2"] = 120000,
["Stantler"] = 10000,
["Tyrogue"] = 150000,
["Hitmontop"] = 500000,
["Smoochum"] = 45000,
["Elikid"] = 45000,
["Magby"] = 45000,
["Miltank"] = 120000,
["Blissey"] = 140000,
["Larvitar"] = 15000,
["Pupitar"] = 65000,
["Tyranitar"] = 125000,
-- shiny --
["Shiny Fearow"] = 1500000,
["Shiny Vileplume"] = 1500000,
["Shiny Golem"] = 1500000,
["Shiny Nidoking"] = 1500000,
["Shiny Hypno"] = 1500000,
["Shiny Vaporeon"] = 1500000,
["Shiny Jolteon"] = 1500000,
["Shiny Flareon"] = 1500000,
["Shiny Hitmontop"] = 1500000,
}

--> [HELDS] <--
-- X --
AtkBonus1 = 1.10
AtkBonus2 = 1.20
AtkBonus3 = 1.30
AtkBonus4 = 1.40
AtkBonus5 = 1.70
AtkBonus6 = 2
AtkBonus7 = 2.80
DefBonus1 = 1.10
DefBonus2 = 1.20
DefBonus3 = 1.30
DefBonus4 = 1.40
DefBonus5 = 1.90
DefBonus6 = 2
DefBonus7 = 2.80
DmgReturn1 = 0.04
DmgReturn2 = 0.05
DmgReturn3 = 0.06
DmgReturn4 = 0.07
DmgReturn5 = 0.15
DmgReturn6 = 0.25
DmgReturn7 = 0.40
HellBonus1 = 2.50
HellBonus2 = 2.60
HellBonus3 = 2.70
HellBonus4 = 2.80
HellBonus5 = 2.90
HellBonus6 = 3
HellBonus7 = 3.50
PoisonBonus1 = 2.50
PoisonBonus2 = 2.60
PoisonBonus3 = 2.70
PoisonBonus4 = 2.80
PoisonBonus5 = 2.90
PoisonBonus6 = 3
PoisonBonus7 = 3.50
BoostBonus1 = 5
BoostBonus2 = 8
BoostBonus3 = 12
BoostBonus4 = 15
BoostBonus5 = 18
BoostBonus6 = 22
BoostBonus7 = 30
-- Y --
Regen1 = 700
Regen2 = 1000
Regen3 = 1500
Regen4 = 2000
Regen5 = 2500
Regen6 = 3200
Regen7 = 4500
Cure1 = 15
Cure2 = 25
Cure3 = 40
Cure4 = 50
Cure5 = 70
Cure6 = 80
Cure7 = 100

--> [HELDS] <--

 

@Danxi

Postado

troque seu main functions por:

 

Mostrar conteúdo oculto

 

e o configuration.lua 

 

Mostrar conteúdo oculto

 

testa aí

Postado
  • Autor

Mano : 

 

[18/03/2018 12:42:48] [Error - CreatureScript Interface] 
[18/03/2018 12:42:48] data/creaturescripts/scripts/player/login.lua:onLogin
[18/03/2018 12:42:48] Description: 
[18/03/2018 12:42:48] data/lib/106-main functions.lua:514: attempt to index field '?' (a nil value)
[18/03/2018 12:42:48] stack traceback:
[18/03/2018 12:42:48]     data/lib/106-main functions.lua:514: in function 'getPokemonOutfitToSkill'
[18/03/2018 12:42:48]     data/creaturescripts/scripts/player/login.lua:119: in function <data/creaturescripts/scripts/player/login.lua:23>

 

deu de novo esse erro na distro e o order nao funciona mais 

será que não pode ser o local que vc adicionou o script ? ou alguma virgula ? não sei 

 

@Danxi

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

Quem Está Navegando 0

  • Nenhum usuário registrado visualizando esta página.

Conteúdo Similar

Estatísticas dos Fóruns

  • Tópicos 96.9k
  • Posts 519.6k

Informação Importante

Confirmação de Termo