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

Pokemon Yellow Pikachu only following and cant evolve script ?

oldsnake90

Creator Pokemon Glacial Freeze
  • 53
    Posts
    15
    Years
    i'm wanna make a Pokemon yellow easter egg where if you pick Pikachu it would follow you and wont evolve. but i want that the only one to follow me. and i want it to follow me even if its not party leader. what should i do?
    i like something like the pokemon following script but thats only for the party leader
     
    Last edited:
    Just use pbAddDependency2(eventID, eventName, commonEvent) within the event for Pikachu, simple... Assuming you cannot capture Pikachu in your game, just edit the PBS file so Pikachu doesn't evolve... Or, add the red line:
    Code:
    def pbCheckEvolutionEx(pokemon)
      return -1 if pokemon.species<=0 || pokemon.egg?
      return -1 if isConst?(pokemon.species,PBSpecies,:PICHU) && pokemon.form==1
      [COLOR="Red"]return -1 if isConst?(pokemon.species,PBSpecies,:PIKACHU)[/COLOR]
      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

    This will allow both, following and non-evolution... Providing you know how to use dependencies.
     
    Back
    Top