• 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.

Make specific Pokemon not able to evolve

  • 19
    Posts
    9
    Years
    • Seen Sep 6, 2022
    Hey,
    I was wondering if Its possible to disable Evolution of different forms of Pokemon (e.g. Spikes eared pichu)
    Is there some function i can call in the MultipleForms Script?
     
    Code:
    # Checks whether a Pokemon can evolve now. If a block is given, calls the block
    # with the following parameters:
    #  Pokemon to check; evolution type; level or other parameter; ID of the new Pokemon species
    def pbCheckEvolutionEx(pokemon)
      return -1 if pokemon.species<=0 || pokemon.isEgg?
      return -1 if isConst?(pokemon.species,PBSpecies,:PICHU) && pokemon.form==1
      return -1 if isConst?(pokemon.item,PBItems,:EVERSTONE)
      ret=-1
      for form in pbGetEvolvedFormData(pokemon.species)
        ret=yield pokemon,form[0],form[1],form[2]
        break if ret>0
      end
      return ret
    end
    Can you work it out from here... But the thing is, I didn't make this script, it was already in Essentials.
     
    Back
    Top