• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Our friends from the Johto Times are hosting a favorite Pokémon poll - and we'd love for you to participate! Click here for information on how to vote for your favorites!
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

Remove Pokerus?

  • 41
    Posts
    11
    Years
    • Seen Mar 30, 2014
    I looked in the wiki, but it doesn't state how to get rid of pokerus when your pokemon contracts it.

    The reason is, I want to develope a code that when your pokemon gets pokerus, there is a 50% chance that after every battle, your pokemon will mutate into a different form, and thus, learninig that form's movesets from now on. It's like, a rattata can become a persian or staryu. (for an example).

    You definately don't want this to happen cause this can mess up your game plan.

    So, the only way to get rid of pokerus is to go to a creature's house and ask her to heal it personally for you.
     
    Every day your party pokérus count is lowered by 1, you get healed when you pokérus count is divisible by 16 (maximum of 15 days of infection). To remove this, just delete the code from PokemonField:

    Code:
    Events.onMapUpdate+=proc {|sender,e|   # Pokérus check
      last=$PokemonGlobal.pokerusTime
      now=pbGetTimeNow
      if !last || last.year!=now.year || last.month!=now.month || last.day!=now.day
        if $Trainer && $Trainer.party
          for i in $Trainer.pokemonParty
            i.lowerPokerusCount
          end
          $PokemonGlobal.pokerusTime=now
        end
      end
    }

    A method that removes pokérus of all your party pokémon (including faint ones and eggs):

    Code:
    def removePokerusFromParty
        for pokemon in $Trainer.party
          pokemon.pokerus=16
        end
    end
     
    Back
    Top