Ir para conteúdo
  • 0

(resolvido) [DxP] Bug Surf


Taiger

Pergunta

Boa tarde amigos, estava mexendo no DxP e me deparei com este bug no surf.

 

fc79rk.gif

 

Msg de erro no console:

[27/01/2017 16:54:20] [Error - MoveEvents Interface] [27/01/2017 16:54:20] data/movements/scripts/surf.lua:onStepIn[27/01/2017 16:54:20] Description: [27/01/2017 16:54:20] data/movements/scripts/surf.lua:92: attempt to perform arithmetic on global 'PlayerSpeed' (a nil value)[27/01/2017 16:54:20] stack traceback:[27/01/2017 16:54:20] 	data/movements/scripts/surf.lua:92: in function <data/movements/scripts/surf.lua:11>

 

O estranho que na atualização V3 que eu disponibilizei no tópico do DxP não tinha este bug, e agora mexendo na V1 apareceu ele.

 

surf.lua

 

 



local function doSendMagicEffecte(pos, effect)
    addEvent(doSendMagicEffect, 50, pos, effect)
end
-- 4664-4647;4608-4613;
local waters = {11756, 4614, 4615, 4616, 4617, 4618, 4619, 4608, 4609, 4610, 4611, 4612, 4613, 7236, 4614, 4615, 4616, 4617, 4618, 4619, 4620, 4621, 4622, 4623, 4624, 4625, 4665, 4666, 4820, 4821, 4822, 4823, 4824, 4825}
                                                                      
local flie = {'4820', '4821', '4822', '4823', '4824', '4825'}
                                                                   --alterado v1.6 tabelas agora em configuration.lua!
local premium = false

function onStepIn(cid, item, position, fromPosition)

if not isPlayer(cid) or isInArray({5, 6}, getPlayerGroupId(cid)) then --alterado v1.9
return true
end
if getPlayerStorageValue(cid, 75846) >= 1 then return true end   --alterado v1.9

if isPlayer(cid) and getCreatureOutfit(cid).lookType == 814 then return false end -- TVarrow-10x10.png

if isPlayer(cid) and not isPremium(cid) and premium == true then
   doTeleportThing(cid, fromPosition, false)
   doPlayerSendCancel(cid, "Only premium members are allowed to surf.")
   return true
end

if getCreatureOutfit(cid).lookType == 316 or getCreatureOutfit(cid).lookType == 648 then
   doSendMagicEffect(fromPosition, 136)
end

if (getPlayerStorageValue(cid, 63215) >= 1 or isFly(cid)) then
return true
end

if isInDuel(cid) then
   doTeleportThing(cid, fromPosition, false)
   return true
end

if #getCreatureSummons(cid) == 0 then
   doPlayerSendCancel(cid, "You need a pokemon to surf.")
   doTeleportThing(cid, fromPosition, false)
   return true
end

if isMega(getCreatureSummons(cid)[1]) then
 doPlayerSendCancel(cid, "Pokemons megas não tem habilidade surf.")
 doTeleportThing(cid, fromPosition, false)
 return true
end

local pokeName = getItemAttribute(getPlayerSlotItem(cid, 8).uid, "poke")
  local ditto = getItemAttribute(getPlayerSlotItem(cid, 8).uid, "copyName")
  if ditto and ditto ~= "" then
     pokeName = ditto
  end
if (not isInArray(specialabilities["surf"], pokeName)) then 
   doPlayerSendCancel(cid, "This pokemon cannot surf.")
   doTeleportThing(cid, fromPosition, false)
   return true
end

if getPlayerStorageValue(cid, 5700) == 1 then
   doPlayerSendCancel(cid, "You can't do that while is mount in a bikearrow-10x10.png!")
   doTeleportThing(cid, fromPosition, false)
   return true
end

if getPlayerStorageValue(cid, 212124) >= 1 then         --alterado v1.6
   doPlayerSendCancel(cid, "You can't do it with a pokemon with mind controlled!")
   doTeleportThing(cid, fromPosition, false)
   return true
end

if isInDuel(cid) then
   doPlayerSendCancel(cid, "You can't do it while a duel!")  --alterado v1.6
   doTeleportThing(cid, fromPosition, false)
   return true
end

if getPlayerStorageValue(cid, 6598754) == 1 or getPlayerStorageValue(cid, 6598755) == 1 then 
   doPlayerSendCancel(cid, "You can't do it while in the PVP Zone!")   --alterado v1.7
   doTeleportThing(cid, fromPosition, false)
   return true
end
                                        --alterado v1.6
doSetCreatureOutfit(cid, {lookType = surfs[pokeName].lookType + 351}, -1) 
setPokemonGhost(cid)

doCreatureSay(cid, ""..getPokeName(getCreatureSummons(cid)[1])..", lets surf!", TALKTYPE_ORANGE_1)
doChangeSpeed(cid, -(getCreatureSpeed(cid)))

local speed = 75 + PlayerSpeed + getSpeed(getCreatureSummons(cid)[1]) * 8 * speedRate
setPlayerStorageValue(cid, 54844, speed)
doChangeSpeed(cid, speed)

local pct = getCreatureHealth(getCreatureSummons(cid)[1]) / getCreatureMaxHealth(getCreatureSummons(cid)[1])
doItemSetAttribute(getPlayerSlotItem(cid, 8).uid, "hp", pct)

doRemoveCreature(getCreatureSummons(cid)[1])

addEvent(setPlayerStorageValue, 100, cid, 63215, 1)

local item = getPlayerSlotItem(cid, 8):
if getItemAttribute(item.uid, "boost") and getItemAttribute(item.uid, "boost") >= 50 and getPlayerStorageValue(cid, 42368) <= 0 then
   addEvent(sendAuraEffect, 120, cid, auraSyst[getItemAttribute(item.uid, "aura")])    --alterado v1.8
end

if useOTClient then
   doPlayerSendCancel(cid, '12//,hide') --alterado v1.8
end

return true
end

localarrow-10x10.pngdireffects = {30, 49, 9, 51}

function onStepOut(cid, item, position, fromPosition)

if isPlayer(cid) and getCreatureOutfit(cid).lookType == 814 thenarrow-10x10.png return false end

    local checkpos = fromPosition
        checkpos.stackpos = 0

    if isInArray(waters, getTileInfo(checkpos).itemid) then
       if getPlayerStorageValue(cid, 63215) >= 1 or getPlayerStorageValue(cid, 17000) >= 1 then
          doSendMagicEffecte(fromPosition, direffects[getCreatureLookDir(cid) + 1])
       end
    end

    if not isInArray(waters, getTileInfo(getThingPos(cid)).itemid) then

        if getPlayerStorageValue(cid, 17000) >= 1 then return true end
        if getPlayerStorageValue(cid, 63215) <= 0 then return true end

        doRemoveCondition(cid, CONDITION_OUTFIT)
        setPlayerStorageValue(cid, 63215, -1)

        doGoPokemonInOrder(cid, getPlayerSlotItem(cid, 8), false)
        doChangeSpeed(cid, -getCreatureSpeed(cid))
        doRegainSpeed(cid)   
        
    end

return true
end

 

 

Desde ja agradeço.

Link para o comentário
Compartilhar em outros sites

9 respostass a esta questão

Posts Recomendados

  • 0

main tables

 

 



---------------- configs gerais
gameVersion = "2.5"
playerSpeed = 250
farWayPos = {x = 102, y = 66, z = 4} -- usada pra sistema de order, para o poke entrar de baixo do player
tempoPraVoltarAoNormal = 8 -- Voltar a rock, bush e outros do order.
base_Fome_e_Felicidade = 60 -- o Maximo é 150. Quando for capturado ou criado pelo god. 60 = normal

---Efeitos
EFFECT_DIG = 88
EFFECT_CUT = 93
--- Msgs
MSG_NAO_E_POSSIVEL = "Desculpe, mas isso não é possível."

pokesGhosts = {"Gengar", "Haunter", "Gastly"}

---------------- megaTables
megasConf = { -- charizard x mais ataque menos speed/def, charizard y mais speed/def, menos ataque
        ["Mega Alakazam"] = {out = 1853, offense = 8.3, defense = 30, specialattack = 30, life = 8000, agility = 220, wildVity = 10, wildChance = 0.1, itemToDrop = 15131},
        ["Mega Charizard X"] = { out = {1879, 1880, 1881}, offense = 10.3, defense = 25, specialattack = 35, life = 9000, agility = 260, wildVity = 10, wildChance = 0.1, itemToDrop = 15134},
        ["Mega Charizard Y"] = { out = {1876, 1877, 1878}, offense = 9.3, defense = 35, specialattack = 30, life = 9000, agility = 280, wildVity = 10, wildChance = 0.1, itemToDrop = 15135},
        ["Mega Blastoise"] = {out = 1850, offense = 10.3, defense = 45, specialattack = 30, life = 9000, agility = 260, wildVity = 10, wildChance = 0.1, itemToDrop = 15133},
        ["Mega Gengar"] = {out = 1851, offense = 15.3, defense = 35, specialattack = 38, life = 9000, agility = 260, wildVity = 10, wildChance = 0.1, itemToDrop = 15136},    
       
        ["Mega Ampharos"] = {out = {2093, 2094, 2095}, offense = 15.3, defense = 40, specialattack = 25, life = 9000, agility = 270, wildVity = 10, wildChance = 0.1, itemToDrop = 15794},    
        ["Mega Venusaur"] = {out = 1863, offense = 15.3, defense = 40, specialattack = 25, life = 9000, agility = 270, wildVity = 10, wildChance = 0.1, itemToDrop = 15793},    
        ["Mega Tyranitar"] = {out = 1854, offense = 15.3, defense = 40, specialattack = 25, life = 9000, agility = 270, wildVity = 10, wildChance = 0.1, itemToDrop = 15781},     
        ["Mega Kangaskhan"] = {out = 1872, offense = 15.3, defense = 40, specialattack = 25, life = 9000, agility = 270, wildVity = 10, wildChance = 0.1, itemToDrop = 15783},    
        ["Mega Scizor"] = {out = 1892, offense = 15.3, defense = 40, specialattack = 25, life = 9000, agility = 270, wildVity = 10, wildChance = 0.1, itemToDrop = 15784},    
        
        ["Mega Aerodactyl"] = {out = 2061, offense = 15.3, defense = 40, specialattack = 25, life = 9000, agility = 270, wildVity = 10, wildChance = 0.1, itemToDrop = 15786},    
        ["Mega Pidgeot"] = {out = 2081, offense = 15.3, defense = 40, specialattack = 25, life = 9000, agility = 270, wildVity = 10, wildChance = 0.1, itemToDrop = 15791},    
        ["Mega Mawile"] = {out = 1859, offense = 15.3, defense = 40, specialattack = 25, life = 9000, agility = 270, wildVity = 10, wildChance = 0.1, itemToDrop = 15136},    
        ["Mega Gardevoir"] = {out = 2089, offense = 15.3, defense = 40, specialattack = 25, life = 9000, agility = 270, wildVity = 10, wildChance = 0.1, itemToDrop = 15136},    
        ["Mega Absol"] = {out = 2068, offense = 15.3, defense = 40, specialattack = 25, life = 9000, agility = 270, wildVity = 10, wildChance = 0.1, itemToDrop = 15136},    
        ["Mega Lucario"] = {out = 2069, offense = 15.3, defense = 40, specialattack = 25, life = 9000, agility = 270, wildVity = 10, wildChance = 0.1, itemToDrop = 15136},    
        ["Mega Sceptile"] = {out = 2071, offense = 15.3, defense = 40, specialattack = 25, life = 9000, agility = 270, wildVity = 10, wildChance = 0.1, itemToDrop = 15136},    
        ["Mega Swampert"] = {out = 2075, offense = 15.3, defense = 40, specialattack = 25, life = 9000, agility = 270, wildVity = 10, wildChance = 0.1, itemToDrop = 15136},    
        ["Mega Aggron"] = {out = 1864, offense = 15.3, defense = 40, specialattack = 25, life = 9000, agility = 270, wildVity = 10, wildChance = 100, itemToDrop = 15136},    
        ["Mega Blaziken"] = {out = {2090, 2091, 2092}, offense = 15.3, defense = 40, specialattack = 25, life = 9000, agility = 270, wildVity = 10, wildChance = 0.1, itemToDrop = 15136},    
        
           
    }
---------------- megaTables

pokeIdPokedex = {
[1] = "Bulbasaur",
[2] = "Ivysaur",
[3] = "Venusaur",
[4] = "Charmander",
[5] = "Charmeleon",
[6] = "Charizard",
[7] = "Squirtle",
[8] = "Wartortle",
[9] = "Blastoise",
[10] = "Caterpie",
[11] = "Metapod",
[12] = "Butterfree",
[13] = "Weedle",
[14] = "Kakuna",
[15] = "Beedrill",
[16] = "Pidgey",
[17] = "Pidgeotto",
[18] = "Pidgeot",
[19] = "Rattata",
[20] = "Raticate",
[21] = "Spearow",
[22] = "Fearow",
[23] = "Ekans",
[24] = "Arbok",
[25] = "Pikachu",
[26] = "Raichu",
[27] = "Sandshrew",
[28] = "Sandslash",
[29] = "Nidoran Female",
[30] = "Nidorina",
[31] = "Nidoqueen",
[32] = "Nidoran Male",
[33] = "Nidorino",
[34] = "Nidoking",
[35] = "Clefairy",
[36] = "Clefable",
[37] = "Vulpix",
[38] = "Ninetales",
[39] = "Jigglypuff",
[40] = "Wigglytuff",
[41] = "Zubat",
[42] = "Golbat",
[43] = "Oddish",
[44] = "Gloom",
[45] = "Vileplume",
[46] = "Paras",
[47] = "Parasect",
[48] = "Venonat",
[49] = "Venomoth",
[50] = "Diglett",
[51] = "Dugtrio",
[52] = "Meowth",
[53] = "Persian",
[54] = "Psyduck",
[55] = "Golduck",
[56] = "Mankey",
[57] = "Primeape",
[58] = "Growlithe",
[59] = "Arcanine",
[60] = "Poliwag",
[61] = "Poliwhirl",
[62] = "Poliwrath",
[63] = "Abra",
[64] = "Kadabra",
[65] = "Alakazam",
[66] = "Machop",
[67] = "Machoke",
[68] = "Machamp",
[69] = "Bellsprout",
[70] = "Weepinbell",
[71] = "Victreebel",
[72] = "Tentacool",
[73] = "Tentacruel",
[74] = "Geodude",
[75] = "Graveler",
[76] = "Golem",
[77] = "Ponyta",
[78] = "Rapidash",
[79] = "Slowpoke",
[80] = "Slowbro",
[81] = "Magnemite",
[82] = "Magneton",
[83] = "Farfetch'd",
[84] = "Doduo",
[85] = "Dodrio",
[86] = "Seel",
[87] = "Dewgong",
[88] = "Grimer",
[89] = "Muk",
[90] = "Shellder",
[91] = "Cloyster",
[92] = "Gastly",
[93] = "Haunter",
[94] = "Gengar",
[95] = "Onix",
[96] = "Drowzee",
[97] = "Hypno",
[98] = "Krabby",
[99] = "Kingler",
[100] = "Voltorb",
[101] = "Electrode",
[102] = "Exeggcute",
[103] = "Exeggutor",
[104] = "Cubone",
[105] = "Marowak",
[106] = "Hitmonlee",
[107] = "Hitmonchan",
[108] = "Lickitung",
[109] = "Koffing",
[110] = "Weezing",
[111] = "Rhyhorn",
[112] = "Rhydon",
[113] = "Chansey",
[114] = "Tangela",
[115] = "Kangaskhan",
[116] = "Horsea",
[117] = "Seadra",
[118] = "Goldeen",
[119] = "Seaking",
[120] = "Staryu",
[121] = "Starmie",
[122] = "Mr. Mime",
[123] = "Scyther",
[124] = "Jynx",
[125] = "Electabuzz",
[126] = "Magmar",
[127] = "Pinsir",
[128] = "Tauros",
[129] = "Magikarp",
[130] = "Gyarados",
[131] = "Lapras",
[132] = "Ditto",
[133] = "Eevee",
[134] = "Vaporeon",
[135] = "Jolteon",
[136] = "Flareon",
[137] = "Porygon",
[138] = "Omanyte",
[139] = "Omastar",
[140] = "Kabuto",
[141] = "Kabutops",
[142] = "Aerodactyl",
[143] = "Snorlax",
[144] = "Articuno",
[145] = "Zapdos",
[146] = "Moltres",
[147] = "Dratini",
[148] = "Dragonair",
[149] = "Dragonite",
[150] = "Mewtwo",
[151] = "Mew"
}

---------------- heldItems efeitos
heldBoost = {
    [1] = 12,
    [2] = 16,
    [3] = 20,
    [4] = 24,
    [5] = 28,
    [6] = 32,
    [7] = 40,    
}

heldAttack = {
    [1] = 1.08,
    [2] = 1.12,
    [3] = 1.16,
    [4] = 1.19,
    [5] = 1.22,
    [6] = 1.25,
    [7] = 1.50,    
}

heldDefense = {
    [1] = 1.20,
    [2] = 1.50,
    [3] = 1.80,
    [4] = 1.90,
    [5] = 2,
    [6] = 2.2,
    [7] = 2.5,    
}

heldBlockChance = {
    [1] = 6,
    [2] = 8,
    [3] = 10,
    [4] = 12,
    [5] = 14,
    [6] = 18,
    [7] = 22,    
}

heldCriticalChance = {
    [1] = 8,
    [2] = 10,
    [3] = 12,
    [4] = 14,
    [5] = 18,
    [6] = 20,
    [7] = 24,    
}

heldExperience = {
    [1] = 1.1,
    [2] = 1.15,
    [3] = 1.20,
    [4] = 1.25,
    [5] = 1.30,
    [6] = 1.35,
    [7] = 1.40,    
}

heldPoisonBurn = {
    [1] = 90,
    [2] = 125,
    [3] = 160,
    [4] = 195,
    [5] = 230,
    [6] = 265,
    [7] = 300,    
}

heldHaste = {
    [1] = 50,
    [2] = 75,
    [3] = 100,
    [4] = 125,
    [5] = 150,
    [6] = 175,
    [7] = 200,    
}

heldLucky = {
    [1] = 1.10, 
    [2] = 1.20,
    [3] = 1.35,
    [4] = 1.50,
    [5] = 1.65,
    [6] = 1.80,
    [7] = 2,    
}

heldReturn = {
    [1] = 20,
    [2] = 30,
    [3] = 35,
    [4] = 40,
    [5] = 45,
    [6] = 50,
    [7] = 80,    
}

heldVitality = {
    [1] = 5,
    [2] = 8,
    [3] = 12,
    [4] = 15,
    [5] = 19,
    [6] = 22,
    [7] = 25,    
}

---------------- configs gerais
orderTalks = {
    ["ride"] = {talks = {", deixe-me montá-lo.", ", vamos correr!"}, storage = 9800},
    ["fly"] = {talks = {", deixe-me montá-lo.", ", vamos voar!"}, storage = 9801},
    ["levitate"] = {talks = {", deixe-me montá-lo.", ", levitar!"}, storage = 9801},
    ["surf"] = {talks = {", deixe-me montá-lo.", ", vamos surfar!"}, storage = 63215},
    ["dig"] = {talks = {", cave este buraco.", ", use o cavar!"}, storage = 9803},
    ["cut"] = {talks = {", corte esta árvore.", ", use o cortar!"}, storage = 9804},
    ["rock"] = {talks = {", quebre esta rocha.", ", use o quebra rocha!"}, storage = 9805},
    ["headbutt"] = {talks = {", balance aquela árvore.", ", bata naquela árvore."}, storage = 9806},
    ["move"] = {talks = {", mova-se!"}, storage = 0},
    ["blink"] = {talks = {", teletransporte.", ", use o teletransporte." }, storage = 0},
    ["gopoke"] = {talks = {", eu preciso de sua ajuda!", ", é hora da batalha!.", ", eu escolho você!" }, storage = 0},
    ["backpoke"] = {talks = {", obrigado.", ", bom trabalho.", ", já chega. Volte!" }, storage = 0},
    ["downability"] = {talks = {", deixe-me descer.", ", obrigado." }, storage = 0},
}

types = {"normal", "fire", "fighting", "water", "flying", "grass", "poison", "electric", "ground", "psychic", "rock", "ice", "bug", "dragon", "ghost", "dark", "steel", "fairy"}

typeTable = {
["normal"] = {super = {"none"}, weak = {"rock", "steel"}, non = {"ghost"}, stoneId = 12214, color = 129, damageID = NORMALDAMAGE},
["fire"] = {super = {"bug", "grass", "ice", "steel"}, weak = {"dragon", "fire", "rock", "water"}, non = {"none"}, stoneId = 12210, color = 144, damageID = FIREDAMAGE},
["fighting"] = {super = {"dark", "ice", "normal", "rock", "steel"}, weak = {"bug", "fairy", "flying", "poison", "psychic"}, non = {"ghost"}, stoneId = 12213, color = 127, damageID = FIGHTINGDAMAGE},
["water"] = {super = {"fire", "ground", "rock"}, weak = {"dragon", "grass", "water"}, non = {"none"}, stoneId = 12224, color = 29, damageID = WATERDAMAGE},
["flying"] = {super = {"bug", "fighting", "grass"}, weak = {"electric", "rock", "steel"}, non = {"none"}, stoneId = 12214, color = 172, damageID = FLYINGDAMAGE},
["grass"] = {super = {"ground", "rock", "water"}, weak = {"bug", "dragon", "fire", "flying", "grass", "poison", "steel"}, non = {"none"}, stoneId = 12211, color = 26, damageID = GRASSDAMAGE},
["poison"] = {super = {"fairy", "grass"}, weak = {"ghost", "ground", "poison", "rock"}, non = {"steel"}, stoneId = 12215, color = 103, damageID = POISONDAMAGE},
["electric"] = {super = {"flying", "water"}, weak = {"dragon", "electric", "grass"}, non = {"ground"}, stoneId = 12220, color = 210, damageID = ELECTRICDAMAGE},
["ground"] = {super = {"electric", "poison", "rock", "steel"}, weak = {"bug", "grass"}, non = {"flying"}, stoneId = 12222, color = 121, damageID = GROUNDDAMAGE},
["psychic"] = {super = {"fighting", "poison"}, weak = {"psychic", "steel"}, non = {"dark"}, stoneId = 12221, color = 125, damageID = PSYCHICDAMAGE},
["rock"] = {super = {"bug", "fire", "flying", "ice"}, weak = {"fighting", "ground", "steel"}, non = {"none"}, stoneId = 12223, color = 127, damageID = ROCKDAMAGE},
["ice"] = {super = {"dragon", "flying", "grass", "ground"}, weak = {"fire", "ice", "steel", "water"}, non = {"none"}, stoneId = 12225, color = 71, damageID = ICEDAMAGE},
["bug"] = {super = {"dark", "grass", "psychic"}, weak = {"fairy", "fighting", "fire", "flying", "ghost", "poison", "steel"}, non = {"none"}, stoneId = 12212, color = 30, damageID = BUGDAMAGE},
["dragon"] = {super = {"dragon"}, weak = {"steel"}, non = {"fairy"}, stoneId = 12219, color = 175, damageID = DRAGONDAMAGE},
["ghost"] = {super = {"ghost", "psychic"}, weak = {"dark"}, non = {"normal"}, stoneId = 12216, color = 77, damageID = GHOSTDAMAGE},
["dark"] = {super = {"ghost", "psychic"}, weak = {"dark", "fairy", "fighting"}, non = {"none"}, stoneId = 12216, color = 53, damageID = DARKDAMAGE},
["steel"] = {super = {"fairy", "ice", "rock"}, weak = {"electric", "fire", "steel", "water"}, non = {"none"}, stoneId = 12217, color = 172, damageID = STEELDAMAGE},
["fairy"] = {super = {"dark", "dragon", "fighting"}, weak = {"fire", "poison", "steel"}, non = {"none"}, stoneId = 12214, color = 130, damageID = NORMALDAMAGE},


fightMode = {
[1] = {offense = 1.2, defense = 0.8},
[2] = {offense = 1.0, defense = 1.0},
[3] = {offense = 0.8, defense = 1.2},
}  

tableFome = {
    ["muitaFome"] = {hitMultiplier = 0.6, effe = 99}, 
    ["fome"] = {hitMultiplier = 0.8, effe = 100},
    ["normal"] = {hitMultiplier = 1, effe = 101}, 
    ["saciado"] = {hitMultiplier = 1.1, effe = 102},  
    ["semFome"] = {hitMultiplier = 1.2, effe = 103},  
}    

opcodes = {
        OPCODE_POKEDEX = 100,
        OPCODE_CREATE_POKEMONS = 101,
        OPCODE_SKILL_BAR = 102,
        OPCODE_EMERALD_SHOP = 103,
        OPCODE_POKEMON_HEALTH = 104,
        OPCODE_CATCH = 105,
        OPCODE_BATTLE_POKEMON = 106,
        OPCODE_FIGHT_MODE = 107,
        OPCODE_REQUEST_DUEL = 108,
        OPCODE_ACCEPT_DUEL = 109,
        OPCODE_YOU_ARE_DEAD = 110,
        OPCODE_DITTO_MEMORY = 111,
        OPCODE_TV_CAM = 125,
        OPCODE_TV_BLOCK_CLIENT = 126,
        OPCODE_PLAYER_DEAD_WINDOW = 130,
        OPCODE_PLAYER_SHOW_AUTOLOOT = 135,
        OPCODE_PLAYER_SHOW_ONLINE = 136,
        OPCODE_PLAYER_SHOW_TRADE_HELD = 137,
}

local NpcDescriptions = {
["Brock"] = {article = "Ele é", description = "líder do ginásio de Pewter"},
["Misty"] = {article = "Ela é", description = "líder do ginásio de Cerulean"},
["Surge"] = {article = "Ele é", description = "líder do ginásio de Vermilion"},
["Erika"] = {article = "Ela é", description = "líder do ginásio de Celadon"},
["Sabrina"] = {article = "Ela é", description = "líder do ginásio de Saffron"},
["Koga"] = {article = "Ele é", description = "líder do ginásio de Fuchsia"},
["Blaine"] = {article = "Ele é", description = "líder do ginásio de Cinnabar"},
["Giovanni"] = {article = "Ele é", description = "líder do ginásio de Viridian"},
}

diarias = {
    Easy = {"Charmander", "Squirtle", "Bulbasaur", "Oddish", "Totodile", "Diglett", "Natu", "Spinarak", "Pineco", "Sunkern", "Zubat", "Rattata", "Spearow", "Abra", "Pidgey", "Ponyta", "Ekans", "Koffing", "Vulpix", "Horsea"},
    Medio = {"Ivysaur", "Tangela", "Charmeleon", "Wartortle", "Bayleef", "Quilava", "Croconaw", "Noctowl", "Hypno", "Kadabra", "Golbat", "Raticate", "Fearow", "Umbreon", "Lickitung", "Haunter", "Hitmonlee", "Hitmonchan", "Jumpluff", "Magcargo"},
    Hard = {"Charizard", "Golem", "Blastoise", "Venusaur", "Typhlosion", "Alakazam", "Gengar", "Xatu", "Forretress", "Gyarados", "Heracross", "Qwilfish", "Skarmory", "Mantine", "Scyther", "Scizor", "Lapras", "Ampharos", "Arcanine", "Kangaskhan"},
    Expert = {"Misdreavus", "Wobbuffet", "Alakazam", "Steelix", "Tyranitar", "Electabuzz", "Magmar", "Lapras", "Scyther", "Scizor", "Tentacruel", "Gyarados", "Kabutops", "Omastar", "Ampharos", "Kangaskhan", "Jynx", "Skarmory", "Mantine", "Kingdra"},
    Lendario = {
"Blastoise", "Venusaur", "Butterfree", "Beedrill", "Pidgeot", "Raichu", "Parasect", "Magmar", "Typhlosion", "Xatu", "Arcanine", "Tentacruel", "Gengar", 
"Kingler", "Seadra", "Scyther", "Pinsir", "Crobat", "Feraligatr", "Machamp", "Meganium", "Alakazam", "Tangela", "Ampharos", "Electabuzz", "Jynx", "Charizard", "Voltorb", "Electrode"}
    }

storages = {  -- Todas as storages usadas em quaisquer scripts terão q ser armazenadas aqui
        iconSys = 20000,
        pokedexSys = 8052,
        playerClan = 8053,
        playerClanRank = 8054,
        playerCasinoCoins = 8055,
        playerKantoCatches = 8056,
        playerTotalCatches = 8057,
        playerWins = 8058,
        playerLoses = 8059,
        playerOfficialWins = 8060,
        playerOfficialLoses = 8061,
        playerPVPScore = 8062,
        gynLeaders = {
                   ["Brock"] = 8063,
                   ["Misty"] = 8064,
                   ["Surge"] = 8065,
                   ["Erika"] = 8066,
                   ["Sabrina"] = 8067,
                   ["Koga"] = 8068,
                   ["Blaine"] = 8069,
                   ["Giovanni"] = 8070
        },
        
        markedPosPoke = 8071,
        blink = 8072,
        status = {
                   attack = 8073,
                   specialAtk = 8074,
                   defense = 8075,
                   vitality = 8076,
                   fome = 8077,
                   love = 8078,
                   check = 8079,
                   specialDef = 8080,
                   speed = 8081
            },  
        fightMode = 8082,
        potion = 8083,
        gobackDelay = 8084,
        GRRRRSto = 8085,
        moves = {
                   [1] = 8086,
                   [2] = 8087,
                   [3] = 8088,
                   [4] = 8089,
                   [5] = 8090,
                   [6] = 8091,
                   [7] = 8092,
                   [8] = 8093,
                   [9] = 8094,
                   [10] = 8095,
                   [11] = 8096,
                   [12] = 8097,
                   [13] = 8098,
                   [14] = 8099
        },
        pokedexDelay = 8100,
        focus = 8101,
        status = {
                   ["sleep"] = 8102,
                   ["stun"] = 8103,
                   ["string"] = 8104,
                   ["blind"] = 8105,
                   ["confusion"] = 8106,
                   ["poison"] = 8107,
                   ["burn"] = 8108,
                   ["leechSeed"] = 8109,
                   ["speedDown"] = 8110,
                   ["fear"] = 8111,
                   ["involved"] = 8112,
                   ["silence"] = 8113,
                   ["rage"] = 8114,
                   ["harden"] = 8115,
                   ["strafe"] = 8116,
                   ["speedUp"] = 8117
                 },
                 
        duel = {
                requestCountPlayer = 8118,
                requestCountPokemon = 8119,
                requestedPlayer = 8120,
                isInDuel = 8121,
               },
        teamRed = 8122,
        teamBlue = 8123,
        reflect = 8124,
        damageKillExp = 8125,
        catchAnuncio = 8126,
        miniQuests = {
                        tonny = {QuestStor = 8135, StatusMission = 8136},
                        storNpcTaskName = 8137,
                        storPokeNameTask1 = 8138,
                        storPokeCountTask1 = 8139,
                        storDayTask1 = 8140,
                        
                        storNpcTaskName2 = 8141,
                        storPokeNameTask2 = 8142,
                        storPokeCountTask2 = 8143,
                        storDayTask2 = 8144,
                        
                        storNpcTaskName3 = 8145,
                        storPokeNameTask3 = 8146,
                        storPokeCountTask3 = 8147,
                        storDayTask3 = 8148,
                        
                        storNpcTaskName4 = 8149,
                        storPokeNameTask4 = 8150,
                        storPokeCountTask4 = 8151,
                        storDayTask4 = 8152,
                     },    
        isMega = 20000,
        isMegaID = 20001,
        isPokemonGhost = 20002,
        globalsTV = 52010,
        TVHoras = 52011,
        TVMins = 52012,
        TVSecs = 52013,
        playerTVName = 55014, 
        playerTVPass = 55015,
        playerListWatchs = 55016,
        playerIsTvWatching = 55017,
        playerIsTvWhosWatching = 55018,
        playerIsTvInitialPos = 55019,
        
        playerIsDead = 20003,
        betaStorage = 20004,
        GetClienteVersion = 20005,
        BugFishing = 20006,
        AutoLootList = 20007,
        UsingAutoLoot = 20008,
        SmeargleID = 20009,
        isWildTrainer = 20010,
        wildTrainerPokemons = 20011,
        isWildTrainerPoke = 20012,
        NPCPokeCounts = 20013,
        isWildTrainerID = 20014,    
        NPCNameWILD = 20015,
        NPCNIVEL = 20016,
        BrotherHoodMember = 20017,
        BrotherHoodMemberRANK = 20018,
        BrotherHoodMemberOUTFITDUELIST = 20019,
        BrotherHoodMemberOUTFITMASTER = 20020,
        NPCPOSDESC = 20021,
        WILDNPCMYSUMMON = 20022,
        PLAYERCONTRACTSCOUNTS = 20023,
        NPCCITY = 20024,
        AutoLootCollectAll = 20025,
        TASKSYSTEMNOTWOTARGETS = 20026, -- player tem q matar o poke com o mesmo summon para contar na diaria
        ISBLOCKEDRESPAWN = 20027,
        
}

missStatus = {"stun", "string", "blind", "confusion"}
silenceStatus = {"sleep", "fear", "involved", "silence"}
buffStatus = {"rage", "harden", "strafe", "speedUp"}
allStatus = {"sleep", "stun", "string", "blind", "confusion", "poison", "burn", "leechSeed", "speedDown", "fear", "involved", "silence", "rage", "harden", "strafe", "speedUp"}

passivepokemons = {"Shiny Tangela", "Eevee", "Caterpie", "Metapod", "Butterfree", 'Pidgey', 'Clefairy', 'Jigglypuff', 'Oddish', 'Gloom', 'Paras', 'Psyduck', 'Bellsprout', 'Weepinbell', 'Slowpoke', 'Slowbro', "Farfetch'd", 'Doduo', 'Dodrio', 'Seel', 'Shellder', 'Kangaskhan', 'Chansey', 'Tangela', 'Mr. Mime', 'Tauros', 'Ditto', 'Lapras', 'Porygon', 'Omanyte'}


----------------------------------------- Headbutt
headbutt = {
[25] = {{"Arcanine", 1}},
[40] = {{"Arcanine", 1}},
[60] = {{"Arcanine", 1}},
[80] = {{"Arcanine", 1}},
[1000] = {{"Arcanine", 1}},
}
----------------------------------------- Headbutt
--persist
catchsystem = {
["Bulbasaur"] = {storage = 169001},
["Ivysaur"] = {storage = 169002},
["Venusaur"] = {storage = 169003},
["Charmander"] = {storage = 169004},
["Charmeleon"] = {storage = 169005},
["Charizard"] = {storage = 169006},
["Squirtle"] = {storage = 169007},
["Wartortle"] = {storage = 169008},
["Blastoise"] = {storage = 169009},
["Caterpie"] = {storage = 169010},
["Metapod"] = {storage = 169011},
["Butterfree"] = {storage = 169012},
["Weedle"] = {storage = 169013},
["Kakuna"] = {storage = 169014},
["Beedrill"] = {storage = 169015},
["Pidgey"] = {storage = 169016},
["Pidgeotto"] = {storage = 169017},
["Pidgeot"] = {storage = 169018},
["Rattata"] = {storage = 169019},
["Raticate"] = {storage = 169020},
["Spearow"] = {storage = 169021},
["Fearow"] = {storage = 169022},
["Ekans"] = {storage = 169023},
["Arbok"] = {storage = 169024},
["Pikachu"] = {storage = 169025},
["Raichu"] = {storage = 169026},
["Sandshrew"] = {storage = 169027},
["Sandslash"] = {storage = 169028},
["Nidoran Female"] = {storage = 169029},
["Nidorina"] = {storage = 169030},
["Nidoqueen"] = {storage = 169031},
["Nidoran Male"] = {storage = 169032},
["Nidorino"] = {storage = 169033},
["Nidoking"] = {storage = 169034},
["Clefairy"] = {storage = 169035},
["Clefable"] = {storage = 169036},
["Vulpix"] = {storage = 169037},
["Ninetales"] = {storage = 169038},
["Jigglypuff"] = {storage = 169039},
["Wigglytuff"] = {storage = 169040},
["Zubat"] = {storage = 169041},
["Golbat"] = {storage = 169042},
["Oddish"] = {storage = 169043},
["Gloom"] = {storage = 169044},
["Vileplume"] = {storage = 169045},
["Paras"] = {storage = 169046},
["Parasect"] = {storage = 169047},
["Venonat"] = {storage = 169048},
["Venomoth"] = {storage = 169049},
["Diglett"] = {storage = 169050},
["Dugtrio"] = {storage = 169051},
["Meowth"] = {storage = 169052},
["Persian"] = {storage = 169053},
["Psyduck"] = {storage = 169054},
["Golduck"] = {gstorage = 169055},
["Mankey"] = {storage = 169056},
["Primeape"] = {gstorage = 169057},
["Growlithe"] = {storage = 169058},
["Poliwag"] = {storage = 169060},
["Poliwhirl"] = {storage = 169061},
["Poliwrath"] = {storage = 169062},
["Abra"] = {storage = 169063},
["Kadabra"] = {storage = 169064},
["Alakazam"] = {storage = 169065},
["Machop"] = {storage = 169066},
["Machoke"] = {storage = 169067},
["Machamp"] = {storage = 169068},
["Bellsprout"] = {storage = 169069},
["Weepinbell"] = {storage = 169070},
["Victreebel"] = {storage = 169071},
["Tentacool"] = {storage = 169072},
["Tentacruel"] = {storage = 169073},
["Geodude"] = {storage = 169074},
["Graveler"] = {storage = 169075},
["Golem"] = {storage = 169076},
["Ponyta"] = {storage = 169077},
["Rapidash"] = {storage = 169078},
["Slowpoke"] = {storage = 1690799},
["Slowbro"] = {storage = 169080},
["Magnemite"] = {storage = 169081},
["Magneton"] = {storage = 169082},
["Farfetch'd"] = {storage = 169083},
["Doduo"] = {storage = 169084},
["Dodrio"] = {storage = 169085},
["Seel"] = {storage = 169086},
["Dewgong"] = {storage = 169087},
["Grimer"] = {storage = 169088},
["Muk"] = {storage = 169089},
["Shellder"] = {storage = 169090},
["Cloyster"] = {storage = 169091},
["Gastly"] = {storage = 169092},
["Haunter"] = {storage = 169093},
["Gengar"] = {storage = 169094},
["Onix"] = {storage = 169095},
["Drowzee"] = {storage = 169096},
["Hypno"] = {storage = 169097},
["Krabby"] = {storage = 169098},
["Kingler"] = {storage = 169099},
["Voltorb"] = {storage = 169100},
["Electrode"] = {storage = 169101},
["Exeggcute"] = {storage = 169102},
["Exeggutor"] = {storage = 169103},
["Cubone"] = {storage = 169104},
["Marowak"] = {storage = 169105},
["Koffing"] = {storage = 169109},
["Weezing"] = {storage = 169110},
["Rhyhorn"] = {storage = 169111},
["Rhydon"] = {storage = 169112},
["Tangela"] = {storage = 169114},
["Horsea"] = {storage = 169116},
["Seadra"] = {storage = 169117},
["Goldeen"] = {storage = 169118},
["Seaking"] = {storage = 169119},
["Staryu"] = {storage = 169120},
["Starmie"] = {storage = 169121},
["Tauros"] = {storage = 169128},
["Magikarp"] = {storage = 169129}
}

catchsystemhard = {
["Arcanine"] = {storage = 169059},
["Hitmonlee"] = {storage = 169106},
["Hitmonchan"] = {storage = 169107},
["Lickitung"] = {storage = 169108},
["Chansey"] = {storage = 169113},
["Kangaskhan"] = {storage = 169115},
["Mr. Mime"] = {storage = 169122},
["Scyther"] = {storage = 169123},
["Jynx"] = {storage = 169124},
["Electabuzz"] = {storage = 169125},
["Magmar"] = {storage = 169126},
["Pinsir"] = {storage = 169127},
["Gyarados"] = {storage = 169130},
["Lapras"] = {storage = 169131},
["Ditto"] = {storage = 169132},
["Eevee"] = {storage = 169133},
["Vaporeon"] = {storage = 169134},
["Jolteon"] = {storage = 169135},
["Flareon"] = {storage = 169136},
["Porygon"] = {storage = 169137},
["Omanyte"] = {storage = 169138},
["Omastar"] = {storage = 169139},
["Kabuto"] = {storage = 169140},
["Kabutops"] = {storage = 169141},
["Snorlax"] = {storage = 169143},
["Dratini"] = {storage = 169147},
["Dragonair"] = {storage = 169148},
["Dragonite"] = {storage = 169149}
}

catchsystemshiny = {
["Aerodactyl"] = {storage = 169142},
["Shiny Venusaur"] = {storage = 269003},
["Shiny Charizard"] = {storage = 269006},
["Shiny Blastoise"] = {storage = 269009},
["Shiny Butterfree"] = {storage = 269012},
["Shiny Beedrill"] = {storage = 269015},
["Shiny Pidgeot"] = {storage = 269018},
["Shiny Rattata"] = {storage = 269019},
["Shiny Raticate"] = {storage = 269020},
["Shiny Fearow"] = {storage = 269022},
["Shiny Raichu"] = {storage = 269026},
["Shiny Nidoking"] = {storage = 269034},
["Shiny Ninetales"] = {storage = 269038},
["Shiny Zubat"] = {storage = 269041},
["Shiny Golbat"] = {storage = 269042},
["Shiny Oddish"] = {storage = 269043},
["Shiny Vileplume"] = {storage = 269045},
["Shiny Paras"] = {storage = 269046},
["Shiny Parasect"] = {storage = 269047},
["Shiny Venonat"] = {storage = 269048},
["Shiny Venomoth"] = {storage = 269049},
["Shiny Growlithe"] = {storage = 269058},
["Shiny Arcanine"] = {storage = 269059},
["Shiny Poliwag"] = {storage = 269060},
["Shiny Abra"] = {storage = 269063},
["Shiny Alakazam"] = {storage = 269065},
["Shiny Machamp"] = {storage = 269068},
["Shiny Tentacool"] = {storage = 269072},
["Shiny Tentacruel"] = {storage = 269073},
["Shiny Golem"] = {storage = 269076},
["Shiny Magneton"] = {storage = 269082},
["Shiny Farfetch'd"] = {storage = 269083},
["Shiny Dodrio"] = {storage = 269085},
["Shiny Grimer"] = {storage = 269088},
["Shiny Muk"] = {storage = 269089},
["Shiny Gengar"] = {storage = 269094},
["Shiny Onix"] = {storage = 269095},
["Shiny Hypno"] = {storage = 269097},
["Shiny Krabby"] = {storage = 269098},
["Shiny Kingler"] = {storage = 269099},
["Shiny Voltorb"] = {storage = 269100},
["Shiny Electrode"] = {storage = 269101},
["Shiny Cubone"] = {storage = 269104},
["Shiny Marowak"] = {storage = 269105},
["Shiny Hitmonlee"] = {storage = 269106},
["Shiny Hitmonchan"] = {storage = 269107},
["Shiny Rhydon"] = {storage = 269112},
["Shiny Tangela"] = {storage = 269114},
["Shiny Horsea"] = {storage = 269116},
["Shiny Seadra"] = {storage = 269117},
["Shiny Mr. Mime"] = {storage = 269122},
["Shiny Scyther"] = {storage = 269123},
["Shiny Jynx"] = {storage = 269124},
["Shiny Electabuzz"] = {storage = 269125},
["Shiny Magmar"] = {storage = 269126},
["Shiny Pinsir"] = {storage = 269127},
["Shiny Tauros"] = {storage = 269128},
["Shiny Magikarp"] = {storage = 269129},
["Shiny Gyarados"] = {storage = 269130},
["Shiny Ditto"] = {storage = 269132},
["Shiny Vaporeon"] = {storage = 269134},
["Shiny Jolteon"] = {storage = 269135},
["Shiny Flareon"] = {storage = 269136},
["Shiny Snorlax"] = {storage = 269143},
["Shiny Dratini"] = {storage = 269147},
["Shiny Dragonair"] = {storage = 269148}
}

catchsystemall = {
["Bulbasaur"] = {storage = 169001, ratetype = "normal"},
["Ivysaur"] = {storage = 169002, ratetype = "normal"},
["Venusaur"] = {storage = 169003, ratetype = "normal"},
["Charmander"] = {storage = 169004, ratetype = "normal"},
["Charmeleon"] = {storage = 169005, ratetype = "normal"},
["Charizard"] = {storage = 169006, ratetype = "normal"},
["Squirtle"] = {storage = 169007, ratetype = "normal"},
["Wartortle"] = {storage = 169008, ratetype = "normal"},
["Blastoise"] = {storage = 169009, ratetype = "normal"},
["Caterpie"] = {storage = 169010, ratetype = "normal"},
["Metapod"] = {storage = 169011, ratetype = "normal"},
["Butterfree"] = {storage = 169012, ratetype = "normal"},
["Weedle"] = {storage = 169013, ratetype = "normal"},
["Kakuna"] = {storage = 169014, ratetype = "normal"},
["Beedrill"] = {storage = 169015, ratetype = "normal"},
["Pidgey"] = {storage = 169016, ratetype = "normal"},
["Pidgeotto"] = {storage = 169017, ratetype = "normal"},
["Pidgeot"] = {storage = 169018, ratetype = "normal"},
["Rattata"] = {storage = 169019, ratetype = "normal"},
["Raticate"] = {storage = 169020, ratetype = "normal"},
["Spearow"] = {storage = 169021, ratetype = "normal"},
["Fearow"] = {storage = 169022, ratetype = "normal"},
["Ekans"] = {storage = 169023, ratetype = "normal"},
["Arbok"] = {storage = 169024, ratetype = "normal"},
["Pikachu"] = {storage = 169025, ratetype = "normal"},
["Raichu"] = {storage = 169026, ratetype = "normal"},
["Sandshrew"] = {storage = 169027, ratetype = "normal"},
["Sandslash"] = {storage = 169028, ratetype = "normal"},
["Nidoran Female"] = {storage = 169029, ratetype = "normal"},
["Nidorina"] = {storage = 169030, ratetype = "normal"},
["Nidoqueen"] = {storage = 169031, ratetype = "normal"},
["Nidoran Male"] = {storage = 169032, ratetype = "normal"},
["Nidorino"] = {storage = 169033, ratetype = "normal"},
["Nidoking"] = {storage = 169034, ratetype = "normal"},
["Clefairy"] = {storage = 169035, ratetype = "normal"},
["Clefable"] = {storage = 169036, ratetype = "normal"},
["Vulpix"] = {storage = 169037, ratetype = "normal"},
["Ninetales"] = {storage = 169038, ratetype = "normal"},
["Jigglypuff"] = {storage = 169039, ratetype = "normal"},
["Wigglytuff"] = {storage = 169040, ratetype = "normal"},
["Zubat"] = {storage = 169041, ratetype = "normal"},
["Golbat"] = {storage = 169042, ratetype = "normal"},
["Oddish"] = {storage = 169043, ratetype = "normal"},
["Gloom"] = {storage = 169044, ratetype = "normal"},
["Vileplume"] = {storage = 169045, ratetype = "normal"},
["Paras"] = {storage = 169046, ratetype = "normal"},
["Parasect"] = {storage = 169047, ratetype = "normal"},
["Venonat"] = {storage = 169048, ratetype = "normal"},
["Venomoth"] = {storage = 169049, ratetype = "normal"},
["Diglett"] = {storage = 169050, ratetype = "normal"},
["Dugtrio"] = {storage = 169051, ratetype = "normal"},
["Meowth"] = {storage = 169052, ratetype = "normal"},
["Persian"] = {storage = 169053, ratetype = "normal"},
["Psyduck"] = {storage = 169054, ratetype = "normal"},
["Golduck"] = {gstorage = 169055, ratetype = "normal"},
["Mankey"] = {storage = 169056, ratetype = "normal"},
["Primeape"] = {gstorage = 169057, ratetype = "normal"},
["Growlithe"] = {storage = 169058, ratetype = "normal"},
["Poliwag"] = {storage = 169060, ratetype = "normal"},
["Poliwhirl"] = {storage = 169061, ratetype = "normal"},
["Poliwrath"] = {storage = 169062, ratetype = "normal"},
["Abra"] = {storage = 169063, ratetype = "normal"},
["Kadabra"] = {storage = 169064, ratetype = "normal"},
["Alakazam"] = {storage = 169065, ratetype = "normal"},
["Machop"] = {storage = 169066, ratetype = "normal"},
["Machoke"] = {storage = 169067, ratetype = "normal"},
["Machamp"] = {storage = 169068, ratetype = "normal"},
["Bellsprout"] = {storage = 169069, ratetype = "normal"},
["Weepinbell"] = {storage = 169070, ratetype = "normal"},
["Victreebel"] = {storage = 169071, ratetype = "normal"},
["Tentacool"] = {storage = 169072, ratetype = "normal"},
["Tentacruel"] = {storage = 169073, ratetype = "normal"},
["Geodude"] = {storage = 169074, ratetype = "normal"},
["Graveler"] = {storage = 169075, ratetype = "normal"},
["Golem"] = {storage = 169076, ratetype = "normal"},
["Ponyta"] = {storage = 169077, ratetype = "normal"},
["Rapidash"] = {storage = 169078, ratetype = "normal"},
["Slowpoke"] = {storage = 1690799, ratetype = "normal"},
["Slowbro"] = {storage = 169080, ratetype = "normal"},
["Magnemite"] = {storage = 169081, ratetype = "normal"},
["Magneton"] = {storage = 169082, ratetype = "normal"},
["Farfetch'd"] = {storage = 169083, ratetype = "normal"},
["Doduo"] = {storage = 169084, ratetype = "normal"},
["Dodrio"] = {storage = 169085, ratetype = "normal"},
["Seel"] = {storage = 169086, ratetype = "normal"},
["Dewgong"] = {storage = 169087, ratetype = "normal"},
["Grimer"] = {storage = 169088, ratetype = "normal"},
["Muk"] = {storage = 169089, ratetype = "normal"},
["Shellder"] = {storage = 169090, ratetype = "normal"},
["Cloyster"] = {storage = 169091, ratetype = "normal"},
["Gastly"] = {storage = 169092, ratetype = "normal"},
["Haunter"] = {storage = 169093, ratetype = "normal"},
["Gengar"] = {storage = 169094, ratetype = "normal"},
["Onix"] = {storage = 169095, ratetype = "normal"},
["Drowzee"] = {storage = 169096, ratetype = "normal"},
["Hypno"] = {storage = 169097, ratetype = "normal"},
["Krabby"] = {storage = 169098, ratetype = "normal"},
["Kingler"] = {storage = 169099, ratetype = "normal"},
["Voltorb"] = {storage = 169100, ratetype = "normal"},
["Electrode"] = {storage = 169101, ratetype = "normal"},
["Exeggcute"] = {storage = 169102, ratetype = "normal"},
["Exeggutor"] = {storage = 169103, ratetype = "normal"},
["Cubone"] = {storage = 169104, ratetype = "normal"},
["Marowak"] = {storage = 169105, ratetype = "normal"},
["Koffing"] = {storage = 169109, ratetype = "normal"},
["Weezing"] = {storage = 169110, ratetype = "normal"},
["Rhyhorn"] = {storage = 169111, ratetype = "normal"},
["Rhydon"] = {storage = 169112, ratetype = "normal"},
["Tangela"] = {storage = 169114, ratetype = "normal"},
["Horsea"] = {storage = 169116, ratetype = "normal"},
["Seadra"] = {storage = 169117, ratetype = "normal"},
["Goldeen"] = {storage = 169118, ratetype = "normal"},
["Seaking"] = {storage = 169119, ratetype = "normal"},
["Staryu"] = {storage = 169120, ratetype = "normal"},
["Starmie"] = {storage = 169121, ratetype = "normal"},
["Tauros"] = {storage = 169128, ratetype = "normal"},
["Magikarp"] = {storage = 169129, ratetype = "normal"},
["Arcanine"] = {storage = 169059, ratetype = "hard"},
["Hitmonlee"] = {storage = 169106, ratetype = "hard"},
["Hitmonchan"] = {storage = 169107, ratetype = "hard"},
["Lickitung"] = {storage = 169108, ratetype = "hard"},
["Chansey"] = {storage = 169113, ratetype = "hard"},
["Kangaskhan"] = {storage = 169115, ratetype = "hard"},
["Mr. Mime"] = {storage = 169122, ratetype = "hard"},
["Scyther"] = {storage = 169123, ratetype = "hard"},
["Jynx"] = {storage = 169124, ratetype = "hard"},
["Electabuzz"] = {storage = 169125, ratetype = "hard"},
["Magmar"] = {storage = 169126, ratetype = "hard"},
["Pinsir"] = {storage = 169127, ratetype = "hard"},
["Gyarados"] = {storage = 169130, ratetype = "hard"},
["Lapras"] = {storage = 169131, ratetype = "hard"},
["Ditto"] = {storage = 169132, ratetype = "hard"},
["Eevee"] = {storage = 169133, ratetype = "hard"},
["Vaporeon"] = {storage = 169134, ratetype = "hard"},
["Jolteon"] = {storage = 169135, ratetype = "hard"},
["Flareon"] = {storage = 169136, ratetype = "hard"},
["Porygon"] = {storage = 169137, ratetype = "hard"},
["Omanyte"] = {storage = 169138, ratetype = "hard"},
["Omastar"] = {storage = 169139, ratetype = "hard"},
["Kabuto"] = {storage = 169140, ratetype = "hard"},
["Kabutops"] = {storage = 169141, ratetype = "hard"},
["Snorlax"] = {storage = 169143, ratetype = "hard"},
["Dratini"] = {storage = 169147, ratetype = "hard"},
["Dragonair"] = {storage = 169148, ratetype = "hard"},
["Dragonite"] = {storage = 169149, ratetype = "hard"},
["Aerodactyl"] = {storage = 169142, ratetype = "shiny"},
["Shiny Venusaur"] = {storage = 269003, ratetype = "shiny"},
["Shiny Charizard"] = {storage = 269006, ratetype = "shiny"},
["Shiny Blastoise"] = {storage = 269009, ratetype = "shiny"},
["Shiny Butterfree"] = {storage = 269012, ratetype = "shiny"},
["Shiny Beedrill"] = {storage = 269015, ratetype = "shiny"},
["Shiny Pidgeot"] = {storage = 269018, ratetype = "shiny"},
["Shiny Rattata"] = {storage = 269019, ratetype = "shiny"},
["Shiny Raticate"] = {storage = 269020, ratetype = "shiny"},
["Shiny Fearow"] = {storage = 269022, ratetype = "shiny"},
["Shiny Raichu"] = {storage = 269026, ratetype = "shiny"},
["Shiny Nidoking"] = {storage = 269034, ratetype = "shiny"},
["Shiny Ninetales"] = {storage = 269038, ratetype = "shiny"},
["Shiny Zubat"] = {storage = 269041, ratetype = "shiny"},
["Shiny Golbat"] = {storage = 269042, ratetype = "shiny"},
["Shiny Oddish"] = {storage = 269043, ratetype = "shiny"},
["Shiny Vileplume"] = {storage = 269045, ratetype = "shiny"},
["Shiny Paras"] = {storage = 269046, ratetype = "shiny"},
["Shiny Parasect"] = {storage = 269047, ratetype = "shiny"},
["Shiny Venonat"] = {storage = 269048, ratetype = "shiny"},
["Shiny Venomoth"] = {storage = 269049, ratetype = "shiny"},
["Shiny Growlithe"] = {storage = 269058, ratetype = "shiny"},
["Shiny Arcanine"] = {storage = 269059, ratetype = "shiny"},
["Shiny Poliwag"] = {storage = 269060, ratetype = "shiny"},
["Shiny Abra"] = {storage = 269063, ratetype = "shiny"},
["Shiny Alakazam"] = {storage = 269065, ratetype = "shiny"},
["Shiny Machamp"] = {storage = 269068, ratetype = "shiny"},
["Shiny Tentacool"] = {storage = 269072, ratetype = "shiny"},
["Shiny Tentacruel"] = {storage = 269073, ratetype = "shiny"},
["Shiny Golem"] = {storage = 269076, ratetype = "shiny"},
["Shiny Magneton"] = {storage = 269082, ratetype = "shiny"},
["Shiny Farfetch'd"] = {storage = 269083, ratetype = "shiny"},
["Shiny Dodrio"] = {storage = 269085, ratetype = "shiny"},
["Shiny Grimer"] = {storage = 269088, ratetype = "shiny"},
["Shiny Muk"] = {storage = 269089, ratetype = "shiny"},
["Shiny Gengar"] = {storage = 269094, ratetype = "shiny"},
["Shiny Onix"] = {storage = 269095, ratetype = "shiny"},
["Shiny Hypno"] = {storage = 269097, ratetype = "shiny"},
["Shiny Krabby"] = {storage = 269098, ratetype = "shiny"},
["Shiny Kingler"] = {storage = 269099, ratetype = "shiny"},
["Shiny Voltorb"] = {storage = 269100, ratetype = "shiny"},
["Shiny Electrode"] = {storage = 269101, ratetype = "shiny"},
["Shiny Cubone"] = {storage = 269104, ratetype = "shiny"},
["Shiny Marowak"] = {storage = 269105, ratetype = "shiny"},
["Shiny Hitmonlee"] = {storage = 269106, ratetype = "shiny"},
["Shiny Hitmonchan"] = {storage = 269107, ratetype = "shiny"},
["Shiny Rhydon"] = {storage = 269112, ratetype = "shiny"},
["Shiny Tangela"] = {storage = 269114, ratetype = "shiny"},
["Shiny Horsea"] = {storage = 269116, ratetype = "shiny"},
["Shiny Seadra"] = {storage = 269117, ratetype = "shiny"},
["Shiny Mr. Mime"] = {storage = 269122, ratetype = "shiny"},
["Shiny Scyther"] = {storage = 269123, ratetype = "shiny"},
["Shiny Jynx"] = {storage = 269124, ratetype = "shiny"},
["Shiny Electabuzz"] = {storage = 269125, ratetype = "shiny"},
["Shiny Magmar"] = {storage = 269126, ratetype = "shiny"},
["Shiny Pinsir"] = {storage = 269127, ratetype = "shiny"},
["Shiny Tauros"] = {storage = 269128, ratetype = "shiny"},
["Shiny Magikarp"] = {storage = 269129, ratetype = "shiny"},
["Shiny Gyarados"] = {storage = 269130, ratetype = "shiny"},
["Shiny Ditto"] = {storage = 269132, ratetype = "shiny"},
["Shiny Vaporeon"] = {storage = 269134, ratetype = "shiny"},
["Shiny Jolteon"] = {storage = 269135, ratetype = "shiny"},
["Shiny Flareon"] = {storage = 269136, ratetype = "shiny"},
["Shiny Snorlax"] = {storage = 269143, ratetype = "shiny"},
["Shiny Dratini"] = {storage = 269147, ratetype = "shiny"},
["Shiny Dragonair"] = {storage = 269148, ratetype = "shiny"}
}
--persist
    
oldpokedexToCatch = {
{"Bulbasaur", 18, 1001, 10000},
{"Ivysaur", 38, 1002, 15000},
{"Venusaur", 75, 1003, 200000},
{"Charmander", 18, 1004, 10000},
{"Charmeleon", 38, 1005, 15000},
{"Charizard", 75, 1006, 200000},
{"Squirtle", 18, 1007, 10000},
{"Wartortle", 38, 1008, 15000},
{"Blastoise", 75, 1009, 200000},
{"Caterpie", 3, 1010, 500},
{"Metapod", 10, 1011, 3000},
{"Butterfree", 30, 1012, 10000},
{"Weedle", 3, 1013, 500},
{"Kakuna", 10, 1014, 3000},
{"Beedrill", 30, 1015, 10000},
{"Pidgey", 5, 1016, 500},
{"Pidgeotto", 20, 1017, 3000},
{"Pidgeot", 60, 1018, 200000},
{"Rattata", 3, 1019, 500},
{"Raticate", 20, 1020, 10000},
{"Spearow", 5, 1021, 500},
{"Fearow", 50, 1022, 50000},
{"Ekans", 12, 1023, 3000},
{"Arbok", 30, 1024, 15000},
{"Pikachu", 20, 1025, 15000},
{"Raichu", 50, 1026, 200000},
{"Sandshrew", 18, 1027, 3000},
{"Sandslash", 55, 1028, 100000},
{"Nidoran Female", 10, 1029, 3000},
{"Nidorina", 25, 1030, 10000},
{"Nidoqueen", 65, 1031, 100000},
{"Nidoran Male", 10, 1032, 3000},
{"Nidorino", 25, 1033, 10000},
{"Nidoking", 65, 1034, 100000},
{"Clefairy", 10, 1035, 15000},
{"Clefable", 35, 1036, 100000},
{"Vulpix", 16, 1037, 3000},
{"Ninetales", 65, 1038, 200000},
{"Jigglypuff", 10, 1039, 15000},
{"Wigglytuff", 42, 1040, 100000},
{"Zubat", 5, 1041, 3000},
{"Golbat", 30, 1042, 15000},
{"Oddish", 5, 1043, 500},
{"Gloom", 18, 1044, 10000},
{"Vileplume", 50, 1045, 50000},
{"Paras", 5, 1046, 500},
{"Parasect", 40, 1047, 50000},
{"Venonat", 14, 1048, 3000},
{"Venomoth", 40, 1049, 50000},
{"Diglett", 5, 1050, 3000},
{"Dugtrio", 35, 1051, 15000},
{"Meowth", 12, 1052, 3000},
{"Persian", 25, 1053, 50000},
{"Psyduck", 12, 1054, 3000},
{"Golduck", 55, 1055, 200000},
{"Mankey", 10, 1056, 3000},
{"Primeape", 45, 1057, 50000},
{"Growlithe", 16, 1058, 3000},
{"Arcanine", 70, 1059, 500000},
{"Poliwag", 5, 1060, 500},
{"Poliwhirl", 20, 1061, 3000},
{"Poliwrath", 60, 1062, 100000},
{"Abra", 12, 1063, 3000},
{"Kadabra", 40, 1064, 15000},
{"Alakazam", 70, 1065, 200000},
{"Machop", 16, 1066, 3000},
{"Machoke", 38, 1067, 15000},
{"Machamp", 70, 1068, 200000},
{"Bellsprout", 5, 1069, 500},
{"Weepinbell", 18, 1070, 3000},
{"Victreebel", 50, 1071, 50000},
{"Tentacool", 12, 1072, 3000},
{"Tentacruel", 70, 1073, 200000},
{"Geodude", 15, 1074, 3000},
{"Graveler", 40, 1075, 15000},
{"Golem", 70, 1076, 200000},
{"Ponyta", 15, 1077, 3000},
{"Rapidash", 55, 1078, 50000},
{"Slowpoke", 12, 1079, 3000},
{"Slowbro", 45, 1080, 15000},
{"Magnemite", 15, 1081, 3000},
{"Magneton", 38, 1082, 15000},
{"Farfetch'd", 35, 1083, 50000},
{"Doduo", 12, 1084, 3000},
{"Dodrio", 42, 1085, 15000},
{"Seel", 14, 1086, 3000},
{"Dewgong", 55, 1087, 15000},
{"Grimer", 12, 1088, 3000},
{"Muk", 30, 1089, 50000},
{"Shellder", 5, 1090, 3000},
{"Cloyster", 65, 1091, 100000},
{"Gastly", 14, 1092, 3000},
{"Haunter", 40, 1093, 15000},
{"Gengar", 70, 1094, 200000},
{"Onix", 50, 1095, 50000},
{"Drowzee", 18, 1096, 3000},
{"Hypno", 50, 1097, 50000},
{"Krabby", 5, 1098, 3000},
{"Kingler", 35, 1099, 15000},
{"Voltorb", 14, 1100, 3000},
{"Electrode", 38, 1101, 15000},
{"Exeggcute", 8, 1102, 3000},
{"Exeggutor", 48, 1103, 50000},
{"Cubone", 18, 1104, 3000},
{"Marowak", 45, 1105, 50000},
{"Hitmonlee", 60, 1106, 500000},
{"Hitmonchan", 60, 1107, 500000},
{"Lickitung", 45, 1108, 500000},
{"Koffing", 15, 1109, 3000},
{"Weezing", 30, 1110, 15000},
{"Rhyhorn", 35, 1111, 3000},
{"Rhydon", 65, 1112, 200000},
{"Chansey", 50, 1113, 500000},
{"Tangela", 35, 1114, 50000},
{"Kangaskhan", 65, 1115, 500000},
{"Horsea", 5, 1116, 3000},
{"Seadra", 40, 1117, 15000},
{"Goldeen", 10, 1118, 3000},
{"Seaking", 25, 1119, 15000},
{"Staryu", 15, 1120, 3000},
{"Starmie", 38, 1121, 15000},
{"Mr. Mime", 45, 1122, 500000},
{"Scyther", 60, 1123, 650000},
{"Jynx", 55, 1124, 500000},
{"Electabuzz", 60, 1125, 500000},
{"Magmar", 60, 1126, 500000},
{"Pinsir", 42, 1127, 200000},
{"Tauros", 40, 1128, 50000},
{"Magikarp", 1, 1129, 500},
{"Gyarados", 75, 1130, 500000},
{"Lapras", 65, 1131, 500000},
{"Ditto", 40, 1132, 350000},
{"Eevee", 20, 1133, 250000},
{"Vaporeon", 55, 1134, 300000},
{"Jolteon", 55, 1135, 300000},
{"Flareon", 55, 1136, 300000},
{"Porygon", 45, 1137, 250000},
{"Omanyte", 20, 1138, 50000},
{"Omastar", 70, 1139, 200000},
{"Kabuto", 20, 1140, 50000},
{"Kabutops", 70, 1141, 200000},
{"Aerodactyl", 85, 1142, 1000000},
{"Snorlax", 85, 1143, 650000},
{"Articuno", 100, 1144, 100000},
{"Zapdos", 100, 1145, 1000000},
{"Moltres", 100, 1146, 1000000},
{"Dratini", 15, 1147, 50000},
{"Dragonair", 45, 1148, 500000},
{"Dragonite", 85, 1149, 650000},
{"Mewtwo", 100, 1150, 1000000},
{"Mew", 100, 1151, 1000000},
-------------------old Shiny---------

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

{"Shiny Mr. Mime", 45, 11521, 600000},  --alterado v1.9
{"Shiny Ninetales", 65, 11522, 500000},
{"Shiny Ariados", 42, 11523, 100000},
{"Shiny Magneton", 38, 11524, 100000},
{"Shiny Espeon", 55, 11525, 50000},
{"Shiny Politoed", 60, 11526, 100000},
{"Shiny Umbreon", 55, 11527, 100000},
{"Shiny Stantler", 35, 11528, 100000},
{"Shiny Dodrio", 42, 11529, 100000},
{"Shiny Rhydon", 65, 11530, 500000},
}    
------------------------------------------Look system------------------------------------------
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"},
}

youAre = {
[3] = "Senior Tutor",
[4] = "Game Master",
[5] = "Sub",
[6] = "Game Master",
[15] = "Owner of the game"
}   

movestable = {                                                                                         
["Bulbasaur"] =    {move1 = {name = "Tackle", level = 20, cd = 15},
                move2 = {name = "Razor Leaf", level = 20, cd = 10},
                move3 = {name = "Vine Whip", level = 20, cd = 20},
                move4 = {name = "Headbutt", level = 20, cd = 15},
                move5 = {name = "Leech Seed", level = 22, cd = 20},
                move6 = {name = "Solar Beam", level = 30, cd = 60},
                move7 = {name = "Sleep Powder", level = 28, cd = 60},
                move8 = {name = "Stun Spore", level = 26, cd = 45},
                move9 = {name = "Poison Powder", level = 24, cd = 20},
    },
["Ivysaur"] =    {move1 = {name = "Tackle", level = 40, cd = 15},
                move2 = {name = "Razor Leaf", level = 40, cd = 10},
                move3 = {name = "Vine Whip", level = 40, cd = 20},
                move4 = {name = "Headbutt", level = 40, cd = 15},
                move5 = {name = "Leech Seed", level = 40, cd = 30},
                move6 = {name = "Bullet Seed", level = 45, cd = 35},
                move7 = {name = "Solar Beam", level = 50, cd = 60},
                move8 = {name = "Sleep Powder", level = 44, cd = 60},
                move9 = {name = "Stun Spore", level = 40, cd = 45},
                move10 = {name = "Poison Powder", level = 40, cd = 20},
    },
["Venusaur"] =    {move1 = {name = "Tackle", level = 80, cd = 15},
                move2 = {name = "Razor Leaf", level = 80, cd = 10},
                move3 = {name = "Vine Whip", level = 80, cd = 20},
                move4 = {name = "Headbutt", level = 80, cd = 15},
                move5 = {name = "Leech Seed", level = 80, cd = 20},
                move6 = {name = "Bullet Seed", level = 80, cd = 35},
                move7 = {name = "Solar Beam", level = 80, cd = 60},
                move8 = {name = "Giga Drain", level = 85, cd = 60},
                move9 = {name = "Sleep Powder", level = 80, cd = 60},
                move10 = {name = "Poison Powder", level = 80, cd = 20},
                move11 = {name = "Leaf Storm", level = 90, cd = 80},
    },
["Charmander"] =    {move1 = {name = "Scratch", level = 20, cd = 15},
                move2 = {name = "Ember", level = 20, cd = 10},
                move3 = {name = "Flamethrower", level = 20, cd = 20},
                move4 = {name = "Fireball", level = 24, cd = 25},
                move5 = {name = "Fire Fang", level = 22, cd = 20},
                move6 = {name = "Fire Blast", level = 30, cd = 60},
                move7 = {name = "Rage", level = 30, cd = 40},
    },
["Charmeleon"] =    {move1 = {name = "Scratch", level = 40, cd = 15},
                move2 = {name = "Ember", level = 40, cd = 10},
                move3 = {name = "Flamethrower", level = 40, cd = 20},
                move4 = {name = "Fireball", level = 40, cd = 25},
                move5 = {name = "Fire Fang", level = 40, cd = 20},
                move6 = {name = "Flame Burst", level = 45, cd = 35},
                move7 = {name = "Fire Blast", level = 50, cd = 60},
                move8 = {name = "Rage", level = 40, cd = 40},
    },
["Charizard"] =    {move1 = {name = "Scratch", level = 80, cd = 15},
                move2 = {name = "Ember", level = 80, cd = 10},
                move3 = {name = "Flamethrower", level = 80, cd = 20},
                move4 = {name = "Fireball", level = 80, cd = 25},
                move5 = {name = "Fire Fang", level = 80, cd = 20},
                move6 = {name = "Flame Burst", level = 85, cd = 35},
                move7 = {name = "Fire Blast", level = 90, cd = 60},
                move8 = {name = "Wing Attack", level = 83, cd = 30},
                move9 = {name = "Air Slash", level = 85, cd = 35},
                move10 = {name = "Magma Storm", level = 90, cd = 80},
                move11 = {name = "Scary Face", level = 82, cd = 40},
                move12 = {name = "Rage", level = 80, cd = 40},
    },
["Squirtle"] =    {move1 = {name = "Headbutt", level = 20, cd = 15},
                move2 = {name = "Bubbles", level = 20, cd = 10},
                move3 = {name = "Water Gun", level = 20, cd = 20},
                move4 = {name = "Waterball", level = 24, cd = 25},
                move5 = {name = "Aqua Tail", level = 22, cd = 20},
                move6 = {name = "Hydro Cannon", level = 30, cd = 60},
                move7 = {name = "Harden", level = 28, cd = 40},
    },
["Wartortle"] =    {move1 = {name = "Headbutt", level = 40, cd = 15},
                move2 = {name = "Bubbles", level = 40, cd = 10},
                move3 = {name = "Water Gun", level = 40, cd = 20},
                move4 = {name = "Waterball", level = 40, cd = 25},
                move5 = {name = "Aqua Tail", level = 40, cd = 20},
                move6 = {name = "Brine", level = 45, cd = 35},
                move7 = {name = "Hydro Cannon", level = 50, cd = 60},
                move8 = {name = "Harden", level = 40, cd = 40},
    },
["Blastoise"] =    {move1 = {name = "Headbutt", level = 80, cd = 15},
                move2 = {name = "Bubbles", level = 80, cd = 10},
                move3 = {name = "Water Gun", level = 80, cd = 20},
                move4 = {name = "Waterball", level = 80, cd = 25},
                move5 = {name = "Water Pulse", level = 80, cd = 20},
                move6 = {name = "Brine", level = 80, cd = 35},
                move7 = {name = "Hydro Cannon", level = 80, cd = 60},
                move8 = {name = "Skull Bash", level = 85, cd = 35},
                move9 = {name = "Hydropump", level = 90, cd = 80},
                move10 = {name = "Harden", level = 80, cd = 40},
    },
["Caterpie"] =    {move1 = {name = "Headbutt", level = 1, cd = 15},
                move2 = {name = "String Shot", level = 1, cd = 5},
                move3 = {name = "Bug Bite", level = 1, cd = 10},
    },
["Metapod"] =    {move1 = {name = "String Shot", level = 10, cd = 10},
                move2 = {name = "Headbutt", level = 10, cd = 15},
                move3 = {name = "Harden", level = 10, cd = 20},
                move4 = {name = "Bug Bite", level = 10, cd = 10},
    },
["Butterfree"] =    {move1 = {name = "Super Sonic", level = 30, cd = 30},
                move2 = {name = "Silver Wind", level = 30, cd = 15},
                move3 = {name = "Whirlwind", level = 32, cd = 25},
                move4 = {name = "Confusion", level = 34, cd = 30},
                move5 = {name = "Psybeam", level = 36, cd = 10},
                move6 = {name = "Air Cutter", level = 38, cd = 25},
                move7 = {name = "Sleep Powder", level = 30, cd = 60},
                move8 = {name = "Safeguard", level = 40, cd = 40},
                move9 = {name = "Poison Powder", level = 30, cd = 20},
    },
["Weedle"] =    {move1 = {name = "Horn Attack", level = 1, cd = 22},
                move2 = {name = "String Shot", level = 1, cd = 10},
                move3 = {name = "Poison Sting", level = 1, cd = 10},
                move4 = {name = "Invisible", level = 1, cd = 1},
    },
["Kakuna"] =    {move1 = {name = "String Shot", level = 10, cd = 10},
                move2 = {name = "Headbutt", level = 10, cd = 15},
                move3 = {name = "Harden", level = 10, cd = 20},
                move4 = {name = "Bug Bite", level = 10, cd = 10},
    },
["Beedrill"] =    {move1 = {name = "String Shot", level = 30, cd = 15},
                move2 = {name = "Poison Jab", level = 30, cd = 15},
                move3 = {name = "Poison Sting", level = 30, cd = 10},
                move4 = {name = "Fury Cutter", level = 35, cd = 20},
                move5 = {name = "Pin Missile", level = 35, cd = 15},
                move6 = {name = "Toxic Spikes", level = 32, cd = 25},
                move7 = {name = "Rage", level = 30, cd = 30},
                move8 = {name = "Strafe", level = 38, cd = 30},
    },
["Pidgey"] =    {move1 = {name = "Quick Attack", level = 1, cd = 10},
                move2 = {name = "Sand Attack", level = 1, cd = 12},
                move3 = {name = "Gust", level = 3, cd = 20},
                move4 = {name = "Drill Peck", level = 8, cd = 13},
    },
["Pidgeotto"] =    {move1 = {name = "Quick Attack", level = 20, cd = 10},
                move2 = {name = "Sand Attack", level = 20, cd = 15},
                move3 = {name = "Whirlwind", level = 20, cd = 22},
                move4 = {name = "Drill Peck", level = 20, cd = 18},
                move5 = {name = "Wing Attack", level = 25, cd = 25},
                move6 = {name = "Aeroblast", level = 30, cd = 60},
    },
["Pidgeot"] =    {move1 = {name = "Quick Attack", level = 80, cd = 10},
                move2 = {name = "Sand Attack", level = 80, cd = 12},
                move3 = {name = "Whirlwind", level = 80, cd = 20},
                move4 = {name = "Drill Peck", level = 80, cd = 13},
                move5 = {name = "Wing Attack", level = 82, cd = 15},
                move6 = {name = "Aeroblast", level = 84, cd = 60},
                move7 = {name = "Hurricane", level = 90, cd = 40},
                move8 = {name = "Agility", level = 80, cd = 40},
                move8 = {name = "Roost", level = 85, cd = 80},
    },
["Rattata"] =    {move1 = {name = "Quick Attack", level = 1, cd = 15},
                move2 = {name = "Bite", level = 1, cd = 15},
                move3 = {name = "Scratch", level = 1, cd = 15},
                move4 = {name = "Super Fang", level = 12, cd = 45},
    },
["Raticate"] =    {move1 = {name = "Quick Attack", level = 30, cd = 10},
                move2 = {name = "Bite", level = 30, cd = 10},
                move3 = {name = "Scratch", level = 30, cd = 10},
                move4 = {name = "Pursuit", level = 30, cd = 10},
                move5 = {name = "Super Fang", level = 30, cd = 20},
                move6 = {name = "Scary Face", level = 32, cd = 35},
    },
["Spearow"] =    {move1 = {name = "Quick Attack", level = 10, cd = 10},
                move2 = {name = "Sand Attack", level = 10, cd = 12},
                move3 = {name = "Gust", level = 12, cd = 20},
                move4 = {name = "Drill Peck", level = 10, cd = 15},
                move5 = {name = "Agility", level = 10, cd = 25},
    },
["Fearow"] =    {move1 = {name = "Peck", level = 50, cd = 10},
                move2 = {name = "Sand Attack", level = 50, cd = 12},
                move3 = {name = "Drill Peck", level = 50, cd = 18},
                move4 = {name = "Whirlwind", level = 50, cd = 30},
                move5 = {name = "Air Cutter", level = 50, cd = 35},
                move6 = {name = "Wing Attack", level = 52, cd = 35},
                move7 = {name = "Aerial Ace", level = 50, cd = 60},
                move8 = {name = "Agility", level = 50, cd = 25},
    },
["Ekans"] =    {move1 = {name = "Bite", level = 10, cd = 10},
                move2 = {name = "Poison Fang", level = 10, cd = 15},
                move3 = {name = "Gunk Shot", level = 12, cd = 15},
                move4 = {name = "Acid", level = 15, cd = 20},
                move5 = {name = "Fear", level = 20, cd = 40},
    },
["Arbok"] =    {move1 = {name = "Bite", level = 40, cd = 10},
                move2 = {name = "Poison Fang", level = 40, cd = 15},
                move3 = {name = "Gunk Shot", level = 40, cd = 15},
                move4 = {name = "Wrap", level = 40, cd = 20},
                move5 = {name = "Pin Missile", level = 43, cd = 20},
                move6 = {name = "Acid", level = 40, cd = 20},
                move7 = {name = "Iron Tail", level = 40, cd = 20},
                move8 = {name = "Poison Jab", level = 40, cd = 20},
    },
["Pikachu"] =    {move1 = {name = "Mega Kick", level = 40, cd = 40},
                move2 = {name = "Thunder Shock", level = 40, cd = 10},
                move3 = {name = "Thunder Bolt", level = 40, cd = 20},
                move4 = {name = "Thunder Wave", level = 40, cd = 25},
                move5 = {name = "Thunder Punch", level = 40, cd = 30},
                move6 = {name = "Iron Tail", level = 40, cd = 20},
                move7 = {name = "Thunder", level = 50, cd = 60},
                move8 = {name = "Electric Storm", level = 55, cd = 80},
                move9 = {name = "Agility", level = 50, cd = 40},
    },
["Raichu"] =    {move1 = {name = "Mega Kick", level = 80, cd = 30},
                move2 = {name = "Thunder Shock", level = 80, cd = 10},
                move3 = {name = "Thunder Bolt", level = 80, cd = 20},
                move4 = {name = "Thunder Wave", level = 80, cd = 25},
                move5 = {name = "Thunder Punch", level = 80, cd = 20},
                move6 = {name = "Iron Tail", level = 80, cd = 20},
                move7 = {name = "Body Slam", level = 85, cd = 30},
                move8 = {name = "Thunder", level = 80, cd = 60},
                move9 = {name = "Electric Storm", level = 90, cd = 80},
    },
["Sandshrew"] =    {move1 = {name = "Sand Attack", level = 20, cd = 15},
                move2 = {name = "Mud Shot", level = 20, cd = 15},
                move3 = {name = "Scratch", level = 20, cd = 5},
                move4 = {name = "Rollout", level = 25, cd = 30},
                move5 = {name = "Bulldoze", level = 30, cd = 50},
    },
["Sandslash"] =    {move1 = {name = "Sand Attack", level = 70, cd = 10},
                move2 = {name = "Mud Shot", level = 70, cd = 15},
                move3 = {name = "Scratch", level = 70, cd = 10},
                move4 = {name = "Rollout", level = 70, cd = 25},
                move5 = {name = "Bulldoze", level = 70, cd = 50},
                move6 = {name = "Fury Cutter", level = 75, cd = 20},
                move7 = {name = "Earth Power", level = 73, cd = 50},
                move8 = {name = "Earthquake", level = 80, cd = 80},
                move9 = {name = "Defense Curl", level = 70, cd = 60},
    },
["Nidoran Female"] =    {move1 = {name = "Quick Attack", level = 10, cd = 8},
                move2 = {name = "Bite", level = 10, cd = 10},
                move3 = {name = "Horn Attack", level = 12, cd = 20},
                move4 = {name = "Poison Sting", level = 10, cd = 15},
                move5 = {name = "Poison Fang", level = 15, cd = 25},
    },
["Nidorina"] =    {move1 = {name = "Quick Attack", level = 30, cd = 8},
                move2 = {name = "Horn Attack", level = 30, cd = 20},
                move3 = {name = "Poison Jab", level = 30, cd = 20},
                move4 = {name = "Earth Power", level = 30, cd = 60},
                move5 = {name = "Dig", level = 32, cd = 40},
                move6 = {name = "Cross Poison", level = 32, cd = 40},
                move7 = {name = "Agility", level = 30, cd = 30},
    },
["Nidoqueen"] =    {move1 = {name = "Quick Attack", level = 70, cd = 8},
                move2 = {name = "Horn Attack", level = 70, cd = 20},
                move3 = {name = "Sand Tomb", level = 70, cd = 35},
                move4 = {name = "Poison Jab", level = 70, cd = 20},
                move5 = {name = "Earth Power", level = 70, cd = 60},
                move6 = {name = "Dig", level = 72, cd = 40},
                move7 = {name = "Cross Poison", level = 72, cd = 40},
                move8 = {name = "Earthquake", level = 76, cd = 60},
                move9 = {name = "Agility", level = 70, cd = 30},
    },
["Nidoran Male"] =    {move1 = {name = "Quick Attack", level = 10, cd = 8},
                move2 = {name = "Bite", level = 10, cd = 10},
                move3 = {name = "Horn Attack", level = 12, cd = 20},
                move4 = {name = "Poison Sting", level = 10, cd = 15},
                move5 = {name = "Poison Fang", level = 15, cd = 25},
    },
["Nidorino"] =    {move1 = {name = "Quick Attack", level = 30, cd = 8},
                move2 = {name = "Horn Attack", level = 30, cd = 20},
                move3 = {name = "Poison Jab", level = 30, cd = 20},
                move4 = {name = "Poison Fang", level = 30, cd = 20},
                move5 = {name = "Dig", level = 32, cd = 40},
                move6 = {name = "Cross Poison", level = 32, cd = 40},
                move7 = {name = "Rage", level = 30, cd = 30},
    },
["Nidoking"] =    {move1 = {name = "Quick Attack", level = 70, cd = 8},
                move2 = {name = "Horn Attack", level = 70, cd = 20},
                move3 = {name = "Poison Jab", level = 70, cd = 20},
                move4 = {name = "Poison Fang", level = 70, cd = 20},
                move5 = {name = "Dig", level = 72, cd = 40},
                move6 = {name = "Sludge Wave", level = 74, cd = 60},
                move7 = {name = "Cross Poison", level = 72, cd = 40},
                move8 = {name = "Fear", level = 76, cd = 60},
                move9 = {name = "Rage", level = 70, cd = 30},
    },
["Clefairy"] =    {move1 = {name = "Doubleslap", level = 40, cd = 5},
                move2 = {name = "Body Slam", level = 44, cd = 40},
                move3 = {name = "Sing", level = 40, cd = 60},
                move4 = {name = "Multi-Slap", level = 40, cd = 25},
                move5 = {name = "Great Love", level = 47, cd = 60},
                move6 = {name = "Healarea", level = 45, cd = 80},
                move7 = {name = "Metronome", level = 40, cd = 40},
                move8 = {name = "Defense Curl", level = 40, cd = 60},
    },
["Clefable"] =    {move1 = {name = "Doubleslap", level = 70, cd = 5},
                move2 = {name = "Body Slam", level = 70, cd = 25},
                move3 = {name = "Dazzling Gleam", level = 74, cd = 25},
                move4 = {name = "Great Love", level = 77, cd = 60},
                move5 = {name = "Moonblast", level = 82, cd = 50},
                move6 = {name = "Healarea", level = 75, cd = 80},
                move7 = {name = "Metronome", level = 70, cd = 40},
                move8 = {name = "Defense Curl", level = 70, cd = 60},
    },
["Vulpix"] =    {move1 = {name = "Quick Attack", level = 20, cd = 10},
                move2 = {name = "Iron Tail", level = 20, cd = 15},
                move3 = {name = "Ember", level = 20, cd = 10},
                move4 = {name = "Flamethrower", level = 22, cd = 20},
                move5 = {name = "Flame Circle", level = 24, cd = 10},
                move6 = {name = "Fire Blast", level = 30, cd = 60},
    },
["Ninetales"] =    {move1 = {name = "Quick Attack", level = 80, cd = 10},
                move2 = {name = "Iron Tail", level = 80, cd = 15},
                move3 = {name = "Ember", level = 80, cd = 10},
                move4 = {name = "Flamethrower", level = 80, cd = 18},
                move5 = {name = "Flame Wheel", level = 80, cd = 25},
                move6 = {name = "Fireball", level = 80, cd = 20},
                move7 = {name = "Confuse Ray", level = 80, cd = 32},
                move8 = {name = "Fire Blast", level = 84, cd = 50},
                move9 = {name = "Magma Storm", level = 88, cd = 70},
                move10 = {name = "Safeguard", level = 90, cd = 40},
    },
["Jigglypuff"] =    {move1 = {name = "Doubleslap", level = 40, cd = 5},
                move2 = {name = "Body Slam", level = 44, cd = 40},
                move3 = {name = "Sing", level = 40, cd = 25},
                move4 = {name = "Hyper Voice", level = 40, cd = 25},
                move5 = {name = "Multi-Slap", level = 40, cd = 25},
                move6 = {name = "Echoed Voice", level = 45, cd = 20},
                move7 = {name = "Softboiled", level = 45, cd = 60},
                move8 = {name = "Charm", level = 40, cd = 60},
    },
["Wigglytuff"] =    {move1 = {name = "Doubleslap", level = 70, cd = 5},
                move2 = {name = "Body Slam", level = 74, cd = 30},
                move3 = {name = "Sing", level = 70, cd = 25},
                move4 = {name = "Hyper Voice", level = 70, cd = 25},
                move5 = {name = "Multi-Slap", level = 70, cd = 20},
                move5 = {name = "Rock n'Roll", level = 74, cd = 45},
                move6 = {name = "Echoed Voice", level = 75, cd = 15},
                move7 = {name = "Softboiled", level = 75, cd = 50},
                move8 = {name = "Charm", level = 70, cd = 60},
    },
["Zubat"] =    {move1 = {name = "Super Sonic", level = 10, cd = 25},
                move2 = {name = "Bite", level = 10, cd = 10},
                move3 = {name = "Poison Fang", level = 10, cd = 20},
                move4 = {name = "Absorb", level = 12, cd = 15},
                move5 = {name = "Toxic", level = 15, cd = 30},
    },
["Golbat"] =    {move1 = {name = "Super Sonic", level = 40, cd = 20},
                move2 = {name = "Bite", level = 40, cd = 10},
                move3 = {name = "Poison Fang", level = 40, cd = 15},
                move4 = {name = "Toxic", level = 40, cd = 20},
                move5 = {name = "Whirlwind", level = 40, cd = 25},
                move6 = {name = "Wing Attack", level = 40, cd = 30},
                move7 = {name = "Air Cutter", level = 44, cd = 35},
    },
["Oddish"] =    {move1 = {name = "Absorb", level = 7, cd = 20},
                move2 = {name = "Acid", level = 1, cd = 15},
                move3 = {name = "Leech Seed", level = 1, cd = 20},
                move4 = {name = "Sleep Powder", level = 9, cd = 60},
                move5 = {name = "Stun Spore", level = 8, cd = 60},
                move6 = {name = "Poison Powder", level = 8, cd = 10},
    },
["Gloom"] =    {move1 = {name = "Absorb", level = 30, cd = 20},
                move2 = {name = "Leech Seed", level = 30, cd = 15},
                move3 = {name = "Acid", level = 30, cd = 8},
                move4 = {name = "Poison Bomb", level = 33, cd = 30},
                move5 = {name = "Poison Gas", level = 37, cd = 50},
                move6 = {name = "Sleep Powder", level = 30, cd = 60},
                move7 = {name = "Stun Spore", level = 30, cd = 60},
                move8 = {name = "Poison Powder", level = 30, cd = 10},
    },
["Vileplume"] =    {move1 = {name = "Absorb", level = 50, cd = 20},
                move2 = {name = "Leech Seed", level = 50, cd = 15},
                move3 = {name = "Acid", level = 50, cd = 8},
                move4 = {name = "Poison Bomb", level = 50, cd = 30},
                move5 = {name = "Poison Gas", level = 50, cd = 45},
                move6 = {name = "Petal Dance", level = 55, cd = 35},
                move7 = {name = "Solar Beam", level = 60, cd = 60},
                move8 = {name = "Sleep Powder", level = 50, cd = 60},
                move9 = {name = "Stun Spore", level = 50, cd = 60},
                move10 = {name = "Poison Powder", level = 50, cd = 10},
    },
["Paras"] =    {move1 = {name = "Scratch", level = 1, cd = 8},
                move2 = {name = "Poison Sting", level = 1, cd = 10},
                move3 = {name = "Slash", level = 1, cd = 15},
                move4 = {name = "Stun Spore", level = 6, cd = 45},
                move5 = {name = "Poison Powder", level = 4, cd = 10},
                move6 = {name = "Sleep Powder", level = 8, cd = 60},
    },
["Parasect"] =    {move1 = {name = "Absorb", level = 50, cd = 20},
                move2 = {name = "Leech Life", level = 55, cd = 15},
                move3 = {name = "Poison Sting", level = 50, cd = 10},
                move4 = {name = "Slash", level = 50, cd = 20},
                move5 = {name = "Poison Bomb", level = 50, cd = 30},
                move6 = {name = "Stun Spore", level = 50, cd = 45},
                move7 = {name = "Poison Powder", level = 50, cd = 10},
                move8 = {name = "Sleep Powder", level = 50, cd = 60},
                move9 = {name = "Fury Cutter", level = 56, cd = 30},
                move10 = {name = "X-Scissor", level = 58, cd = 22},
    },
["Venonat"] =    {move1 = {name = "Super Sonic", level = 20, cd = 30},
                move2 = {name = "Psybeam", level = 20, cd = 10},
                move3 = {name = "Silver Wind", level = 20, cd = 10},
                move4 = {name = "Confusion", level = 20, cd = 35},
                move5 = {name = "Psychic", level = 26, cd = 35},
                move6 = {name = "Sleep Powder", level = 30, cd = 60},
                move7 = {name = "Poison Powder", level = 22, cd = 20},
                move8 = {name = "Stun Spore", level = 24, cd = 40},
    },
["Venomoth"] =    {move1 = {name = "Super Sonic", level = 50, cd = 35},
                move2 = {name = "Psybeam", level = 50, cd = 10},
                move3 = {name = "Silver Wind", level = 50, cd = 10},
                move4 = {name = "Confusion", level = 56, cd = 35},
                move5 = {name = "Psychic", level = 50, cd = 35},
                move6 = {name = "Signal Beam", level = 56, cd = 60},
                move7 = {name = "Bug Buzz", level = 54, cd = 30},
                move8 = {name = "Sleep Powder", level = 50, cd = 60},
                move9 = {name = "Poison Powder", level = 50, cd = 20},
    },
["Diglett"] =    {move1 = {name = "Sand Attack", level = 10, cd = 20},
                move2 = {name = "Slash", level = 10, cd = 10},
                move3 = {name = "Mud Shot", level = 10, cd = 15},
                move4 = {name = "Mud Slap", level = 12, cd = 25},
                move5 = {name = "Earth Power", level = 15, cd = 60},
    },
["Dugtrio"] =    {move1 = {name = "Sand Attack", level = 40, cd = 20},
                move2 = {name = "Slash", level = 40, cd = 10},
                move3 = {name = "Mud Shot", level = 40, cd = 15},
                move4 = {name = "Mud Slap", level = 40, cd = 25},
                move5 = {name = "Earth Power", level = 40, cd = 60},
                move6 = {name = "Dig", level = 42, cd = 40},
                move7 = {name = "Earthquake", level = 47, cd = 80},
                move8 = {name = "Rage", level = 50, cd = 40},
    },
["Meowth"] =    {move1 = {name = "Slash", level = 20, cd = 8},
                move2 = {name = "Scratch", level = 20, cd = 8},
                move3 = {name = "Bite", level = 20, cd = 12},
                move4 = {name = "Night Slash", level = 20, cd = 15},
                move5 = {name = "Pay Day", level = 30, cd = 30},
    },
["Persian"] =    {move1 = {name = "Slash", level = 50, cd = 8},
                move2 = {name = "Scratch", level = 50, cd = 8},
                move3 = {name = "Bite", level = 50, cd = 12},
                move4 = {name = "Night Slash", level = 50, cd = 15},
                move5 = {name = "Pay Day", level = 60, cd = 30},
                move6 = {name = "Fear", level = 60, cd = 30},
                move7 = {name = "Torment", level = 55, cd = 60},
    },
}

movesinfo = {
["Attack"] = {target = true, range = 1, power = 0},
["Tackle"] = {target = true, range = 1, power = 50, type = "normal"},
["Razor Leaf"] = {target = true, range = 7, power = 55, type = "grass"},
["Vine Whip"] = {target = false, power = 45, type = "grass"},
["Headbutt"] = {target = true, range = 1, power = 70, type = "normal"},
["Leech Seed"] = {target = true, range = 7, power = 0, type = "grass"},
["Solar Beam"] = {target = false, power = 120, type = "grass"},
["Sleep Powder"] = {target = false, power = 0, type = "grass"},
["Stun Spore"] = {target = false, power = 0, type = "grass"},
["Poison Powder"] = {target = false, power = 0, type = "poison"},
["Bullet Seed"] = {target = false, power = 25, type = "grass"},
["Giga Drain"] = {target = true, range = 7, power = 75, type = "grass"},
["Leaf Storm"] = {target = false, power = 130, type = "grass"},
["Scratch"] = {target = true, range = 1, power = 40, type = "normal"},
["Ember"] = {target = true, range = 7, power = 40, type = "fire"},
["Flamethrower"] = {target = false, power = 90, type = "fire"},
["Fireball"] = {target = true, range = 7, power = 75, type = "fire"},
["Fire Fang"] = {target = true, range = 1, power = 65, type = "fire"},
["Fire Blast"] = {target = false, power = 110, type = "fire"},
["Rage"] = {target = false, power = 0, type = "dragon"},
["Flame Burst"] = {target = false, power = 25, type = "fire"},
["Wing Attack"] = {target = false, power = 60, type = "flying"},
["Air Slash"] = {target = false, power = 35, type = "flying"},
["Magma Storm"] = {target = false, power = 100, type = "fire"},
["Scary Face"] = {target = false, power = 0, type = "normal"},
["Bubbles"] = {target = true, range = 7, power = 40, type = "water"},
["Water Gun"] = {target = false, power = 40, type = "water"},
["Waterball"] = {target = true, range = 7, power = 75, type = "water"},
["Aqua Tail"] = {target = true, range = 1, power = 75, type = "water"},
["Hydro Cannon"] = {target = false, power = 120, type = "water"},
["Harden"] = {target = false, power = 0, type = "normal"},
["Brine"] = {target = false, power = 25, type = "water"},
["Water Pulse"] = {target = false, power = 60, type = "water"},
["Skull Bash"] = {target = false, power = 130, type = "normal"},
["Hydropump"] = {target = false, power = 110, type = "water"},
["String Shot"] = {target = true, range = 7, power = 0, type = "bug"},
["Bug Bite"] = {target = true, range = 1, power = 60, type = "bug"},
["Super Sonic"] = {target = true, range = 7, power = 0, type = "normal"},
["Silver Wind"] = {target = true, range = 7, power = 60, type = "bug"},
["Whirlwind"] = {target = false, power = 35, type = "flying"},
["Confusion"] = {target = false, power = 50, type = "psychic"},
["Psybeam"] = {target = false, power = 65, type = "psychic"},
["Air Cutter"] = {target = false, power = 60, type = "flying"},
["Safeguard"] = {target = false, power = 0, type = "normal"},
["Horn Attack"] = {target = true, range = 1, power = 65, type = "normal"},
["Poison Sting"] = {target = true, range = 1, power = 15, type = "poison"},
["Poison Jab"] = {target = true, range = 7, power = 80, type = "poison"},
["Fury Cutter"] = {target = false, power = 40, type = "bug"},
["Pin Missile"] = {target = false, power = 25, type = "bug"},
["Toxic Spikes"] = {target = true, range = 7, power = 70, type = "poison"},
["Strafe"] = {target = false, power = 0, type = "normal"},
["Quick Attack"] = {target = true, range = 1, power = 40, type = "normal"},
["Sand Attack"] = {target = false, power = 0, type = "ground"},
["Gust"] = {target = false, power = 40, type = "flying"},
["Drill Peck"] = {target = true, range = 1, power = 80, type = "flying"},
["Aeroblast"] = {target = false, power = 100, type = "flying"},
["Hurricane"] = {target = false, power = 110, type = "flying"},
["Agility"] = {target = false, power = 0, type = "normal"},
["Roost"] = {target = false, power = 0, type = "flying"},
["Bite"] = {target = true, range = 1, power = 60, type = "dark"},
["Super Fang"] = {target = true, range = 1, power = 80, type = "normal"},
["Pursuit"] = {target = true, range = 7, power = 40, type = "dark"},
["Peck"] = {target = true, range = 1, power = 35, type = "flying"},
["Aerial Ace"] = {target = false, power = 60, type = "flying"},
["Poison Fang"] = {target = true, range = 1, power = 50, type = "poison"},
["Gunk Shot"] = {target = true, range = 7, power = 120, type = "poison"},
["Acid"] = {target = true, range = 7, power = 40, type = "poison"},
["Fear"] = {target = false, power = 0, type = "ghost"},
["Wrap"] = {target = true, range = 7, power = 15, type = "normal"},
["Iron Tail"] = {target = true, range = 1, power = 100, type = "steel"},
["Mega Kick"] = {target = true, range = 1, power = 120, type = "fighting"},
["Thunder Shock"] = {target = true, range = 7, power = 40, type = "electric"},
["Thunder Bolt"] = {target = true, range = 7, power = 90, type = "electric"},
["Thunder Wave"] = {target = false, power = 55, type = "electric"},
["Thunder Punch"] = {target = true, range = 1, power = 75, type = "electric"},
["Thunder"] = {target = false, power = 110, type = "electric"},
["Electric Storm"] = {target = false, power = 130, type = "electric"},
["Body Slam"] = {target = true, range = 1, power = 85, type = "normal"},
["Mud Shot"] = {target = true, range = 7, power = 55, type = "ground"},
["Rollout"] = {target = false, power = 150, type = "rock"},
["Bulldoze"] = {target = false, power = 60, type = "ground"},
["Earth Power"] = {target = false, power = 90, type = "ground"},
["Earthquake"] = {target = false, power = 100, type = "ground"},
["Defense Curl"] = {target = false, power = 0, type = "normal"},
["Dig"] = {target = false, power = 90, type = "ground"},
["Cross Poison"] = {target = false, power = 70, type = "poison"},
["Sand Tomb"] = {target = false, power = 35, type = "ground"},
["Sludge Wave"] = {target = false, power = 95, type = "poison"},
["Doubleslap"] = {target = true, range = 1, power = 15, type = "normal"},
["Sing"] = {target = false, power = 0, type = "normal"},
["Multi-Slap"] = {target = false, power = 70, type = "normal"},
["Great Love"] = {target = false, power = 95, type = "normal"},
["Healarea"] = {target = false, power = 0, type = "normal"},
["Metronome"] = {target = false, power = 0, type = "normal"},
["Dazzling Gleam"] = {target = true, range = 7, power = 80, type = "fairy"},
["Moonblast"] = {target = false, power = 95, type = "fairy"},
["Flame Circle"] = {target = false, power = 60, type = "fire"},
["Flame Wheel"] = {target = false, power = 60, type = "fire"},
["Confuse Ray"] = {target = true, range = 7, power = 25, type = "ghost"},
["Hyper Voice"] = {target = false, power = 90, type = "normal"},
["Echoed Voice"] = {target = false, power = 40, type = "normal"},
["Softboiled"] = {target = false, power = 0, type = "normal"},
["Charm"] = {target = false, power = 0, type = "fairy"},
["Rock n'Roll"] = {target = false, power = 40, type = "normal"},
["Absorb"] = {target = true, range = 1, power = 20, type = "grass"},
["Toxic"] = {target = false, power = 55, type = "poison"},
["Poison Bomb"] = {target = true, range = 7, power = 65, type = "poison"},
["Poison Gas"] = {target = false, power = 70, type = "poison"},
["Petal Dance"] = {target = false, power = 25, type = "grass"},
["Slash"] = {target = true, range = 1, power = 70, type = "normal"},
["Leech Life"] = {target = true, range = 7, power = 20, type = "bug"},
["X-Scissor"] = {target = false, power = 80, type = "bug"},
["Psychic"] = {target = false, power = 90, type = "psychic"},
["Signal Beam"] = {target = false, power = 75, type = "bug"},
["Bug Buzz"] = {target = false, power = 90, type = "bug"},
["Mud Slap"] = {target = true, range = 7, power = 20, type = "ground"},
["Night Slash"] = {target = false, power = 70, type = "dark"},
["Pay Day"] = {target = true, range = 7, power = 40, type = "normal"},
["Torment"] = {target = false, power = 0, type = "dark"},
["Invisible"] = {target = false, power = 0, type = "ghost"},
--------------------------- • PASSIVES • ---------------------------
["Fury"] = {target = false, power = 0, type = "dragon"},
["Electric Charge"] = {target = false, power = 0, type = "electric"},
["Melody"] = {target = false, power = 0, type = "normal"},
["Lifesteal"] = {target = true, range = 1, power = 5, type = "poison"},
["Spores Reaction"] = {target = false, power = 0, type = "poison"},
["Mega Drain"] = {target = false, power = 40, type = "normal"},
}

movesnevermiss = {"Giga Drain", "Safeguard"}

priceItemsList = {
["essence of fire"] = {price = 0.5},
["seed"] = {price = 0.5},
["bug gosme"] = {price = 0.5},
["band aid"] = {price = 0.5},
["rubber ball"] = {price = 0.5},
["bottle of poison"] = {price = 0.5},
["ghost essence"] = {price = 0.5},
["dark gem"] = {price = 0.5},
["piece of steel"] = {price = 0.5},
["straw"] = {price = 0.5},
["dragon scale"] = {price = 0.5},
["screw"] = {price = 0.5},
["enchanted gem"] = {price = 0.5},
["earth ball"] = {price = 0.5},
["small stone"] = {price = 0.5},
["water gem"] = {price = 0.5},
["snowball"] = {price = 0.5},
["Fire Stone"] = {price = 5000},
["Leaf Stone"] = {price = 5000},
["Cocoon Stone"] = {price = 5000},
["Punch Stone"] = {price = 5000},
["Heart Stone"] = {price = 5000},
["Venom Stone"] = {price = 5000},
["Darkness Stone"] = {price = 5000},
["Metal Coat"] = {price = 50000},
["Feather Stone"] = {price = 5000},
["Crystal Stone"] = {price = 50000},
["Thunder Stone"] = {price = 5000},
["Enigma Stone"] = {price = 5000},
["Earth Stone"] = {price = 5000},
["Rock Stone"] = {price = 5000},
["Water Stone"] = {price = 5000},
["Ice Stone"] = {price = 5000},
["pinsir horn"] = {price = 102},
["gyarados tail"] = {price = 800},
["pot of lava"] = {price = 18},
["bag of pollem"] = {price = 40},
["bulb"] = {price = 132},
["leaves"] = {price = 8.5},
["nail"] = {price = 10},
["squirtle hull"] = {price = 132},
["dragon tooth"] = {price = 610},
["blue vines"] = {price = 123},
["mimic clothes"] = {price = 450},
["scythe"] = {price = 1000},
["ice bra"] = {price = 1000},
["electric tail"] = {price = 1000},
["water pendant"] = {price = 10},
["pot of moss bug"] = {price = 7.5},
["bird beak"] = {price = 30},
["bitten apple"] = {price = 6.5},
["rat tail"] = {price = 54},
["tooth"] = {price = 8},
["electric box"] = {price = 20},
["sandbag"] = {price = 15},
["horn"] = {price = 25},
["comb"] = {price = 100},
["fox tail"] = {price = 1000},
["fur"] = {price = 13},
["bat wing"] = {price = 78},
["bug antenna"] = {price = 96},
["bug venom"] = {price = 371},
["luck medallion"] = {price = 1000},
["wool ball"] = {price = 69},
["ruby"] = {price = 100},
["psyduck mug"] = {price = 129},
["karate duck"] = {price = 123},
["punch machine"] = {price = 135},
["iron bracelet"] = {price = 114},
["psychic spoon"] = {price = 180},
["future orb"] = {price = 15.5},
["belt of champion"] = {price = 1000},
["stone orb"] = {price = 16.5},
["slow tail"] = {price = 225},
["magnet"] = {price = 90},
["farfetch'd stick"] = {price = 300},
["feather"] = {price = 7.5},
["ice orb"] = {price = 32.5},
["gosme"] = {price = 78},
["locksmith of shell"] = {price = 24},
["traces of ghost"] = {price = 180},
["onix tail"] = {price = 371},
["linearly guided hypnose"] = {price = 410},
["crab claw"] = {price = 90},
["bone"] = {price = 123},
["kick machine"] = {price = 135},
["tongue"] = {price = 410},
["venom flute"] = {price = 78},
}

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

 

Link para o comentário
Compartilhar em outros sites

  • 0

lol.. No seu main tables ja tem adicionado.. você mexeu em algo no script do surf?

tenta este surf.lua:

Spoiler
local function doSendMagicEffecte(pos, effect)    addEvent(doSendMagicEffect, 50, pos, effect)end-- 4664-4647;4608-4613;local waters = {11756, 4614, 4615, 4616, 4617, 4618, 4619, 4608, 4609, 4610, 4611, 4612, 4613, 7236, 4614, 4615, 4616, 4617, 4618, 4619, 4620, 4621, 4622, 4623, 4624, 4625, 4665, 4666, 4820, 4821, 4822, 4823, 4824, 4825}                                                                      local flie = {'4820', '4821', '4822', '4823', '4824', '4825'}                                                                   --alterado v1.6 tabelas agora em configuration.lua!local premium = false function onStepIn(cid, item, position, fromPosition) if not isPlayer(cid) or isInArray({5, 6}, getPlayerGroupId(cid)) then --alterado v1.9return trueendif getPlayerStorageValue(cid, 75846) >= 1 then return true end   --alterado v1.9 if isPlayer(cid) and getCreatureOutfit(cid).lookType == 814 then return false end -- TVarrow-10x10.png if isPlayer(cid) and not isPremium(cid) and premium == true then   doTeleportThing(cid, fromPosition, false)   doPlayerSendCancel(cid, "Only premium members are allowed to surf.")   return trueend if getCreatureOutfit(cid).lookType == 316 or getCreatureOutfit(cid).lookType == 648 then   doSendMagicEffect(fromPosition, 136)end if (getPlayerStorageValue(cid, 63215) >= 1 or isFly(cid)) thenreturn trueend if isInDuel(cid) then   doTeleportThing(cid, fromPosition, false)   return trueend if #getCreatureSummons(cid) == 0 then   doPlayerSendCancel(cid, "You need a pokemon to surf.")   doTeleportThing(cid, fromPosition, false)   return trueend if isMega(getCreatureSummons(cid)[1]) then doPlayerSendCancel(cid, "Pokemons megas não tem habilidade surf.") doTeleportThing(cid, fromPosition, false) return trueend local pokeName = getItemAttribute(getPlayerSlotItem(cid, 8).uid, "poke")  local ditto = getItemAttribute(getPlayerSlotItem(cid, 8).uid, "copyName")  if ditto and ditto ~= "" then     pokeName = ditto  endif (not isInArray(specialabilities["surf"], pokeName)) then    doPlayerSendCancel(cid, "This pokemon cannot surf.")   doTeleportThing(cid, fromPosition, false)   return trueend if getPlayerStorageValue(cid, 5700) == 1 then   doPlayerSendCancel(cid, "You can't do that while is mount in a bikearrow-10x10.png!")   doTeleportThing(cid, fromPosition, false)   return trueend if getPlayerStorageValue(cid, 212124) >= 1 then         --alterado v1.6   doPlayerSendCancel(cid, "You can't do it with a pokemon with mind controlled!")   doTeleportThing(cid, fromPosition, false)   return trueend if isInDuel(cid) then   doPlayerSendCancel(cid, "You can't do it while a duel!")  --alterado v1.6   doTeleportThing(cid, fromPosition, false)   return trueend if getPlayerStorageValue(cid, 6598754) == 1 or getPlayerStorageValue(cid, 6598755) == 1 then    doPlayerSendCancel(cid, "You can't do it while in the PVP Zone!")   --alterado v1.7   doTeleportThing(cid, fromPosition, false)   return trueend                                        --alterado v1.6doSetCreatureOutfit(cid, {lookType = surfs[pokeName].lookType + 351}, -1) setPokemonGhost(cid) doCreatureSay(cid, ""..getPokeName(getCreatureSummons(cid)[1])..", lets surf!", TALKTYPE_ORANGE_1)doChangeSpeed(cid, -(getCreatureSpeed(cid))) local playerSpeed = 250local speed = 75 + PlayerSpeed + getSpeed(getCreatureSummons(cid)[1]) * 8 * speedRatesetPlayerStorageValue(cid, 54844, speed)doChangeSpeed(cid, speed) local pct = getCreatureHealth(getCreatureSummons(cid)[1]) / getCreatureMaxHealth(getCreatureSummons(cid)[1])doItemSetAttribute(getPlayerSlotItem(cid, 8).uid, "hp", pct) doRemoveCreature(getCreatureSummons(cid)[1]) addEvent(setPlayerStorageValue, 100, cid, 63215, 1) local item = getPlayerSlotItem(cid, 8)if getItemAttribute(item.uid, "boost") and getItemAttribute(item.uid, "boost") >= 50 and getPlayerStorageValue(cid, 42368) <= 0 then   addEvent(sendAuraEffect, 120, cid, auraSyst[getItemAttribute(item.uid, "aura")])    --alterado v1.8end if useOTClient then   doPlayerSendCancel(cid, '12//,hide') --alterado v1.8end return trueend localarrow-10x10.pngdireffects = {30, 49, 9, 51} function onStepOut(cid, item, position, fromPosition) if isPlayer(cid) and getCreatureOutfit(cid).lookType == 814 thenarrow-10x10.png return false end     local checkpos = fromPosition        checkpos.stackpos = 0     if isInArray(waters, getTileInfo(checkpos).itemid) then       if getPlayerStorageValue(cid, 63215) >= 1 or getPlayerStorageValue(cid, 17000) >= 1 then          doSendMagicEffecte(fromPosition, direffects[getCreatureLookDir(cid) + 1])       end    end     if not isInArray(waters, getTileInfo(getThingPos(cid)).itemid) then         if getPlayerStorageValue(cid, 17000) >= 1 then return true end        if getPlayerStorageValue(cid, 63215) <= 0 then return true end         doRemoveCondition(cid, CONDITION_OUTFIT)        setPlayerStorageValue(cid, 63215, -1)         doGoPokemonInOrder(cid, getPlayerSlotItem(cid, 8), false)        doChangeSpeed(cid, -getCreatureSpeed(cid))        doRegainSpeed(cid)               end return trueend 

 

 

Link para o comentário
Compartilhar em outros sites

  • 0
[Error - LuaScriptInterface::loadFile] data/movements/scripts/surf.lua:115: '=' expected near '-'[27/01/2017 18:50:55] [Warning - Event::loadScript] Cannot load script (data/movements/scripts/surf.lua)[27/01/2017 18:50:55] data/movements/scripts/surf.lua:115: '=' expected near '-'[27/01/2017 18:50:55] [Error - LuaScriptInterface::loadFile] data/movements/scripts/surf.lua:115: '=' expected near '-'[27/01/2017 18:50:55] [Warning - Event::loadScript] Cannot load script (data/movements/scripts/surf.lua)[27/01/2017 18:50:55] data/movements/scripts/surf.lua:115: '=' expected near '-'

 

Vlw pela intenção Deadpool, mas o Drakopoulos ja corrigiu pra mim.

Link para o comentário
Compartilhar em outros sites

Visitante
Este tópico está impedido de receber novos posts.
×
×
  • Criar Novo...