local pokesSurf = { ["Poliwag"] = {lookType=629, speed = 420}, ["Poliwhirl"] = {lookType=488, speed = 580}, ["Seaking"] = {lookType=620, speed = 620}, ["Dewgong"] = {lookType=534, speed = 700}, ["Blastoise"] = {lookType=535, speed = 850}, ["Tentacruel"] = {lookType=536, speed = 750}, ["Lapras"] = {lookType=537, speed = 960}, ["Gyarados"] = {lookType=538, speed = 1050}, ["Omastar"] = {lookType=539, speed = 680}, ["Kabutops"] = {lookType=540, speed = 840}, ["Poliwrath"] = {lookType=541, speed = 680}, ["Vaporeon"] = {lookType=542, speed = 800}, ["Staryu"] = {lookType=617, speed = 485}, ["Starmie"] = {lookType=618, speed = 685}, ["Goldeen"] = {lookType=619, speed = 355}, ["Seadra"] = {lookType=621, speed = 655}, ["Golduck"] = {lookType=622, speed = 760}, ["Squirtle"] = {lookType=624, speed = 365}, ["Wartortle"] = {lookType=626, speed = 605}, ["Tentacool"] = {lookType=628, speed = 340}, ["Snorlax"] = {lookType=651, speed = 500}, ["Piplup"] = {lookType=1562, speed = 350}, ["Prinplup"] = {lookType=1561, speed = 400}, ["Empoleon"] = {lookType=1564, speed = 550}, ["Shiny Blastoise"] = {lookType=1009, speed = 935}, ["Shiny Tentacruel"] = {lookType=1365, speed = 825}, ["Shiny Gyarados"] = {lookType=1381, speed = 1155}, ["Shiny Vaporeon"] = {lookType=1032, speed = 880}, ["Shiny Seadra"] = {lookType=1383, speed = 720.5}, ["Shiny Tentacool"] = {lookType=1364, speed = 374}, ["Shiny Snorlax"] = {lookType=1386, speed = 550}, ["Mantine"] = {lookType=987, speed = 820}, ["Totodile"] = {lookType=988, speed = 360}, ["Croconow"] = {lookType=989, speed = 590}, ["Feraligatr"] = {lookType=996, speed = 900}, ["Marill"] = {lookType=990, speed = 340}, ["Azumarill"] = {lookType=993, speed = 680}, ["Quagsire"] = {lookType=994, speed = 740}, ["Kingdra"] = {lookType=995, speed = 1020}, ["Octillery"] = {lookType=992, speed = 600}, ["Wooper"] = {lookType=991, speed = 315}, ["Buizel"] = {lookType=1511, speed = 315}, ["Floatzel"] = {lookType=1509, speed = 350}, ["Gastrodon east"] = {lookType=1573, speed = 200}, ["Gastrodon"] = {lookType=1572, speed = 200}, ["Finneon"] = {lookType=1544, speed = 120}, ["Lumineon"] = {lookType=1543, speed = 120}, ["Walrein"] = {lookType=1757, speed = 120}, ["Wingull"] = {lookType=1751, speed = 120}, ["Wailmer"] = {lookType=1750, speed = 120}, ["Swampert"] = {lookType=1746, speed = 120}, ["Ludicolo"] = {lookType=1743, speed = 120}, ["Sharpedo"] = {lookType=1739, speed = 120}, ["Gorebys"] = {lookType=1734, speed = 120}, ["Huntail"] = {lookType=1733, speed = 120}, ["Relicanth"] = {lookType=1753, speed = 120}, ["Linoone"] = {lookType=1730, speed = 120}, ["Spheal"] = {lookType=1729, speed = 120}, ["Mudkip"] = {lookType=1728, speed = 120}, ["Whiscash"] = {lookType=1727, speed = 120}, ["Marshtomp"] = {lookType=1726, speed = 120}, ["Luvdisc"] = {lookType=1725, speed = 120}, ["Lombre"] = {lookType=1724, speed = 120}, ["Barboach"] = {lookType=1723, speed = 120}, ["Finneon"] = {lookType=1544, speed = 120}, ["Shiny Lapras"] = {lookType=2060, speed = 1200}, } function onStepIn(cid, item, position, fromPosition) if isMonster(cid) and isSummon(cid) then return doTeleportThing(cid, getThingPos(getCreatureMaster(cid))) end if not isPlayer(cid) or getCreatureStorage(cid, 17000) >= 1 then return true end if getPlayerStorageValue(cid, 63215) <= 0 then if getPlayerStorageValue(cid, 5700) == 1 then return doPlayerSendCancel(cid, "You can't do that while is mount in a bike!") elseif getPlayerStorageValue(cid, 6598754) == 1 or getPlayerStorageValue(cid, 6598755) == 1 then return doPlayerSendCancel(cid, "You can't do it while in the PVP Zone!") end local summon = getCreatureSummons(cid)[1] if not isCreature(summon) then doTeleportThing(cid, fromPosition, true) return doPlayerSendCancel(cid, "You need a pokemon to surf.") end if not pokesSurf[getCreatureName(summon)] then doTeleportThing(cid, fromPosition, true) return doPlayerSendCancel(cid, "Your pokemon cant surf.") end local pokename = getCreatureName(summon) if getItemAttribute(getPlayerSlotItem(cid, 8).uid, "poke") and getItemAttribute(getPlayerSlotItem(cid, 8).uid, "poke") == "Ditto" then pokename = getItemAttribute(getPlayerSlotItem(cid, 8).uid, "copyName") end doSetCreatureOutfit(cid, {lookType = pokesSurf[pokename].lookType}, -1) setPlayerStorageValue(cid, 63215, 1) doChangeSpeed(cid, -(getCreatureSpeed(cid))) doChangeSpeed(cid, pokesSurf[getCreatureName(summon)].speed) doItemSetAttribute(getPlayerSlotItem(cid, 8).uid, "new_level", getMonsterLevel(summon)) doItemSetAttribute(getPlayerSlotItem(cid, 8).uid, "new_experience", getMonsterExperience(summon)) doRemoveCreature(summon) if getItemAttribute(getPlayerSlotItem(cid, 8).uid, "nick") then doCreatureSay(cid, "Let's surf, " .. getItemAttribute(getPlayerSlotItem(cid, 8).uid, "nick"), 1) else doCreatureSay(cid, "Let's surf, " .. pokename, 1) end if getItemAttribute(getPlayerSlotItem(cid, 8).uid, "boost") and getItemAttribute(getPlayerSlotItem(cid, 8).uid, "boost") >= 50 and getPlayerStorageValue(cid, 42368) <= 0 then addEvent(sendAuraEffect, 120, cid, auraSyst[getItemAttribute(getPlayerSlotItem(cid, 8).uid, "aura")]) --alterado v1.8 end if useOTClient then doPlayerSendCancel(cid, '12//,hide') --alterado v1.8 end end end