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

[Scripting Question] Roaming Error

  • 66
    Posts
    12
    Years
    • Seen Nov 12, 2023
    Hi,

    I use the Pokemon Essentials BW3.1.1, the Follow Script (Link) and the EliteBattle Script.

    If I want to battle against a Roaming Pokémon, this Error appears:

    Code:
    Exception: ArgumentError
    Message: wrong number of arguments(3 for 2)
    PField_RoamingPokemon:132:in `pbGenerateWildPokemon'
    PField_RoamingPokemon:132:in `pbRoamingPokemonBattle'
    PField_RoamingPokemon:123
    PField_RoamingPokemon:115:in `call'
    Event:54:in `trigger'
    Event:49:in `each'
    Event:49:in `trigger'
    PField_Field:1044:in `pbWildBattle_old'
    EliteBattle_EntryAnimations:162:in `pbWildBattle'
    PField_Field:1521:in `pbBattleOnStepTaken'

    Can someone help me? I don't change anything in this Scripts I named.
     
    Last edited by a moderator:
    I didn't update my Game, because I use the Pokemon Essentials BW3.1.1 from beginning.

    If I tested Roaming Pokemon on a clear Pokemon Essentials BW3.1.1, this Error appears:
    https://www.pokecommunity.com/showthread.php?t=380570
    Code:
    Exception: NoMethodError
    Message: undefined method `include?' for #<RPG::AudioFile:0x9982fc0>
    PField_Field:653:in `pbBattleAnimation'
    PField_RoamingPokemon:141:in `pbRoamingPokemonBattle'
    PField_RoamingPokemon:122
    PField_RoamingPokemon:114:in `call'
    Event:54:in `trigger'
    Event:49:in `each'
    Event:49:in `trigger'
    PField_Field:1044:in `pbWildBattle'
    PField_Field:1521:in `pbBattleOnStepTaken'
    PField_Field:1545:in `pbOnStepTaken'
     
    Back
    Top