Game Development Your number one stop for anything related to creating games (except ROM hacks). You can even make your own!

Reply
 
Thread Tools
  #1    
Old September 28th, 2017 (4:10 PM). Edited September 28th, 2017 by Tantinoctus.
Tantinoctus Tantinoctus is offline
     
    Join Date: Sep 2017
    Posts: 4
    Quote:
    Originally Posted by Marin View Post
    It'd help if you'd show the full error.
    Haha, good point. Image attached, couldn't post the whole error message here.
    Attached Images
    File Type: png Capture.PNG‎ (17.0 KB, 13 views) (Save to Dropbox)
    Reply With Quote
      #2    
    Old September 28th, 2017 (5:03 PM).
    Vendily's Avatar
    Vendily Vendily is online now
       
      Join Date: Aug 2015
      Gender: Female
      Nature: Calm
      Posts: 777
      def pbSetPP is a method on PokeBattle_Battler, not PokeBattle_Move.
      It takes the move and the new pp as arguments.
      Looking at the line, it looks like it should be
      Code:
      opponent.pbSetPP(i,i.pp-reduction)
      __________________
      Resources for ROM hackers has moved.

      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
      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 11:46 AM.