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

[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