• 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!
  • It's time to vote for your favorite Pokémon Battle Revolution protagonist in our new weekly protagonist poll! Click here to cast your vote and let us know which PBR protagonist you like most.
  • 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] Tackle problem

  • 13
    Posts
    5
    Years
    • Seen Dec 9, 2024
    Hi I'm new and I hope that this the right thread if not I ask sorry. I'm not very good in English but I'll try to let me understand.
    Some day ago I downloaded Pokémon essentials and I tried to create my Pokémon game but this evening when i use tackle it continue to give me this error:
    Exception: Argument error
    Message wrong number of arguments (0 for 1)
    PokeBattle_Move:373:in Has WorkingAbility
    PokeBattle_Move:373:in pbTypeModifier
    PokeBattle_Battler:2451:in pbSuccessCheck
    PokeBattle_Battler:2730:in pbProcessingMoveAgainstTarget
    PokeBattle_Battler:2726:in each
    PokeBattle_Battler:2726:in pbProcessMoveAgainstTarget
    PokeBattle_Battler:3208:in pbUseMove
    PokeBattle_Battler:3188:in loop
    PokeBattle_Battler:3211:in pbUseMove
    PokeBattle_Battler:3409:in pbProcess Turn

    Can somebody help me? Thanks
     
    Last edited:
    The error you got is a ruby error. Somewhere in the code you used, you forgot to provide an argument/parameter between parenthesis.
    Ex: thing instead of thing(argument).
     
    How do I understand what I have to provide between parenthesis?
     
    Hi Bjorg, I've moved your thread to the Pokemon Essentials subforum as ROM Hacking Help is for ROM hacks rather than Essentials~
     
    Last edited:
    You wrote wrong, I guess.
    It is 'hasWorkingAbility(:NAMEOFABILITY)' instead what your error shows. Also, just use CTRL SHIFT F and search for def hasWorkingAbility to learn how to use it.
     
    Back
    Top