The PokéCommunity Forums Fan Games Game Development Pokémon Essentials
Essentials Question Error Message after using Toxic

Pokémon Essentials All questions and discussion about Pokémon Essentials, the Pokémon game kit for RPG Maker XP, go in here. Also contains links to the latest downloads and the Essentials Wiki.

Reply
 
Thread Tools
  #1    
Old March 20th, 2017 (11:12 AM).
zodiac25 zodiac25 is offline
     
    Join Date: Mar 2017
    Gender: Male
    Posts: 7
    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'
    Reply With Quote

    Relevant Advertising!

      #2    
    Old March 20th, 2017 (11:43 AM).
    M3rein's Avatar
    M3rein M3rein is offline
    Bored
       
      Join Date: Nov 2016
      Location: The Netherlands
      Gender: Male
      Nature: Bashful
      Posts: 264
      Quote:
      Originally Posted by zodiac25 View Post
      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.
      __________________
      C# and RGSS are main bae, but you're okay as well.
      Reply With Quote
        #3    
      Old March 20th, 2017 (1:23 PM).
      zodiac25 zodiac25 is offline
         
        Join Date: Mar 2017
        Gender: Male
        Posts: 7
        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.
        Reply With Quote
          #4    
        Old March 20th, 2017 (3:49 PM).
        komaoto's Avatar
        komaoto komaoto is offline
           
          Join Date: Mar 2014
          Location: Brazil
          Gender: Male
          Posts: 67
          Probably you modified something, it's working fine here in a vanilla 16.2.
          No errors showing up.
          Reply With Quote
          Reply
          Quick Reply

          Sponsored Links
          Thread Tools

          Posting Rules
          You may not post new threads
          You may not post replies
          You may not post attachments
          You may not edit your posts

          BB code is On
          Smilies are On
          [IMG] code is On
          HTML code is Off

          Forum Jump


          All times are GMT -8. The time now is 2:08 AM.