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.

TrollandToad.com
Reply
 
Thread Tools
  #1076    
Old 2 Weeks Ago (2:42 AM).
Ego13's Avatar
Ego13 Ego13 is online now
     
    Join Date: Jul 2017
    Location: Larua Region
    Gender: Male
    Nature: Calm
    Posts: 51
    When using Spite it raises the following error message

    Spoiler:

    Exception: NoMethodError

    Message: undefined method `pbSetPP' for # < PokeBattle_Move_10E:0xc73ecb8 >
    PokeBattle_MoveEffects:7862:in `pbEffect'
    PokeBattle_MoveEffects:7858:in `each'
    PokeBattle_MoveEffects:7858:in `pbEffect'
    PokeBattle_Battler:2931:in `pbProcessMoveAgainstTarget'
    PokeBattle_Battler:2887:in `each'
    PokeBattle_Battler:2887:in `pbProcessMoveAgainstTarget'
    PokeBattle_Battler:3365:in `pbUseMove'
    PokeBattle_Battler:3345:in `loop'
    PokeBattle_Battler:3368:in `pbUseMove'
    PokeBattle_Battler:3566:in `pbProcessTurn'


    to fix this:
    In Script Section PokeBattle_MoveEffects find
    Code:
    ################################################################################
    # Target's last move used loses 4 PP. (Spite)
    ################################################################################
    class PokeBattle_Move_10E < PokeBattle_Move
      def pbEffect(attacker,opponent,hitnum=0,alltargets=nil,showanimation=true)
        for i in opponent.moves
          if i.id==opponent.lastMoveUsed && i.id>0 && i.pp>0
            pbShowAnimation(@id,attacker,opponent,hitnum,alltargets,showanimation)
            reduction=[4,i.pp].min
            pbSetPP(i,i.pp-reduction)
            @battle.pbDisplay(_INTL("It reduced the PP of {1}'s {2} by {3}!",opponent.pbThis(true),i.name,reduction))
            return 0
          end
        end
        @battle.pbDisplay(_INTL("But it failed!"))
        return -1
      end
    end
    and change this
    Code:
    pbSetPP(i,i.pp-reduction)
    to
    Code:
    opponent.pbSetPP(i,i.pp-reduction)
    __________________

    Pokemon Hollow on pokecommunity.com
    Reply With Quote

    Relevant Advertising!

      #1077    
    Old 2 Weeks Ago (4:48 AM).
    FL's Avatar
    FL FL is offline
    Pokémon Island Creator
       
      Join Date: Sep 2010
      Gender: Male
      Posts: 1,712
      An old bug: Larvesta icon (636) was a misplaced pixel.
      __________________
      Reply With Quote
        #1078    
      Old 1 Week Ago (3:01 PM).
      Arkadious's Avatar
      Arkadious Arkadious is offline
      Developer of Fragmentum
         
        Join Date: Nov 2015
        Location: New Zealand
        Age: 20
        Gender: Male
        Nature: Careful
        Posts: 43
        In Essentials 17.1, if you use an accented e (é) for move or ability descriptions, it doesn't appear and ends up making words like Caf and Pokmon. Possibly affects more areas but seems to work alright in the main menu.
        Reply With Quote
          #1079    
        Old 2 Days Ago (2:40 PM).
        Maruno's Avatar
        Maruno Maruno is offline
        Lead Dev of Pokémon Essentials
           
          Join Date: Jan 2008
          Location: England
          Posts: 5,180
          Quote:
          Originally Posted by Arkadious View Post
          In Essentials 17.1, if you use an accented e (é) for move or ability descriptions, it doesn't appear and ends up making words like Caf and Pokmon. Possibly affects more areas but seems to work alright in the main menu.
          I'm looking at v17.1, and accented characters in move/ability descriptions definitely DO display properly.
          __________________
          Go to the Pokémon Essentials Wiki

          | Downloads | Tutorials | Fangames |
          | All Animations Project |

          Follow me on Twitter: @maruno42


          Reply With Quote
            #1080    
          Old 2 Days Ago (6:00 PM). Edited 2 Days Ago by Arkadious.
          Arkadious's Avatar
          Arkadious Arkadious is offline
          Developer of Fragmentum
             
            Join Date: Nov 2015
            Location: New Zealand
            Age: 20
            Gender: Male
            Nature: Careful
            Posts: 43
            Quote:
            Originally Posted by Maruno View Post
            I'm looking at v17.1, and accented characters in move/ability descriptions definitely DO display properly.
            I just redownloaded it and yeah, you're right. Go figure. I must've touched something without realising.
            Edit: I found out what it was, I'd accidentally changed the encoding of the Abilities PBS file. Didn't even realise that could even affect it.
            Reply With Quote
              #1081    
            Old 2 Days Ago (5:46 AM). Edited 1 Day Ago by imnonoob99.
            imnonoob99's Avatar
            imnonoob99 imnonoob99 is offline
               
              Join Date: Jan 2016
              Location: Brooklyn
              Gender: Male
              Posts: 11
              Every time I try to battle my first trainer (first that I've made, so I'm not familiar with these errors) I get this error. As soon as the battle should start the error appears, no transition.

              I can't find anything on it either

              Spoiler:
              Click image for larger version

Name:	Essentials.PNG
Views:	13
Size:	148.7 KB
ID:	83267


              Edit: This happens for all trainers (I made 2 more since I got this error to see if it was just the one battle, but it's multiple.)
              Reply With Quote
              Reply

              Quick Reply

              Join the conversation!

              Create an account to post a reply in this thread, participate in other discussions, and more!

              Create a PokéCommunity Account

              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 7:07 AM.