• 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.
  • Ever thought it'd be cool to have your art, writing, or challenge runs featured on PokéCommunity? Click here for info - we'd love to spotlight your work!
  • 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.

[Scripting Question] pbPokerus in essentials 17.2?

  • 57
    Posts
    5
    Years
    • Seen Apr 17, 2022
    Hey i'm trying to update this script to essentials version 17.2. But there is a mistake that I don't understand. that of pbPokerus. What would be the equivalent in essentials 17.2?

    Spoiler:
    The Error:
    Spoiler:

    Thank you
     
    def pokerusStage

    when the above is 0 the pokemon is not infected, when 1 it is infected and when 2 it is cured
    it should look like this
    Code:
      if pokemon.pokerusStage==1
        imagepos.push([sprintf("Graphics/Pictures/summaryPokerus"),176,100,0,0,-1,-1])
      elsif pokemon.pokerusStage==2
        imagepos.push([sprintf("Graphics/Pictures/summaryCuredPokerus"),176,100,0,0,-1,-1])
      end
     
    Back
    Top