Hello There, Guest! Login Register


Kanto Safari - Catcher
#1
[Image: lkhFE66.png]
[Image: 0yzLcOr.png]
  • Catch your desired RARE POKEMON at KANTO SAFARI   --read on config

  • Mounting Features    --read on config

  • Synchronize   --read on config

  • Sleep Catch - False Swipe Catch or Use Both    --read on config

  • So many LOGS

  • Pokeball buying Features     --read on config

  • Money Farming - either you want to farm while hunting - or farm at Cerulean Cave 1F/Seafoam B4F     --currently on fixing
  • JOHTO SAFARI
  • HOENN SAFARI

[Image: 1rwnoPa.png]

08-21-2016 ~ Initial Release
08-21-2016 ~ Cleaning some errors and bugs
08-22-2016 ~ Healing False Swiper and Sleeper when less than 20%
08-22-2016 ~ Re-coding path action
08-22-2016 ~ Path action and some logs recoded
08-22-2016 ~ Added options of how many HP% remaining on False Swiper and Sleeper
08-22-2016 ~ Pokeball buying features
08-22-2016 ~ Disable/Enable Pokeball buying features
08-22-2016 - Catching Eevee re-coded --Use sleep move by default or just throw pokeballs because it can use self damaging moves
08-23-2016 ~ Fixed a bug when Advance Catch is on and it didn't use Sleep move --it's a bug when both sleeper and fswiper are the same pokemon
08-23-2016 ~ Ability Effect Spore is adjusted to Sleep move     --now it it will check for other opponents status
08-23-2016 ~ More Log Information
08-23-2016 ~ Money Farming Features Implemented     --see on configuration
08-23-2016 ~ Temporarily Charmander and Squirtle Catch
08-23-2016 ~ Money Farming Bug Fixed!    
08-23-2016 ~ Money Farming function re-coded     --I hope it will work properly
08-24-2016 ~ Some path re-coded
08-25-2016 ~ Added Scyther, Rhyhorn and Dratini at Safari Exclusive     --see on configuration
08-26-2016 ~ Disable the Money Farm Features until I fixed it
08-26-2016 ~ Johto Safari will be Released today
08-26-2016 ~ Kanto Safari Script may be re-coded
08-26-2016 ~ Johto Safari Script Added
08-27-2016 ~ Hoenn Safari Script Added
08-27-2016 ~ Link to Kanto, Johto and Hoenn Safari Script


[Image: ozuUQea.png]


[✔] Money grinding or farming features     --Not working as of now...
[✔] Pokeball buying
[✔] Johto Safari
[✔] Hoenn Safari


          You can suggest of what is good...


[Image: BycFZM4.png]
[Image: 0X5dKRy.png]


[Image: 479Ub0l.png]

PLEASE REPORT YOUR ENCOUNTERED BUG/ERROR with DETAILS.... Ciao!!!

[Image: Y9wNr6X.png]
God Karp Trainer loading... *splash*splash Huh

 
Reply
#2
Wonderfull script, currently running the only scyther catching option and it runs great. A small suggestion, Perhaps it should go heal when the False swiper/sleepr is under a certain hp. Now it keeps going in even if the false swiper is at lets say 5 hp.
 
Reply
#3
Hey bro, is there a way to deactivate the pokeball buy function?
 
Reply
#4
(2016-08-22, 11:32:39)Theoryofchaos Hey bro, is there a way to deactivate the pokeball buy function?

Oops! Big Grin  sorry i forgot to make a disabler. Gonna update it wait.

Updated : Re-copy the script.

Happy botting!
God Karp Trainer loading... *splash*splash Huh

 
Reply
#5
(2016-08-22, 12:01:13)redskhie
(2016-08-22, 11:32:39)Theoryofchaos Hey bro, is there a way to deactivate the pokeball buy function?

Oops! Big Grin  sorry i forgot to make a disabler. Gonna update it wait.

Updated : Re-copy the script.

Happy botting!

Thx mate, Atm i'm trying to catch eevee at morning/day and scyther/pinsir at night, and discovered that have Charmander on safari zone 3 too(same area where the bot try to catch eevee) is there a way to make it catch charmander too? since it can be a clone. thx for your fast reply.

Oh, and there is a small problem. you cannot use false swipe on eevee, because it use take down, best use only spore when trying to catch they.
 
Reply
#6
(2016-08-22, 12:51:00)Theoryofchaos
(2016-08-22, 12:01:13)redskhie
(2016-08-22, 11:32:39)Theoryofchaos Hey bro, is there a way to deactivate the pokeball buy function?

Oops! Big Grin  sorry i forgot to make a disabler. Gonna update it wait.

Updated : Re-copy the script.

Happy botting!

Thx mate, Atm i'm trying to catch eevee at morning/day and scyther/pinsir at night, and discovered that have Charmander on safari zone 3 too(same area where the bot try to catch eevee) is there a way to make it catch charmander too? since it can be a clone. thx for your fast reply.

Yes it will catch it, I temporarily add Charmander and Squirtle on the catch list whether what you want use on config. You can try and wait until it encountered Charmander. Goodluck!
God Karp Trainer loading... *splash*splash Huh

 
Reply
#7
You're right, it catch charmander already, but the problem with eevee persist.
 
Reply
#8
(2016-08-22, 13:13:40)Theoryofchaos You're right, it catch charmander already, but the problem with eevee persist.

What problem?
God Karp Trainer loading... *splash*splash Huh

 
Reply
#9
Oh, and there is a small problem. you cannot use false swipe on eevee, because it use take down, best use only spore when trying to catch they.
 
Reply
#10
(2016-08-22, 13:27:08)Theoryofchaos Oh, and there is a small problem. you cannot use false swipe on eevee, because it use take down, best use only spore when trying to catch they.

I see, I forgot. Gonna update it thanks!

Updated - Re-copy the script

Try it , I can't test it right now. Hope to work fine.

Thanks again!
God Karp Trainer loading... *splash*splash Huh

 
Reply
#11
(2016-08-22, 13:28:04)redskhie
(2016-08-22, 13:27:08)Theoryofchaos Oh, and there is a small problem. you cannot use false swipe on eevee, because it use take down, best use only spore when trying to catch they.

I see, I forgot. Gonna update it thanks!

Updated - Re-copy the script

Try it , I can't test it right now. Hope to work fine.

Thanks again!

Going to test out, i have to say thanks, you made all the hard work, i just test.
 
Reply
#12
This script is for everyone, and I want to make it a good script. So if some of you encountered some errors, please report it to me and I'm gonna fix it.

Have fun!

Edit: Tried and tested , re-copy the script
God Karp Trainer loading... *splash*splash Huh

 
Reply
#13
Its was working, pick up a squirtle, then the bot stoped.

[11:03:04] A Wild Paras Attacks!
[11:03:14] No action executed: stopping the bot.
[11:03:14] Bot stopped

i was with the same config eevee day/morning and scyther/pinsir nght, changed to only scyther and working atm.
 
Reply
#14
Re-copy it, I forgot to include run. I think its working fine now. .
God Karp Trainer loading... *splash*splash Huh

 
Reply
#15
Parasect actually not using spore, just false swipe, don't know why.
 
Reply
#16
(2016-08-22, 23:03:31)Theoryofchaos Parasect actually not using spore, just false swipe, don't know why.


What type of catching did you use? And the index of false swiper and sleeper?

EDIT: Fixed.
God Karp Trainer loading... *splash*splash Huh

 
Reply
#17
A small bug, when the wild pokemon get another status change, lke paralyze/poison, parasect keep using spore, but since the wild pokemon already has a status it will never sleep.
 
Reply
#18
(2016-08-23, 00:07:06)Theoryofchaos A small bug, when the wild pokemon get another status change, lke paralyze/poison, parasect keep using spore, but since the wild pokemon already has a status it will never sleep.

Updated: Adjusted on any opponents status while catching.

Have fun!

Update : Money Farming Features Implemented!

Happy botting! Smile

EDIT: Please disable the farming money options til I fixed it. Sorry.
God Karp Trainer loading... *splash*splash Huh

 
Reply
#19
EDIT: UPDATE: Money Farming Bug Fixed! You can now use its feature properly! --see on configuration
God Karp Trainer loading... *splash*splash Huh

 
Reply
#20
how to change the default ball ?
how to disable the sync config?
sorry for the question i am new here
 
Reply
#21
(2016-08-23, 04:53:13)Shiro how to change the default ball ?
how to disable the sync config?
sorry for the question i am new here


Just find inside the whole script and find "Great Ball" and change it, but I suggest you to don't touch it. I set it to default because it will only buy balls in FUCHSIA POKEMART, and there's no Pokeball there, Ultra Ball is so much high price. So i set it to only buy Great Ball.

Disable synch: You can just leave it and don't touch if you're just hunting single poke, If multiple pokes I'm sorry I didn't add Disable features as of now.

EDIT: Theres a disabler in Ball Buying. Just set it to false
EDIT: If you have no Synch and you don't want to use it, set catching option in "normalCatchOn = true" . And leave the others false..
God Karp Trainer loading... *splash*splash Huh

 
Reply
#22
it constantly swapped 2 synch with each other and do nothing

[1:05:27 CH] Marowak Attacks Venonat with False Swipe.
[1:05:27 CH] Venonat Attacks Marowak with Leech Life.
[1:05:31 CH] -------- Commencing False Swipe with Sleep Move --------
[1:05:31 CH] Marowak Attacks Venonat with False Swipe.
[1:05:31 CH] Venonat Attacks Marowak with Leech Life.
[1:05:34 CH] -------- Commencing False Swipe with Sleep Move --------
[1:05:35 CH] Marowak Attacks Venonat with False Swipe.
[1:05:35 CH] Venonat Attacks Marowak with Leech Life.
[1:05:39 CH] -------- Commencing False Swipe with Sleep Move --------
[1:05:39 CH] Marowak Attacks Venonat with False Swipe.
[1:05:39 CH] Venonat Attacks Marowak with Leech Life.
[1:05:43 CH] -------- Commencing False Swipe with Sleep Move --------
[1:05:43 CH] Marowak Attacks Venonat with False Swipe.
[1:05:43 CH] A Critical Hit!
[1:05:43 CH] Venonat Attacks Marowak with Leech Life.
[1:05:46 CH] -------- Commencing False Swipe with Sleep Move --------
[1:05:47 CH] Marowak Attacks Venonat with False Swipe.
[1:05:47 CH] Venonat Attacks Marowak with Leech Life.
[1:05:50 CH] -------- Commencing False Swipe with Sleep Move --------
[1:05:51 CH] Marowak Attacks Venonat with False Swipe.
[1:05:51 CH] Venonat Attacks Marowak with Leech Life.
[1:05:53 CH] -------- Commencing False Swipe with Sleep Move --------
[1:05:54 CH] Marowak Attacks Venonat with False Swipe.
[1:05:54 CH] Venonat Attacks Marowak with Leech Life.
[1:05:57 CH] -------- Commencing False Swipe with Sleep Move --------
[1:05:58 CH] Marowak Attacks Venonat with False Swipe.
[1:05:58 CH] Venonat Attacks Marowak with Leech Life.
[1:06:01 CH] -------- Commencing False Swipe with Sleep Move --------
[1:06:01 CH] Marowak Attacks Venonat with False Swipe.
[1:06:01 CH] Venonat Attacks Marowak with Leech Life.
[1:06:04 CH] -------- Commencing False Swipe with Sleep Move --------
[1:06:05 CH] Marowak Attacks Venonat with False Swipe.
[1:06:05 CH] Venonat Attacks Marowak with Leech Life.
[1:06:08 CH] -------- Commencing False Swipe with Sleep Move --------
[1:06:09 CH] Marowak Attacks Venonat with False Swipe.
[1:06:09 CH] Venonat Attacks Marowak with Leech Life.
[1:06:12 CH] -------- Commencing False Swipe with Sleep Move --------
[1:06:13 CH] Marowak Attacks Venonat with False Swipe.
[1:06:13 CH] Venonat Attacks Marowak with Leech Life.
[1:06:16 CH] -------- Commencing False Swipe with Sleep Move --------
[1:06:17 CH] Marowak Attacks Venonat with False Swipe.
[1:06:17 CH] Venonat Attacks Marowak with Leech Life.
[1:06:21 CH] -------- Commencing False Swipe with Sleep Move --------
[1:06:21 CH] Marowak Attacks Venonat with False Swipe.
[1:06:21 CH] Venonat Attacks Marowak with Leech Life.
[1:06:25 CH] -------- Commencing False Swipe with Sleep Move --------
[1:06:26 CH] Marowak Attacks Venonat with False Swipe.
[1:06:26 CH] Venonat Attacks Marowak with Leech Life.
[1:06:28 CH] -------- Commencing False Swipe with Sleep Move --------
[1:06:29 CH] Marowak Attacks Venonat with False Swipe.
[1:06:29 CH] Venonat Attacks Marowak with Leech Life.
[1:06:33 CH] -------- Commencing False Swipe with Sleep Move --------
[1:06:33 CH] Marowak Attacks Venonat with False Swipe.
[1:06:33 CH] Venonat Attacks Marowak with Leech Life.
[1:06:35 CH] -------- Commencing False Swipe with Sleep Move --------
[1:06:36 CH] Marowak Attacks Venonat with False Swipe.
[1:06:36 CH] Venonat Attacks Marowak with Leech Life.
[1:06:36 CH] A Critical Hit!
[1:06:38 CH] -------- Commencing False Swipe with Sleep Move --------
[1:06:39 CH] Marowak Attacks Venonat with False Swipe.
[1:06:39 CH] Venonat Attacks Marowak with Leech Life.
[1:06:43 CH] -------- Commencing False Swipe with Sleep Move --------
[1:06:43 CH] Marowak Attacks Venonat with False Swipe.
[1:06:43 CH] Venonat Attacks Marowak with Leech Life.
[1:06:46 CH] -------- Commencing False Swipe with Sleep Move --------
[1:06:47 CH] Marowak Attacks Venonat with False Swipe.
[1:06:47 CH] Venonat Attacks Marowak with Leech Life.
[1:06:49 CH] -------- Commencing False Swipe with Sleep Move --------
[1:06:50 CH] Marowak Attacks Venonat with False Swipe.
[1:06:50 CH] Venonat Attacks Marowak with Leech Life.
[1:06:53 CH] -------- Commencing False Swipe with Sleep Move --------
[1:06:54 CH] Marowak Attacks Venonat with False Swipe.
[1:06:54 CH] Venonat Attacks Marowak with Leech Life.
[1:06:57 CH] -------- Commencing False Swipe with Sleep Move --------
[1:06:57 CH] Marowak Attacks Venonat with False Swipe.
[1:06:57 CH] Venonat Attacks Marowak with Leech Life.
[1:07:00 CH] -------- Commencing False Swipe with Sleep Move --------
[1:07:01 CH] Marowak Attacks Venonat with False Swipe.
[1:07:01 CH] Venonat Attacks Marowak with Leech Life.
[1:07:03 CH] Bot paused

[1:19:52 CH] -------- Commencing False Swipe with Sleep Move --------
[1:19:53 CH] Come Back, Natu!
[1:19:53 CH] Go, Marowak!
[1:19:53 CH] Doduo Attacks Marowak with Pursuit.
[1:19:56 CH] -------- Commencing False Swipe with Sleep Move --------
[1:19:56 CH] Marowak Attacks Doduo with False Swipe.
[1:19:56 CH] Doduo Attacks Marowak with Pursuit.
[1:20:00 CH] -------- Commencing False Swipe with Sleep Move --------
[1:20:00 CH] Come Back, Marowak!
[1:20:00 CH] Go, Gengar!
[1:20:00 CH] Doduo Attacks Gengar with Pursuit.
[1:20:00 CH] It's Super Effective!
[1:20:03 CH] -------- Commencing False Swipe with Sleep Move --------
[1:20:04 CH] Gengar used Hypnosis.
[1:20:04 CH] Doduo fell asleep!
[1:20:04 CH] Doduo is Fast Asleep...
[1:20:07 CH] -------- Commencing False Swipe with Sleep Move --------
[1:20:08 CH] You throw a Pokeball.
[1:20:08 CH] Success! You caught Doduo!
[1:20:14 CH] A Wild Nidorina Attacks!
[1:20:19 CH] -------- Commencing False Swipe with Sleep Move --------
[1:20:20 CH] Come Back, Natu!
[1:20:20 CH] Go, Marowak!
[1:20:20 CH] Nidorina Attacks Marowak with Bite.
[1:20:22 CH] -------- Commencing False Swipe with Sleep Move --------
[1:20:23 CH] Marowak Attacks Nidorina with False Swipe.
[1:20:23 CH] A Critical Hit!
[1:20:23 CH] Nidorina Attacks Marowak with Bite.
[1:20:26 CH] -------- Commencing False Swipe with Sleep Move --------
[1:20:27 CH] Come Back, Marowak!
[1:20:27 CH] Go, Gengar!
[1:20:27 CH] Nidorina Attacks Gengar with Bite.
[1:20:27 CH] A Critical Hit!
[1:20:27 CH] It's Super Effective!
[1:20:30 CH] -------- Commencing False Swipe with Sleep Move --------
[1:20:31 CH] Gengar used Hypnosis.
[1:20:31 CH] SLEEP failed to have any effect.
[1:20:31 CH] Nidorina Attacks Gengar with Bite.
[1:20:31 CH] It's Super Effective!
[1:20:34 CH] -------- Commencing False Swipe with Sleep Move --------
[1:20:35 CH] Gengar used Hypnosis.
[1:20:35 CH] SLEEP failed to have any effect.
[1:20:35 CH] Nidorina Attacks Gengar with Bite.
[1:20:35 CH] It's Super Effective!
[1:20:39 CH] -------- Commencing False Swipe with Sleep Move --------
[1:20:39 CH] Gengar used Hypnosis.
[1:20:39 CH] SLEEP failed to have any effect.
[1:20:39 CH] Nidorina Attacks Gengar with Bite.
[1:20:39 CH] It's Super Effective!
[1:20:43 CH] -------- Commencing False Swipe with Sleep Move --------
[1:20:44 CH] Gengar used Hypnosis.
[1:20:44 CH] Nidorina fell asleep!
[1:20:44 CH] Nidorina is Fast Asleep...
[1:20:46 CH] -------- Commencing False Swipe with Sleep Move --------
[1:20:47 CH] You throw a Pokeball.
[1:20:47 CH] Success! You caught Nidorina!
[1:20:52 CH] A Wild Venonat Attacks!
[1:20:56 CH] -------- Commencing False Swipe with Sleep Move --------
[1:20:57 CH] Come Back, Natu!
[1:20:57 CH] Go, Marowak!
[1:20:57 CH] Venonat Attacks Marowak with Leech Life.
[1:21:00 CH] -------- Commencing False Swipe with Sleep Move --------
[1:21:01 CH] Marowak Attacks Venonat with False Swipe.
[1:21:01 CH] Venonat Attacks Marowak with Leech Life.
[1:21:05 CH] -------- Commencing False Swipe with Sleep Move --------
[1:21:05 CH] Marowak Attacks Venonat with False Swipe.
[1:21:05 CH] Venonat Attacks Marowak with Leech Life.
fix it Sad
 
Reply
#23
What? As far as I know I don't include catching other pokes except on the config!

Please re-copy the script.

Or let me see your configuration/script.
God Karp Trainer loading... *splash*splash Huh

 
Reply
#24
-- Copyright © 2016 redskhie


        --CHOOSE WHAT POKEMON DO YOU WANT TO HUNT
        -- WARNING!!! YOU CAN ONLY PICK 1 "true" then leave "false"

    -- Set to true if you want to catch this Pokemon, else leave false

huntEevee = false        --hunt Eevee all time    
huntScyther = false        --hunt Scyther all time
huntPinsir = false        --hunt Pinsir all time
huntBulba = false        --hunt Bulbasaur all time
huntChansey = false        --hunt Chansey all time
huntRhyhorn = false        --hunt Rhyhorn all time
huntKanga = false        --hunt Kangaskhan all time
huntChanseyBulba = false        --hunt Chansey and Bulbasaur all time


    -- If you want to use this Go to Synchronize Section after picking 1 at the bottom
    -- Set to true if you want to catch multiple Pokemon at multiple time, else leave false

huntEeveeRhyhorn = false    --hunt Eevee at Morning and Day        -- hunt Rhyhorn at Night
huntEeveeBulba = true         --hunt Eevee at Morning and Day     -- hunt Bulbasaur at Night
huntEeveeChansey = false    --hunt Eevee at Morning and Day        -- hunt Chansey at Night
huntEeveeScytherPinsir = false    --hunt Eevee at Morning and Day     -- hunt Scyther and Pinsir at Night

    --You can only use this if you have MEMBERSHIP

        --UNTESTED

huntEeveeUmbreon = false    --hunt Eevee at Morning and Day        -- hunt Umbreon at Night
huntEeveeMarill = false        --hunt Eevee at Morning and Day         -- hunt Marill at Night
huntStarlyUmbreon = false        --hunt Starly at Morning and Day    -- hunt Umbreon at Night




        -- CATCH CONFIGURATION


    --Synchronize
    
synch1 = 1            --Pokemon Index of 1st SynchPoke
nature1 = "bold"    --Pokemon Nature of 1st SynchPoke
synch2 = 3            --Pokemon Index of 2nd SynchPoke
nature2 = "bold"    --Pokemon Nature of 2nd SynchPoke


    -- You can only choose One Special Catching, set true, else leave the 3 false

normalCatchOn = false        --Directly throw pokeballs on hunted pokemons
fswipeOn = false        --Switch to pokemon with false swipe, use false swipe until the hunted pokes hp is reach to 1 then throw pokeballs
sleepOn = false            --Switch to pokemon with sleep move, use sleep move until the hunted pokes status is SLEEPING then throw pokeballs
advanceCatchOn = true        --Use fswipeOn and sleepOn to catch hunted pokes

falseswiper = 5            --Index of pokemon with false swipe
fswipeHP = 10            --Returns the health percent of the false swiper, then heal to PC
weakmove = "False Swipe"    --False Swipe move

sleeper = 4            --Index of pokemon with sleep move
sleeperHP = 10            --Returns the health percent of the false swiper, then heal to PC
sleepmove = "Hypnosis"        --Set/Change the name of the sleep move



        --MOUNTING CONFIGURATION


    -- Set/Change the name of the mount you want to use on LAND

mount = "Arcanine Mount"

    -- Set/Change to true if you want to use mount,else false

mountSwitch = true



        --POKEBALL CONFIGURATION

    --Disable/enable pokeball function. set to true else false

ballSwitch = false

    


    --POKEBALLS --Great ball is the default balls it will buy

ballquantity = 10         --set the number of balls you want to buy
minball = 0            --set the minimum number of balls and bot will buy more    




        --MONEY FARMING CONFIGURATION


huntandfarm = false    --set this to true if you want to farm money while hunting pokes

moneyfarm = false    --set this to true if you want to farm money when minimum money reaches, else false
minmoney = 5000    --set the minimum money to start farming
maxmoney = 100000    --set the maximum money to start again on hunting pokes

    --Set the number of pokemon you want to remain while farming and start healing

pokeNumber = 2

    --Pick only one area of farming

cCave = false        --Start farming at Cerulean Cave 1F
sFoam = false        --Start farming at Seafoam B4F






                            -- Copyright © 2016 redskhie






        --DO NOT TOUCH THIS if you don't know what you're doing!

name = "Rare catcher at Kanto Safari"
author = "redskhie"
description = [[This script will catch your desired Pokemons at Kanto Safari]]

function onStart()
    
    startime = os.time()

    shinyCounter = 0

    eeveecounter = 0
    scythercounter = 0
    pinsircounter = 0
    bulbacounter = 0
    chanseycounter = 0
    rhycounter = 0
    kangascounter = 0
    umbreoncounter = 0
    starlycounter = 0
    pokecenterCounter = 0
    wildCounter = 0
    moneyneeded = maxmoney - minmoney
    startingMoney = getMoney()

    log("-----------------------------------------------------------")
        log("|---- We are now Commencing the Catch Routine ----|")
        log("-----------------------------------------------------------")

    if huntEeveeRhyhorn then
        log("-------- MULTI-CATCHING STARTED --------")
        log("Script Info ~~> Hunting Eevee at Morning and Day ~ Hunting Rhyhorn at Night")
        log("--------------------------------------")
    elseif huntEeveeBulba then
        log("-------- MULTI-CATCHING STARTED --------")
        log("Script Info ~~> Hunting Eevee at Morning and Day ~ Hunting Bulbasaur at Night")
        log("--------------------------------------")
    elseif huntEeveeChansey then
        log("-------- MULTI-CATCHING STARTED --------")
        log("Script Info ~~> Hunting Eevee at Morning and Day ~ Hunting Chansey at Night")
        log("--------------------------------------")
    elseif huntEeveeScytherPinsir then
        log("-------- MULTI-CATCHING STARTED --------")
        log("Script Info ~~> Hunting Eevee at Morning and Day ~ Hunting Scyther and Pinsir at Night")
        log("--------------------------------------")
    elseif huntEeveeUmbreon then
        log("-------- MULTI-CATCHING STARTED --------")
        log("Script Info ~~> Hunting Eevee at Morning and Day ~ Hunting Umbreon and Pinsir at Night")
        log("--------------------------------------")
    elseif huntStarlyUmbreon then
        log("-------- MULTI-CATCHING STARTED --------")
        log("Script Info ~~> Hunting Starly at Morning and Day ~ Hunting Umbreon at Night")
        log("--------------------------------------")
    elseif huntEeveeMarill then
        log("-------- MULTI-CATCHING STARTED --------")
        log("Script Info ~~> Hunting Eevee at Morning and Day ~ Hunting Marill at Night")
        log("--------------------------------------")
    end

    if huntEevee then
        log("-------- SINGLE-CATCHING STARTED --------")
        log("Script Info ~~> Hunting Eevee at Safari Area 3")
        log("--------------------------------------")
    elseif huntScyther then
        log("-------- SINGLE-CATCHING STARTED --------")
        log("Script Info ~~> Hunting Scyther at Safari Area 1")
        log("--------------------------------------")
    elseif huntPinsir then
        log("-------- SINGLE-CATCHING STARTED --------")
        log("Script Info ~~> Hunting Pinsir at Safari Area 1")
        log("--------------------------------------")
    elseif huntBulba then
        log("-------- SINGLE-CATCHING STARTED --------")
        log("Script Info ~~> Hunting Bulbasaur at Safari Area 2")
        log("--------------------------------------")
    elseif huntChansey then
        log("-------- SINGLE-CATCHING STARTED --------")
        log("Script Info ~~> Hunting Chansey at Safari Area 2")
        log("--------------------------------------")
    elseif huntRhyhorn then
        log("-------- SINGLE-CATCHING STARTED --------")
        log("Script Info ~~> Hunting Rhyhorn at Safari Area 2")
        log("--------------------------------------")
    elseif huntKanga then
        log("-------- SINGLE-CATCHING STARTED --------")
        log("Script Info ~~> Hunting Kangaskhan at Safari Area 1")
        log("--------------------------------------")
    elseif huntChanseyBulba then
        log("-------- SINGLE-CATCHING STARTED --------")
        log("Script Info ~~> Hunting Chansey and Bulbasaur at Safari Area 2")
        log("--------------------------------------")

    end
    if moneyfarm then
        if cCave then
            log("~Farming money at Cerulean Cave 1F when money is less than "..minmoney.." pokedollars")
            log("~Continue hunting when money reached to "..maxmoney.."+ pokedollars")
            log("--------------------------------------")
        elseif sFoam then
            log("~Farming money at Seafoam B4F when money is less than "..minmoney.." pokedollars")
            log("~Continue hunting when money reached to "..maxmoney.."+ pokedollars")
            log("--------------------------------------")
        end
    end
    if huntandfarm then
        log("Killing all encountered pokes while hunting your desired pokes")
        log("--------------------------------------")
    end
    pokeballCounter = 0

end
function onDialogMessage(pokecenter)
    if stringContains(pokecenter, "Would you like me to heal your Pokemon?") then
        pokecenterCounter = pokecenterCounter + 1
        if usingLogs then
            log("Info ~ Times in Pokecenter: " .. pokecenterCounter)
        end
    end
end
function areaone()

                
        if getMapName() == "Pokecenter Fuchsia" then
            moveToMap("Fuchsia City")
        elseif getMapName() == "Fuchsia City" then
            moveToMap("Safari Stop")
        elseif getMapName() == "Safari Stop" then
            talkToNpcOnCell(6, 4)    
        elseif getMapName() == "Safari Entrance" then
            moveToMap("Safari Area 1")
        elseif getMapName() == "Safari Area 2" then
            moveToMap("Safari Area 1")
        elseif getMapName() == "Safari Area 3" then
            moveToMap("Safari Area 2")
        elseif getMapName() == "Fuchsia Pokemart" then
            moveToMap("Fuchsia City")
        elseif getMapName() == "Safari Area 1" then
            moveToGrass()
        elseif getMapName() ~= "Fuchsia City" then
            backtofarm()
        end
    

end

function areatwo()

    
        if getMapName() == "Pokecenter Fuchsia" then
            moveToMap("Fuchsia City")
        elseif getMapName() == "Fuchsia City" then
            moveToMap("Safari Stop")
        elseif getMapName() == "Safari Stop" then
            talkToNpcOnCell(6, 4)    
        elseif getMapName() == "Safari Entrance" then
            moveToMap("Safari Area 1")
        elseif getMapName() == "Safari Area 2" then
            moveToGrass()
        elseif getMapName() == "Safari Area 1" then
            moveToMap("Safari Area 2")
        elseif getMapName() == "Fuchsia Pokemart" then
            moveToMap("Fuchsia City")
        elseif getMapName() == "Safari Area 3" then
            moveToMap("Safari Area 2")
        elseif getMapName() ~= "Fuchsia City" then
            backtofarm()
        end
    
end

function areathree()

    
         if getMapName() == "Pokecenter Fuchsia" then
            moveToMap("Fuchsia City")
        elseif getMapName() == "Fuchsia City" then
            moveToMap("Safari Stop")
        elseif getMapName() == "Safari Stop" then
            talkToNpcOnCell(6, 4)    
        elseif getMapName() == "Safari Entrance" then
            moveToMap("Safari Area 3")
        elseif getMapName() == "Safari Area 2" then
            moveToMap("Safari Area 3")
        elseif getMapName() == "Safari Area 1" then
            moveToMap("Safari Entrance")
        elseif getMapName() == "Fuchsia Pokemart" then
            moveToMap("Fuchsia City")
        elseif getMapName() == "Safari Area 3" then
            moveToRectangle(25, 29, 30, 29)
        elseif getMapName() ~= "Fuchsia City" then
            backtofarm()
        end
    
end

function area13()

        
        if not isNight() and getPokemonNature(synch1) ~= nature1 then
            return swapPokemon(3, 1)
        elseif not isNight() and getPokemonNature(synch1) == nature1 then

            areathree()

        elseif isNight() and getPokemonNature(synch1) ~= nature2 then
            return swapPokemon(3, 1)
        elseif isNight() and getPokemonNature(synch1) == nature2 then

            areaone()

        
        end
    

end

function area23()
    
    
        if not isNight() and getPokemonNature(synch1) ~= nature1 then
            return swapPokemon(3, 1)
        elseif not isNight() and getPokemonNature(synch1) == nature1 then

            areathree()

        end
        if isNight() and getPokemonNature(synch1) ~= nature2 then
            return swapPokemon(3, 1)
        elseif isNight() and getPokemonNature(synch1) == nature2 then

            areatwo()

        end
    
end
function exclusive()

        
         if getMapName() == "Pokecenter Fuchsia" then
                    moveToMap("Fuchsia City")
               elseif getMapName() == "Fuchsia City" then    
                    moveToMap("Safari Stop")
                elseif getMapName() == "Safari Stop" then
                    talkToNpcOnCell(6, 4)
                elseif getMapName() == "Safari Entrance" then
                     moveToMap("Safari Area 3")
                elseif getMapName() == "Safari Area 3" then
                    talkToNpcOnCell(17, 34)
        elseif getMapName() == "Fuchsia Pokemart" then
            moveToMap("Fuchsia City")
                elseif getMapName() == "Safari Exclusive" then
                    moveToRectangle(13, 11, 18, 11)
        elseif getMapName() ~= "Fuchsia City" then
            backtofarm()
                end
    
end

function areaex3()
    
    
        if not isNight() and getPokemonNature(synch1) ~= nature1 then
            return swapPokemon(3, 1)
        elseif not isNight() and getPokemonNature(synch1) == nature1 then

            areathree()

        end
        if isNight() and getPokemonNature(synch1) ~= nature2 then
            return swapPokemon(3, 1)
        elseif isNight() and getPokemonNature(synch1) == nature2 then

            exclusive()

        end
    
    

end

function ball()
        if getMapName() == "Safari Exclusive" then
                    talkToNpcOnCell(21, 3)
        elseif getMapName() == "Safari Area 2" then
            moveToMap("Safari Area 1")
        elseif getMapName() == "Safari Area 3" then
            moveToMap("Safari Entrance")
        elseif getMapName() == "Safari Area 1" then
            if not isMounted() then
                useItem("Arcanine Mount")
            elseif isMounted() then
                moveToMap("Safari Entrance")
            end
        elseif getMapName() == "Safari Entrance" then
            talkToNpcOnCell(27, 25)
        elseif getMapName() == "Safari Stop" then
            moveToMap("Fuchsia City")
        elseif getMapName() == "Pokecenter Fuchsia" then
            moveToMap("Fuchsia City")
        elseif getMapName() == "Fuchsia City" then
                   moveToMap("Fuchsia Pokemart")
            elseif getMapName() == "Fuchsia Pokemart" and not isShopOpen() then
                    talkToNpcOnCell(3, 5)
            elseif isShopOpen() then
            log("----------------")
            log("--- Buying "..ballquantity.." Great Balls ---")
            log("----------------")
                    buyItem("Great Ball", ballquantity)
        elseif getMapName() ~= "Fuchsia City" then
            backtofarm()
            end
end

function onPathAction()
    
    if not isMounted() and mountSwitch == true and hasItem(mount) and not isSurfing() and isOutside() then
        log("---------------------------")
        log("~~~ Riding on my pet!!! ~~~")
        log("---------------------------")
                return useItem(mount)

    elseif moneyfarm and (getMoney() <= minmoney) then
        log("~~~ Grinding some pokedollars!!! ~~~")
        if ((getMoney() - startingMoney) < moneyneeded) then
        if cCave then
            ceCave()
        elseif sFoam then
            seafoam()
        end
        else
            moneyneeded = moneyneeded*2
        end
    
    elseif ballSwitch and ( getItemQuantity("Great Ball") <= minball ) then

        ball()

    elseif ( getMoney() >= minmoney ) and isPokemonUsable(1) and isPokemonUsable(falseswiper) and getPokemonHealthPercent(falseswiper) > fswipeHP and getPokemonHealthPercent(sleeper) > sleeperHP and isPokemonUsable(sleeper) and getRemainingPowerPoints(sleeper, sleepmove) >= 1 and getRemainingPowerPoints(falseswiper, weakmove) >= 1 then
    
    
    if huntEeveeRhyhorn then
            
        area23()

    elseif huntEeveeBulba then
        
        area23()

    elseif huntEeveeChansey then
        
        area23()

    elseif huntEeveeScytherPinsir then
        
        area13()

    elseif huntEeveeUmbreon then
        
        areaex3()

    elseif huntStarlyUmbreon then
        
        exclusive()

    elseif huntEeveeMarill then
        
        areaex3()

    elseif huntEevee then
        
        areathree()

    elseif huntScyther then
        
        areaone()

    elseif huntPinsir then
            
        areaone()

    elseif huntBulba then
        
        areatwo()

    elseif huntChansey then
        
        areatwo()

    elseif huntRhyhorn then
        
        areatwo()

    elseif huntKanga then
        
        areaone()

    elseif huntChanseyBulba then
            
        areatwo()
    
    end

    
    else
        pc()
    end
    

end

function pc()
        if getMapName() == "Cerulean Cave 1F" then
            moveToMap("Cerulean City")
        elseif getMapName() == "Cerulean City" then    
            return moveToMap("Route 5") or moveToMap("Route 4")
        elseif getMapName() == "Route 4"  then    
            moveToCell(96, 21)
        elseif getMapName() == "Pokecenter Cerulean" then
            moveToMap("Cerulean City")
        elseif getMapName() == "Pokecenter Vermilion" or getMapName() == "Route 6" then
            moveToMap("Vermilion City")
        elseif getMapName() == "Vermilion City" then
            moveToMap("Route 11")
        elseif getMapName() == "Cerulean City" then
            moveToMap("Route 5")
        elseif getMapName() == "Route 5" then
            moveToMap("Route 5 Stop House")
        elseif getMapName() == "Route 5 Stop House" then
            moveToMap("Saffron City")
        elseif getMapName() == "Saffron City" then
            moveToMap("Route 6 Stop House")
        elseif getMapName() == "Route 6 Stop House" then
            moveToMap("Route 6")
        elseif getMapName() == "Cerulean Cave 1F" then
            moveToMap("Cerulean City")
        elseif ( getPlayerX() == 1 and getPlayerY() == 20 ) or ( getPlayerX() == 1 and getPlayerY() == 19 ) then
            moveToMap("Route 5")
        elseif getMapName() == "Cerulean City" then    
            return moveToMap("Route 4")
        elseif getMapName() == "Route 4"  then    
            moveToCell(96, 21)
        elseif getMapName() == "Route 11" then
            moveToMap("Route 11 Stop House")
        elseif getMapName() == "Route 11 Stop House" then
            moveToMap("Route 12")
        elseif getMapName() == "Route 12" then
            moveToCell(24, 92)
        elseif getMapName() == "Route 13" then
            moveToMap("Route 14")
        elseif getMapName() == "Route 14" then
            moveToMap("Route 15")
        elseif getMapName() == "Route 15" then
            moveToMap("Route 15 Stop House")
        elseif getMapName() == "Route 15 Stop House" then
            moveToMap("Fuchsia City")
        elseif getMapName() == "Seafoam B4F" then    
            moveToCell(9, 6)
        elseif getMapName() == "Seafoam B3F" then    
            moveToMap("Seafoam B2F")
        elseif getMapName() == "Seafoam B2F" then    
            moveToMap("Seafoam B1F")
        elseif getMapName() == "Seafoam B1F" then    
            moveToMap("Seafoam 1F")
        elseif getMapName() == "Seafoam 1F" then    
            moveToCell(13, 16)
        elseif getMapName() == "Route 20" then    
            moveToMap("Route 19")
        elseif getMapName() == "Route 19" then    
            moveToMap("Fuchsia City Stop House")
        elseif getMapName() == "Fuchsia City Stop House" then    
            moveToMap("Fuchsia City")
        elseif getMapName() == "Safari Exclusive" then
                    talkToNpcOnCell(21, 3)
        elseif getMapName() == "Safari Area 2" then
            moveToMap("Safari Area 1")
        elseif getMapName() == "Safari Area 3" then
            moveToMap("Safari Entrance")
        elseif getMapName() == "Safari Area 1" then
            moveToMap("Safari Entrance")
        elseif getMapName() == "Safari Entrance" then
            talkToNpcOnCell(27, 25)
        elseif getMapName() == "Safari Stop" then
            moveToMap("Fuchsia City")
        elseif getMapName() == "Fuchsia City" then
            moveToMap("Pokecenter Fuchsia")
            elseif getMapName() == "Pokecenter Fuchsia" then
            usePokecenter()
        end

end
function onBattleAction()

    if moneyfarm and (getMoney() <= minmoney) then
        
        if ((getMoney() - startingMoney) < moneyneeded) then
            return attack() or sendAnyPokemon() or sendUsablePokemon() or run()
        else
            moneyneeded = moneyneeded*2
        end
    
    elseif isOpponentShiny() or not isAlreadyCaught() or getOpponentName() == "Charmander" or getOpponentName() == "Squirtle" then
        if fswipeOn then
            log("-------- Commencing False Swipe --------")
            fswipe()
        elseif sleepOn then
            log("-------- Commencing Sleep Move --------")
            sleep()
        elseif advanceCatchOn then
            log("-------- Commencing False Swipe with Sleep Move --------")
            advanceCatch()
        elseif normalCatchOn then
            log("-------- Starting to throw Pokeballs --------")
            normal()
        end    
    elseif huntEeveeRhyhorn then
        if getOpponentName() == "Rhyhorn" then
        if fswipeOn then
            log("-------- Commencing False Swipe --------")
            fswipe()
        elseif sleepOn then
            log("-------- Commencing Sleep Move --------")
            sleep()
        elseif advanceCatchOn then
            log("-------- Commencing False Swipe with Sleep Move --------")
            advanceCatch()
        elseif normalCatchOn then
            log("-------- Starting to throw Pokeballs --------")
            normal()
        end
        elseif getOpponentName() == "Eevee" then
            log("-------- Commencing Sleep Move --------")
            sleep()
        elseif huntandfarm then
            return attack() or sendAnyPokemon() or run() or sendUsablePokemon()
        else
            return run() or sendUsablePokemon() or attack() or sendAnyPokemon()
    
        end
    elseif huntEeveeBulba then
        if getOpponentName() == "Bulbasaur" then
        if fswipeOn then
            log("-------- Commencing False Swipe --------")
            fswipe()
        elseif sleepOn then
            log("-------- Commencing Sleep Move --------")
            sleep()
        elseif advanceCatchOn then
            log("-------- Commencing False Swipe with Sleep Move --------")
            advanceCatch()
        elseif normalCatchOn then
            log("-------- Starting to throw Pokeballs --------")
            normal()
        end
        elseif getOpponentName() == "Eevee" then
            log("-------- Commencing Sleep Move --------")
            sleep()
        elseif huntandfarm then
            return attack() or sendAnyPokemon() or run() or sendUsablePokemon()
        else
            return run() or sendUsablePokemon() or attack() or sendAnyPokemon()
    
        end
    elseif huntEeveeChansey then
        if getOpponentName() == "Chansey" then
        if fswipeOn then
            log("-------- Commencing False Swipe --------")
            fswipe()
        elseif sleepOn then
            log("-------- Commencing Sleep Move --------")
            sleep()
        elseif advanceCatchOn then
            log("-------- Commencing False Swipe with Sleep Move --------")
            advanceCatch()
        elseif normalCatchOn then
            log("-------- Starting to throw Pokeballs --------")
            normal()
        end
        elseif getOpponentName() == "Eevee" then
            log("-------- Commencing Sleep Move --------")
            sleep()
        elseif huntandfarm then
            return attack() or sendAnyPokemon() or run() or sendUsablePokemon()
        else
            return run() or sendUsablePokemon() or attack() or sendAnyPokemon()
    
        end
    elseif huntEeveeScytherPinsir then
        if getOpponentName() == "Scyther" or getOpponentName() == "Pinsir" then
        if fswipeOn then
            log("-------- Commencing False Swipe --------")
            fswipe()
        elseif sleepOn then
            log("-------- Commencing Sleep Move --------")
            sleep()
        elseif advanceCatchOn then
            log("-------- Commencing False Swipe with Sleep Move --------")
            advanceCatch()
        elseif normalCatchOn then
            log("-------- Starting to throw Pokeballs --------")
            normal()
        end
        elseif getOpponentName() == "Eevee" then
            log("-------- Commencing Sleep Move --------")
            sleep()
        elseif huntandfarm then
            return attack() or sendAnyPokemon() or run() or sendUsablePokemon()
        else
            return run() or sendUsablePokemon() or attack() or sendAnyPokemon()
        
        end
    elseif huntEeveeUmbreon then
        if getOpponentName() == "Umbreon" then
        if fswipeOn then
            log("-------- Commencing False Swipe --------")
            fswipe()
        elseif sleepOn then
            log("-------- Commencing Sleep Move --------")
            sleep()
        elseif advanceCatchOn then
            log("-------- Commencing False Swipe with Sleep Move --------")
            advanceCatch()
        elseif normalCatchOn then
            log("-------- Starting to throw Pokeballs --------")
            normal()
        end
        elseif getOpponentName() == "Eevee" then
            log("-------- Commencing Sleep Move --------")
            sleep()
        elseif huntandfarm then
            return attack() or sendAnyPokemon() or run() or sendUsablePokemon()
        else
            return run() or sendUsablePokemon() or attack() or sendAnyPokemon()
    
        end
    elseif huntStarlyUmbreon and ( getOpponentName() == "Starly" or getOpponentName() == "Umbreon" ) then
        if fswipeOn then
            log("-------- Commencing False Swipe --------")
            fswipe()
        elseif sleepOn then
            log("-------- Commencing Sleep Move --------")
            sleep()
        elseif advanceCatchOn then
            log("-------- Commencing False Swipe with Sleep Move --------")
            advanceCatch()
        elseif normalCatchOn then
            log("-------- Starting to throw Pokeballs --------")
            normal()
        end    
    elseif huntEeveeMarill then
        if getOpponentName() == "Marill" then
        if fswipeOn then
            log("-------- Commencing False Swipe --------")
            fswipe()
        elseif sleepOn then
            log("-------- Commencing Sleep Move --------")
            sleep()
        elseif advanceCatchOn then
            log("-------- Commencing False Swipe with Sleep Move --------")
            advanceCatch()
        elseif normalCatchOn then
            log("-------- Starting to throw Pokeballs --------")
            normal()    
        end
        elseif getOpponentName() == "Eevee" then
            log("-------- Commencing Sleep Move --------")
            sleep()
        elseif huntandfarm then
            return attack() or sendAnyPokemon() or run() or sendUsablePokemon()
        else
            return run() or sendUsablePokemon() or attack() or sendAnyPokemon()
    
        end    
    elseif huntEevee and getOpponentName() == "Eevee" then
            log("-------- Commencing Sleep Move --------")
            sleep()
    elseif huntScyther and getOpponentName() == "Scyther" then
        if fswipeOn then
            log("-------- Commencing False Swipe --------")
            fswipe()
        elseif sleepOn then
            log("-------- Commencing Sleep Move --------")
            sleep()
        elseif advanceCatchOn then
            log("-------- Commencing False Swipe with Sleep Move --------")
            advanceCatch()
        elseif normalCatchOn then
            log("-------- Starting to throw Pokeballs --------")
            normal()
        end    
    elseif huntPinsir and getOpponentName() == "Pinsir" then
        if fswipeOn then
            log("-------- Commencing False Swipe --------")
            fswipe()
        elseif sleepOn then
            log("-------- Commencing Sleep Move --------")
            sleep()
        elseif advanceCatchOn then
            log("-------- Commencing False Swipe with Sleep Move --------")
            advanceCatch()
        elseif normalCatchOn then
            log("-------- Starting to throw Pokeballs --------")
            normal()
        end    
    elseif huntBulba and getOpponentName() == "Bulbasaur" then
        if fswipeOn then
            log("-------- Commencing False Swipe --------")
            fswipe()
        elseif sleepOn then
            log("-------- Commencing Sleep Move --------")
            sleep()
        elseif advanceCatchOn then
            log("-------- Commencing False Swipe with Sleep Move --------")
            advanceCatch()
        elseif normalCatchOn then
            log("-------- Starting to throw Pokeballs --------")
            normal()
        end    
    elseif huntChansey and getOpponentName() == "Chansey" then
        if fswipeOn then
            log("-------- Commencing False Swipe --------")
            fswipe()
        elseif sleepOn then
            log("-------- Commencing Sleep Move --------")
            sleep()
        elseif advanceCatchOn then
            log("-------- Commencing False Swipe with Sleep Move --------")
            advanceCatch()
        elseif normalCatchOn then
            log("-------- Starting to throw Pokeballs --------")
            normal()
        end    
    elseif huntRhyhorn and getOpponentName() == "Rhyhorn" then
        if fswipeOn then
            log("-------- Commencing False Swipe --------")
            fswipe()
        elseif sleepOn then
            log("-------- Commencing Sleep Move --------")
            sleep()
        elseif advanceCatchOn then
            log("-------- Commencing False Swipe with Sleep Move --------")
            advanceCatch()
        elseif normalCatchOn then
            log("-------- Starting to throw Pokeballs --------")
            normal()    
        end    
    elseif huntKanga and getOpponentName() == "Kangaskhan" then
        if fswipeOn then
            log("-------- Commencing False Swipe --------")
            fswipe()
        elseif sleepOn then
            log("-------- Commencing Sleep Move --------")
            sleep()
        elseif advanceCatchOn then
            log("-------- Commencing False Swipe with Sleep Move --------")
            advanceCatch()
        elseif normalCatchOn then
            log("-------- Starting to throw Pokeballs --------")
            normal()    
        end    
    elseif huntChanseyBulba and ( getOpponentName() == "Chansey" or getOpponentName() == "Bulbasaur" )then
        if fswipeOn then
            log("-------- Commencing False Swipe --------")
            fswipe()
        elseif sleepOn then
            log("-------- Commencing Sleep Move --------")
            sleep()
        elseif advanceCatchOn then
            log("-------- Commencing False Swipe with Sleep Move --------")
            advanceCatch()
        elseif normalCatchOn then
            log("-------- Starting to throw Pokeballs --------")
            normal()    
        end
    elseif huntandfarm then
            return attack() or sendAnyPokemon() or run() or sendUsablePokemon()    
    else
            return run() or sendUsablePokemon() or attack() or sendAnyPokemon()
    
    end
end

function normal()
    return useItem("Pokeball") or useItem("Great Ball") or useItem("Ultra Ball")  or sendAnyPokemon() or attack() or run()
end

function advanceCatch()
        if getActivePokemonNumber() == 1 then
            return sendPokemon(falseswiper) or useItem("Pokeball") or useItem("Great Ball") or useItem("Ultra Ball") or sendAnyPokemon() or run()
        elseif ( getActivePokemonNumber() == falseswiper ) and ( getOpponentHealth() > 1 ) then
            return weakAttack() or useItem("Pokeball") or useItem("Great Ball") or useItem("Ultra Ball") or sendAnyPokemon() or run()
        elseif ( getActivePokemonNumber() == sleeper ) and ( getOpponentStatus() ~= "SLEEP" and getOpponentStatus() ~= "PARALIZE" and getOpponentStatus() ~= "POISON" and getOpponentStatus() ~= "BURN" ) and ( getOpponentHealth() == 1 ) then
            return useMove(sleepmove) or useItem("Pokeball") or useItem("Great Ball") or useItem("Ultra Ball") or sendAnyPokemon() or run()
        elseif ( getActivePokemonNumber() == falseswiper ) and ( getOpponentHealth() == 1 ) then
            return sendPokemon(sleeper) or useItem("Pokeball") or useItem("Great Ball") or useItem("Ultra Ball") or sendAnyPokemon() or run()
        elseif getOpponentStatus() == "SLEEP" or getOpponentStatus() == "PARALIZE" or getOpponentStatus() == "POISON" or getOpponentStatus() == "BURN" then
            return useItem("Pokeball") or useItem("Great Ball") or useItem("Ultra Ball") or sendAnyPokemon() or attack() or run()
        else
                return useItem("Pokeball") or useItem("Great Ball") or useItem("Ultra Ball") or sendAnyPokemon() or attack() or run()
        end
end

function fswipe()
        if getActivePokemonNumber() == 1 then
            return sendPokemon(falseswiper) or useItem("Pokeball") or useItem("Great Ball") or useItem("Ultra Ball") or sendAnyPokemon() or run()
        elseif ( getActivePokemonNumber() == falseswiper ) and ( getOpponentHealth() > 1 ) then
            return weakAttack() or useItem("Pokeball") or useItem("Great Ball") or useItem("Ultra Ball") or sendAnyPokemon() or run()
        elseif getOpponentHealth() == 1 then
            return useItem("Pokeball") or useItem("Great Ball") or useItem("Ultra Ball")  or sendAnyPokemon() or attack() or run()
        end
end
function sleep()
        if getActivePokemonNumber() == 1 then
            return sendPokemon(sleeper) or useItem("Pokeball") or useItem("Great Ball") or useItem("Ultra Ball") or run()
        elseif ( getActivePokemonNumber() == sleeper ) and ( getOpponentStatus() ~= "SLEEP" and getOpponentStatus() ~= "PARALIZE" and getOpponentStatus() ~= "POISON" and getOpponentStatus() ~= "BURN" ) then
            return useMove(sleepmove) or useItem("Pokeball") or useItem("Great Ball") or useItem("Ultra Ball") or sendAnyPokemon() or run()
        elseif getOpponentStatus() == "SLEEP" or getOpponentStatus() == "PARALIZE" or getOpponentStatus() == "POISON" or getOpponentStatus() == "BURN" then
            return useItem("Pokeball") or useItem("Great Ball") or useItem("Ultra Ball") or sendAnyPokemon() or run()
        else
            return useItem("Pokeball") or useItem("Great Ball") or useItem("Ultra Ball") or sendAnyPokemon() or attack() or run()
        end    
end
function onBattleMessage(wild)
    
        if stringContains(wild, "A Wild SHINY ") then
        shinyCounter = shinyCounter + 1    
    
    elseif stringContains(wild, "You throw") then
        pokeballCounter = pokeballCounter + 1    
    
        elseif stringContains(wild, "Pokedollar(s)") then
                log("Info ~ Pokedollars earned: "..tostring(getMoney() - startingMoney).." (" ..tostring((getMoney() - startingMoney)/wildCounter).." average)")
    elseif wild == "A Wild [FF9900]Scyther[-] Attacks!" then
        scythercounter = scythercounter + 1
  
    elseif wild == "A Wild [FF9900]Pinsir[-] Attacks!" then
        pinsircounter = pinsircounter + 1
    
    elseif wild == "A Wild [FF9900]Eevee[-] Attacks!" then
        eeveecounter = eeveecounter + 1
    
    elseif wild == "A Wild [FF9900]Bulbasaur[-] Attacks!" then
        bulbacounter = bulbacounter + 1
    
    elseif wild == "A Wild [FF9900]Chansey[-] Attacks!" then
        chanseycounter = chanseycounter + 1

    elseif wild == "A Wild [FF9900]Rhyhorn[-] Attacks!" then
        rhycounter = rhycounter + 1

    elseif wild == "A Wild [FF9900]Kangaskhan[-] Attacks!" then
        kangascounter = kangascounter + 1
    
    elseif wild == "A Wild [FF9900]Umbreon[-] Attacks!" then
        umbreoncounter = umbreoncounter + 1

    elseif wild == "A Wild [FF9900]Starly[-] Attacks!" then
        starlycounter = starlycounter + 1
    elseif stringContains(wild, "A Wild ") then
            wildCounter = wildCounter + 1
    end
      
end

function onPause()
    
    log(" --------------------------------------------")
        log("|--------- CATCH ROUTINE PAUSED ----------|")
        log(" --------------------------------------------")
    log("|--------- Move Remaining Power Points ----------|")
    log("--------------------------------------")
    log("False Swipe: " .. tostring(getRemainingPowerPoints(falseswiper,weakmove)))
    log("Sleep Move: " .. tostring(getRemainingPowerPoints(sleeper,sleepmove)))
    log("-----------------------------------------------------------")
    log("|--------- Pokemon Caught Status ----------|")
    log(" ")
    
    if huntEeveeRhyhorn then
        log("Eevee Caught: " .. eeveecounter)
        log("Rhyhorn Caught: ".. rhycounter)
        
    elseif huntEeveeBulba then
        log("Eevee Caught: " .. eeveecounter)
        log("Bulbasaur Caught: " .. bulbacounter)
        
    elseif huntEeveeChansey then
        log("Eevee Caught: " .. eeveecounter)
        log("Chansey Caught: " .. chanseycounter)
        
    elseif huntEeveeScytherPinsir then
        log("Eevee Caught: " .. eeveecounter)
        log("Scyther Caught: " .. scythercounter)
        log("Pinsir Caught: " .. pinsircounter)
        
    elseif huntEeveeUmbreon then
        log("Eevee Caught: " .. eeveecounter)
        log("Umbreon Caught: " .. umbreoncounter)
        
    elseif huntStarlyUmbreon then
        log("Starly Caught: " .. starlycounter)
        log("Umbreon Caught: " .. umbreoncounter)
        
    elseif huntEeveeMarill then
        log("Eevee Caught: " .. eeveecounter)
        log("Marill Caught: " .. marillcounter)
        
    elseif huntEevee then
        log("Eevee Caught: " .. eeveecounter)
        
    elseif huntScyther then
        log("Scyther Caught: " .. scythercounter)
        
    elseif huntPinsir then
        log("Pinsir Caught: " .. pinsircounter)
        
    elseif huntBulba then
        log("Bulbasaur Caught: " .. bulbacounter)
        
    elseif huntChansey then
        log("Chansey Caught: " .. chanseycounter)
        
    elseif huntRhyhorn then
        log("Rhyhorn Caught: ".. rhycounter)
        
    elseif huntKanga then
        log("Kangaskhan Caught: " .. kangascounter)
        
    elseif huntChanseyBulba then
        log("Chansey Caught: " .. chanseycounter)
        log("Bulbasaur Caught: " .. bulbacounter)
    end
    
    log(" --------------------------------------------")
    log("Pokemons encountered: " .. wildCounter)
    log("-----------------------------------------------------------")
    log("Shinies Caught: " .. shinyCounter)
    log("Pokeball's used: " .. pokeballCounter)
    log("---------------------------------------------")
    log("|--------- Character Information ----------|")
    log(" ")
    log("Times in Pokecenter: " .. pokecenterCounter)
    if huntandfarm or moneyfarm then
         log("Pokedollars earned: "..tostring(getMoney() - startingMoney).." (" ..tostring((getMoney() - startingMoney)/wildCounter).." average)")
        log("-----------------------------------------------------------")
    end
end

function onStop()
    log("-----------------------------------------------------------")
        log("---------------------- Routine Stopped ---------------------")
        log("-----------------------------------------------------------")
    endtime = os.time()
        log(string.format("Bot running time: %.2f", os.difftime(endtime,startime)/3600 ).. " hours")
        log("or")
        log(string.format("Bot running time: %.2f", os.difftime(endtime,startime)/60 ).. " minutes")
        log("-----------------------------------------------------------")
end



function ceCave()


    if getUsablePokemonCount() > pokeNumber then

        if getMapName() == "Safari Exclusive" then
                    talkToNpcOnCell(21, 3)
        elseif getMapName() == "Safari Area 2" then
            moveToMap("Safari Area 1")
        elseif getMapName() == "Safari Area 3" then
            moveToMap("Safari Entrance")
        elseif getMapName() == "Safari Area 1" then
            moveToMap("Safari Entrance")
        elseif getMapName() == "Safari Entrance" then
            talkToNpcOnCell(27, 25)
        elseif getMapName() == "Pokecenter Cerulean" then
            moveToMap("Cerulean City")
        elseif (getPlayerX() == 26 and getPlayerY() == 31) or (getPlayerX() == 9 and getPlayerY() == 49) then
            moveToMap("Route 4")
        elseif getMapName() == "Route 6" then    
            moveToMap("Route 6 Stop House")
        elseif getMapName() == "Safari Stop" or getMapName() == "Pokecenter Fuchsia" then    
            moveToMap("Fuchsia City")
        elseif getMapName() == "Fuchsia City" then
            moveToMap("Route 15 Stop House")
        elseif getMapName() == "Route 15 Stop House" then    
            return moveToMap("Route 15")
        elseif getMapName() == "Route 15" then
            moveToMap("Route 14")
        elseif getMapName() == "Route 14" then    
            moveToMap("Route 13")
        elseif getMapName() == "Route 13" then    
            moveToMap("Route 12")
        elseif getMapName() == "Route 12" then    
            moveToMap("Route 11 Stop House")
        elseif getMapName() == "Route 11 Stop House" then    
            moveToMap("Route 11")
        elseif getMapName() == "Route 11" then
            moveToMap("Vermilion City")
        elseif getMapName() == "Pokecenter Vermilion" then    
            moveToMap("Vermilion City")
        elseif getMapName() == "Vermilion City" then    
            moveToMap("Route 6")
        elseif getMapName() == "Route 6 Stop House" then    
            moveToMap("Saffron City")
        elseif getMapName() == "Saffron City" then    
            moveToMap("Route 5 Stop House")
        elseif getMapName() == "Route 5 Stop House" then    
            moveToMap("Route 5")
        elseif getMapName() == "Route 5" then    
            moveToCell(14, 0)
        elseif getMapName() == "Fuchsia Pokemart" then
            moveToMap("Fuchsia City")
        elseif getMapName() == "Cerulean City" or getMapName() == "Route 4" then
            return  moveToMap("Cerulean Cave 1F") or moveToCell(96, 14)    
        elseif getMapName() == "Cerulean Cave 1F"  then    
            return moveNearExit("Cerulean City")
        end
    else
        if getMapName() == "Cerulean Cave 1F" then
            moveToMap("Cerulean City")
        elseif ( getPlayerX() == 1 and getPlayerY() == 20 ) then
            moveToCell(26, 30)
        elseif getMapName() == "Cerulean City" then    
            return moveToMap("Route 4")
        elseif getMapName() == "Route 4"  then    
            moveToCell(96, 21)
        elseif getMapName() == "Pokecenter Cerulean"  then    
                usePokecenter()
        end
    end
end

function seafoam()

    if getUsablePokemonCount() > pokeNumber then
        
        if getMapName() == "Safari Exclusive" then
                    talkToNpcOnCell(21, 3)
        elseif getMapName() == "Safari Area 2" then
            moveToMap("Safari Area 1")
        elseif getMapName() == "Safari Area 3" then
            moveToMap("Safari Entrance")
        elseif getMapName() == "Fuchsia Pokemart" then
            moveToMap("Fuchsia City")
        elseif getMapName() == "Safari Area 1" then
            moveToMap("Safari Entrance")
        elseif getMapName() == "Safari Entrance" then
            talkToNpcOnCell(27, 25)
        elseif getMapName() == "Safari Stop" then
            moveToMap("Fuchsia City")
        elseif getMapName() == "Pokecenter Fuchsia" then
            moveToMap("Fuchsia City")
        elseif getMapName() == "Fuchsia City" then
            moveToMap("Fuchsia City Stop House")
        elseif getMapName() == "Fuchsia City Stop House" then
            moveToMap("Route 19")
        elseif getMapName() == "Route 19" then    
            moveToMap("Route 20")
        elseif getMapName() == "Route 20" then    
            moveToCell(60, 32)
        elseif getMapName() == "Seafoam 1F" then    
            moveToMap("Seafoam B1F")
        elseif getMapName() == "Seafoam B1F" then    
            moveToMap("Seafoam B2F")
        elseif getMapName() == "Seafoam B2F" then    
            moveToMap("Seafoam B3F")
        elseif getMapName() == "Seafoam B3F" then    
            moveToCell(12, 8)
        elseif getMapName() == "Seafoam B4F" then
            moveToRectangle(9,15,13,20)
        end
            
    else
        
        if getMapName() == "Seafoam B4F" then    
            moveToCell(9, 6)
        elseif getMapName() == "Seafoam B3F" then    
            moveToMap("Seafoam B2F")
        elseif getMapName() == "Seafoam B2F" then    
            moveToMap("Seafoam B1F")
        elseif getMapName() == "Seafoam B1F" then    
            moveToMap("Seafoam 1F")
        elseif getMapName() == "Seafoam 1F" then    
            moveToCell(13, 16)
        elseif getMapName() == "Route 20" then    
            moveToMap("Route 19")
        elseif getMapName() == "Route 19" then    
            moveToMap("Fuchsia City Stop House")
        elseif getMapName() == "Fuchsia City Stop House" then    
            moveToMap("Fuchsia City")
        elseif getMapName() == "Fuchsia City" then    
            moveToMap("Pokecenter Fuchsia")
            elseif getMapName() == "Pokecenter Fuchsia" then
            usePokecenter()
        end

    end

end

function backtofarm()
    
        if getMapName() == "Cerulean Cave 1F" then
            moveToMap("Cerulean City")
        elseif getMapName() == "Cerulean City" then    
            return moveToMap("Route 5") or moveToMap("Route 4")
        elseif getMapName() == "Route 4"  then    
            moveToCell(96, 21)
        elseif getMapName() == "Pokecenter Cerulean" then
            moveToMap("Cerulean City")
        elseif getMapName() == "Pokecenter Vermilion" or getMapName() == "Route 6" then
            moveToMap("Vermilion City")
        elseif getMapName() == "Vermilion City" then
            moveToMap("Route 11")
        elseif getMapName() == "Cerulean City" then
            moveToMap("Route 5")
        elseif getMapName() == "Route 5" then
            moveToMap("Route 5 Stop House")
        elseif getMapName() == "Route 5 Stop House" then
            moveToMap("Saffron City")
        elseif getMapName() == "Saffron City" then
            moveToMap("Route 6 Stop House")
        elseif getMapName() == "Route 6 Stop House" then
            moveToMap("Route 6")
        elseif getMapName() == "Cerulean Cave 1F" then
            moveToMap("Cerulean City")
        elseif ( getPlayerX() == 1 and getPlayerY() == 20 ) or ( getPlayerX() == 1 and getPlayerY() == 19 ) then
            moveToMap("Route 5")
        elseif getMapName() == "Cerulean City" then    
            return moveToMap("Route 4")
        elseif getMapName() == "Route 4"  then    
            moveToCell(96, 21)
        elseif getMapName() == "Route 11" then
            moveToMap("Route 11 Stop House")
        elseif getMapName() == "Route 11 Stop House" then
            moveToMap("Route 12")
        elseif getMapName() == "Route 12" then
            moveToCell(24, 92)
        elseif getMapName() == "Route 13" then
            moveToMap("Route 14")
        elseif getMapName() == "Route 14" then
            moveToMap("Route 15")
        elseif getMapName() == "Route 15" then
            moveToMap("Route 15 Stop House")
        elseif getMapName() == "Route 15 Stop House" then
            moveToMap("Fuchsia City")
        elseif getMapName() == "Seafoam B4F" then    
            return moveToCell(9, 6)
        elseif getMapName() == "Seafoam B3F" then    
            moveToMap("Seafoam B2F")
        elseif getMapName() == "Seafoam B2F" then    
            moveToMap("Seafoam B1F")
        elseif getMapName() == "Seafoam B1F" then    
            moveToMap("Seafoam 1F")
        elseif getMapName() == "Seafoam 1F" then    
            moveToCell(13, 16)
        elseif getMapName() == "Route 20" then    
            moveToMap("Route 19")
        elseif getMapName() == "Route 19" then    
            moveToMap("Fuchsia City Stop House")
        elseif getMapName() == "Fuchsia City Stop House" then    
            moveToMap("Fuchsia City")
        elseif getMapName() == "Fuchsia Pokemart" then
            moveToMap("Fuchsia City")
        end
end
 
Reply
#25
Can you please explain what exactly the problem? I can't understand.

And be careful on the Nature Name -- nature2 = "bold"

Its not "bold", its "Bold"

PS: Why do use different pokemon but with the same nature? You can use only 1 and set the synch1 and synch2 to number 1.
God Karp Trainer loading... *splash*splash Huh

 
Reply
  


Forum Jump:


Browsing: 1 Guest(s)