• 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!
  • Scottie, Todd, Serena, Kris - which Pokémon protagonist is your favorite? Let us know by voting in our poll!
  • 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 Message after using Toxic

  • 15
    Posts
    8
    Years
    • Seen May 6, 2021
    i got this error message after i using the move toxic and i was wondering how to fix it:

    Exception: NoMethodError
    Message: private method `gsub' called for true:TrueClass
    DrawText:215:in `toUnformattedText'
    DrawText:225:in `unformattedTextLength'
    SpriteWindow:3558:in `setText'
    SpriteWindow:3531:in `text='
    PokeBattle_Scene:1422:in `pbDisplayMessage'
    PokeBattle_Battle:2422:in `pbDisplay'
    PokeBattle_BattlerEffects:208:in `pbPoison'
    PokeBattle_MoveEffects:230:in `pbEffect'
    PokeBattle_Battler:2705:in `pbProcessMoveAgainstTarget'
    PokeBattle_Battler:2661:in `each'
     
    i got this error message after i using the move toxic and i was wondering how to fix it:

    Exception: NoMethodError
    Message: private method `gsub' called for true:TrueClass
    DrawText:215:in `toUnformattedText'
    DrawText:225:in `unformattedTextLength'
    SpriteWindow:3558:in `setText'
    SpriteWindow:3531:in `text='
    PokeBattle_Scene:1422:in `pbDisplayMessage'
    PokeBattle_Battle:2422:in `pbDisplay'
    PokeBattle_BattlerEffects:208:in `pbPoison'
    PokeBattle_MoveEffects:230:in `pbEffect'
    PokeBattle_Battler:2705:in `pbProcessMoveAgainstTarget'
    PokeBattle_Battler:2661:in `each'

    More information please. Version, changes, etc. Did this error happen after a strange series of moves/combination that happened to be fatal (like using complex moves in a short time span such as Struggle, Protect and others)? Maybe it's a new bug, maybe you goofed, maybe both. Anyways, we need more information.
     
    first i thought i goofed somewhere, so i deleted and reinstalled pokemon essentials. created a trainer to test the bug (mind you i didnt modify anything in the scripts) and when i used toxic, the animation for toxic played then after the error message popped up. i tried other status moves and they work fine but when i used toxic thats when the message pops up.
     
    Back
    Top