• 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!
  • Serena, Kris, Dawn, Red - which Pokémon protagonist is your favorite? Let us know by voting in our grand final favorite protagonist poll!
  • PokéCommunity supports the Stop Killing Games movement. If you're a resident of the UK or EU, consider signing one of the petitions to stop publishers from destroying games. Click here for more information!
  • 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.

[Error] Error with following Pokemon EX

Shashu-Greninja

"With great power comes great responsibility"- Whe
  • 99
    Posts
    4
    Years
    Hey Pokecommunity,
    I use Following Pokemon EX script and I get this error everytime I black out:
    Spoiler:

    Can anyone please help me out?
     
    Can anyone please help me out?

    You've found a bug, you should tell the creator.
    Here is how to solve it:
    Go to line 88 of the file 02_Follower_Main; it should look like this:
    Code:
    #-------------------------------------------------------------------------------
    # Script Command for removing every dependent event except Following Pokemon
    #-------------------------------------------------------------------------------
    def pbRemoveDependenciesExceptFollower
      $PokemonTemp.dependentEvents.removeAllButFollower
    end
    Add parentheses and then "nil" to the middle line of the function:
    Code:
      $PokemonTemp.dependentEvents.removeAllButFollower
    should become:
    Code:
      $PokemonTemp.dependentEvents.removeAllButFollower(nil) # HERE
    The error is because function removeAllButFollower requires an argument, and yet it doesn't use it.
     
    Back
    Top