Hello There, Guest! Login Register


Deino script please
#1
'm looking for a catch deino script for unison mountain 1F (from the event) if anyone could help me i would be grateful because ive been messing with this stuff for a couple of days and I'm still clueless xD. [Image: smile.png]
 
Reply
#2
(2017-11-14, 16:39:05)NeverClever 'm looking for a catch deino script for unison mountain 1F (from the event) if anyone could help me i would be grateful because ive been messing with this stuff for a couple of days and I'm still clueless xD. [Image: smile.png]

If you can give me all specific places from pokecenter to cave i'll gladly make a script for this !

I haven't completed event quest else I'd already make it Smile

elseif getMapName() == "INSERT MAP NAME 3" then
            moveToMap("INSERT LAST MAP NAME ")
remove these 2 lines or add these 2 lines if need more / less maps


name = "DEINO CATCHER"
author = "IDIOT FAILSAFE BULLETPROOF EDITOR"
description = [[description of your script]]


function onPathAction()
    if isPokemonUsable(1) and isPokemonUsable(2) and getRemainingPowerPoints(2, "False Swipe") >= 1 then
        if getMapName() == "INSERT POKECENTER NAME" then
            moveToMap("INSERT MAP NAME 2")
        elseif getMapName() == "INSERT MAP NAME 2" then
            moveToMap("INSERT MAP NAME 3")
        elseif getMapName() == "INSERT MAP NAME 3" then
            moveToMap("INSERT LAST MAP NAME ")
        elseif getMapName() == "INSERT LAST MAP NAME" then
            moveToRectangle(20, 34, 33, 34) (<- INSERT COORDINATES THEN REMOVE THIS TEXT)
       end
   else
        if getMapName() == "INSERT LAST MAP NAME" then
            moveToMap("INSERT MAP NAME3")
        elseif getMapName() == "INSERT MAP NAME3" then
            moveToMap("INSERT MAP NAME2")
        elseif getMapName() ==  "INSERT MAP NAME3"  then
            moveToMap("INSERT POKECENTER NAME")
        elseif getMapName() == "INSERT POKECENTER NAME" then
          usePokecenter()
      end
  end
end

function onBattleAction()
    if isWildBattle() then
        if isOpponentShiny() or getOpponentName()=="Deino" then
            if getActivePokemonNumber()==1 then
                return sendPokemon(2)
            elseif getActivePokemonNumber()==2 then
                if getOpponentHealth()==1 then
                    return useItem("Pokeball") or useItem("Great ball") or useItem("Ultra ball")
                else
                    return weakAttack() or run() or sendUsablePokemon()
                end
            end
        
        else
            return run() or sendUsablePokemon()
        end
    else
        return run()
    end
end
 
Reply
#3
function onStart()
   counter=0;


end

function onStop()
   log("deino caught: "..counter)
end

function onPause()
   log("deino caught: "..counter)
end

function onBattleMessage(message)
   if stringContains(message, "caught") then
       counter = counter +1
   end
end

function onPathAction()
      if (isPokemonUsable(2) and getPokemonHealth(2)>50
      and getRemainingPowerPoints(2,"False Swipe")>2) then

if getMapName() == "Pokecenter Unison Mountain" then
          moveToMap("Unison Mountain South Summit")
         elseif getMapName() == "Unison Mountain South Summit" then
          moveToMap("Unison Mountain 1F")
  elseif isOutside() and hasItem("S Charizard Mount") and not isSurfing() and not isMounted() then
           log("Getting on Mount")
           return useItem("S Charizard Mount")
         elseif getMapName() == "Unison Mountain 1F" then
          moveToRectangle(5, 23, 16, 23)
         end
else
       if getMapName() == "Unison Mountain 1F" then    
            moveToMap("Unison Mountain South Summit")
  elseif isOutside() and hasItem("S Charizard Mount") and not isSurfing() and not isMounted() then
           log("Getting on Mount")
           return useItem("S Charizard Mount")
elseif  getMapName() == "Unison Mountain South Summit" then
          moveToMap("Pokecenter Unison Mountain")
   elseif getMapName() == "Pokecenter Unison Mountain" then
usePokecenter()
end
end
end

function onBattleAction()
  if isWildBattle() and ( isOpponentShiny() or getOpponentName() == "Purrloin"  or getOpponentName() == "Deino") then
  if getActivePokemonNumber() == 1 then
        return sendPokemon(2) or sendUsablePokemon() or sendAnyPokemon()
    elseif ( getActivePokemonNumber() == 2 ) and ( getOpponentHealth() > 1 ) then
        return weakAttack() or sendAnyPokemon()
       
       elseif ( getOpponentHealth() == 1 ) then

           return useItem("Ultra Ball") or useItem("Great Ball") or useItem("Ultra Ball") or attack() or run()
       end
   else
       return run() or attack() or sendUsablePokemon() or sendAnyPokemon()
   end
end
 
Reply
#4
(2017-11-17, 14:14:27)TheLG The places are (Pokecenter Unison Mountain), (Unison Mountain South Summit), (Unison Mountain 1F) which is in a cave also if you wouldn\t mind adding catching Y amask (they are in the same spot) i would be really grateful lol Smile
function onStart()
   counter=0;


end

function onStop()
   log("deino caught: "..counter)
end

function onPause()
   log("deino caught: "..counter)
end

function onBattleMessage(message)
   if stringContains(message, "caught") then
       counter = counter +1
   end
end

function onPathAction()
      if (isPokemonUsable(2) and getPokemonHealth(2)>50
      and getRemainingPowerPoints(2,"False Swipe")>2) then

if getMapName() == "Pokecenter Unison Mountain" then
          moveToMap("Unison Mountain South Summit")
         elseif getMapName() == "Unison Mountain South Summit" then
          moveToMap("Unison Mountain 1F")
  elseif isOutside() and hasItem("S Charizard Mount") and not isSurfing() and not isMounted() then
           log("Getting on Mount")
           return useItem("S Charizard Mount")
         elseif getMapName() == "Unison Mountain 1F" then
          moveToRectangle(5, 23, 16, 23)
         end
else
       if getMapName() == "Unison Mountain 1F" then    
            moveToMap("Unison Mountain South Summit")
  elseif isOutside() and hasItem("S Charizard Mount") and not isSurfing() and not isMounted() then
           log("Getting on Mount")
           return useItem("S Charizard Mount")
elseif  getMapName() == "Unison Mountain South Summit" then
          moveToMap("Pokecenter Unison Mountain")
   elseif getMapName() == "Pokecenter Unison Mountain" then
usePokecenter()
end
end
end

function onBattleAction()
  if isWildBattle() and ( isOpponentShiny() or getOpponentName() == "Purrloin"  or getOpponentName() == "Deino") then
  if getActivePokemonNumber() == 1 then
        return sendPokemon(2) or sendUsablePokemon() or sendAnyPokemon()
    elseif ( getActivePokemonNumber() == 2 ) and ( getOpponentHealth() > 1 ) then
        return weakAttack() or sendAnyPokemon()
       
       elseif ( getOpponentHealth() == 1 ) then

           return useItem("Ultra Ball") or useItem("Great Ball") or useItem("Ultra Ball") or attack() or run()
       end
   else
       return run() or attack() or sendUsablePokemon() or sendAnyPokemon()
   end
end
 
Reply
  


Forum Jump:


Browsing: 1 Guest(s)