• 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] Original Chatter Script

mybusiness

Guest
0
Posts
    I tried to use Chatter from party screen, and this popped up.
    Original Chatter Script
     
    Last edited:

    mybusiness

    Guest
    0
    Posts
    Did you check how arguments works for it? '-'

    This is line 31-33 of Pokemon_Chatter:
    Code:
    HiddenMoveHandlers.addCanUseMove(:CHATTER,proc {|item,pokemon|
       return true
    });
     

    WolfPP

    Spriter/ Pixel Artist
    1,309
    Posts
    5
    Years
  • You didn't answer my question. Anyway, remove 'item' and will work fine. See the arguments.

    Code:
    HiddenMoveHandlers.addCanUseMove(:CHATTER,proc {|pokemon|
       return true
    });
     

    mybusiness

    Guest
    0
    Posts
    You didn't answer my question. Anyway, remove 'item' and will work fine. See the arguments.

    Code:
    HiddenMoveHandlers.addCanUseMove(:CHATTER,proc {|pokemon|
       return true
    });

    That's because I'm not familiar with that kind of procedures. But now I know better, thanks.
     

    WolfPP

    Spriter/ Pixel Artist
    1,309
    Posts
    5
    Years
  • Me neither xD
    But 3 for 2 means that exist 1 argument more than normal for the code.

    No problem!
     

    Diegou18

    Forever Chandelure lover.
    75
    Posts
    6
    Years
    • Seen Aug 16, 2021
    Sorry for necroposting, but I got an error too, after applying the solution that WolfPP gave. This is the error:
    Code:
    [Pokémon Essentials version 17.2]
    Exception: NoMethodError
    Message: undefined method `species' for #<Array:0xd3786d8>
    PSystem_FileUtilities:23:in `pbLoadPokemonBitmap'
    Pokemon_Chatter:8:in `pbChatter'
    Pokemon_Chatter:36
    Pokemon_Chatter:35:in `call'
    EventHandlers:150:in `trigger'
    PField_FieldMoves:40:in `triggerUseMove'
    PField_FieldMoves:55:in `pbUseHiddenMove'
    PScreen_PauseMenu:184:in `pbStartPokemonMenu'
    PScreen_PauseMenu:145:in `loop'
    PScreen_PauseMenu:281:in `pbStartPokemonMenu'
     

    WolfPP

    Spriter/ Pixel Artist
    1,309
    Posts
    5
    Years
  • Vanilla version works fine. Maybe you added some custom script. Also inside Chatter script hasn't any 'species'. You only use 'pokemon'
     

    Diegou18

    Forever Chandelure lover.
    75
    Posts
    6
    Years
    • Seen Aug 16, 2021
    Vanilla version works fine. Maybe you added some custom script. Also inside Chatter script hasn't any 'species'. You only use 'pokemon'

    Ok, I'm stupid. I apologize for all the inconveniences. I discovered the error of my script.
     
    Back
    Top