• Our software update is now concluded. You will need to reset your password to log in. In order to do this, you will have to click "Log in" in the top right corner and then "Forgot your password?".
  • 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

  • 10
    Posts
    4
    Years
    • Seen May 25, 2020
    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:
  • 9
    Posts
    14
    Years
    • Seen Aug 15, 2020
    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).
     
  • 10
    Posts
    4
    Years
    • Seen May 25, 2020
    How do I understand what I have to provide between parenthesis?
     

    DrFuji

    [I]Heiki Hecchara‌‌[/I]
  • 1,691
    Posts
    14
    Years
    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:

    WolfPP

    Spriter/ Pixel Artist
  • 1,309
    Posts
    5
    Years
    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