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.

Ad Content
Reply
 
Thread Tools
  #1   Link to this post, but load the entire thread.  
Old 5 Days Ago (6:34 PM).
clawort's Avatar
clawort clawort is offline
     
    Join Date: Mar 2019
    Location: Australia
    Gender: Male
    Posts: 20
    I got this error every time Mixed Emotions activates! :(
    Spoiler:
    [Pokémon Essentials version 17.2]
    Exception: NameError
    Message: undefined local variable or method `battler' for #<PokeBattle_Battler:0xedaab00>
    PokeBattle_Battler:1099:in `pbAbilitiesOnSwitchIn'
    PokeBattle_Battle:2069:in `pbOnActiveAll'
    PokeBattle_Battle:2068:in `each'
    PokeBattle_Battle:2068:in `pbOnActiveAll'
    PokeBattle_Battle:2515:in `pbStartBattleCore'
    PokeBattle_Battle:2340:in `pbStartBattle'
    PField_Battles:98:in `pbWildBattle'
    PField_Battles:97:in `pbSceneStandby'
    PField_Battles:99:in `pbWildBattle'
    PField_Battles:96:in `pbBattleAnimation'

    Please help!!!
    Reply With Quote
      #2   Link to this post, but load the entire thread.  
    Old 5 Days Ago (8:30 PM). Edited 5 Days Ago by WolfPP.
    WolfPP's Avatar
    WolfPP WolfPP is online now
    Discord: Wolf#1235
       
      Join Date: Aug 2018
      Location: Brazil
      Gender: Male
      Nature: Jolly
      Posts: 424
      Read the message:
      "undefined local variable or method `battler' for #<PokeBattle_Battler:0xedaab00>
      PokeBattle_Battler:1099:in `pbAbilitiesOnSwitchIn"

      PokeBattle_Battler script do not recognize 'battler' to a code (line 1099). You need to check other abilities into the same script and see what they are write instead 'battler' and change your code to that.
      Reply With Quote
        #3   Link to this post, but load the entire thread.  
      Old 4 Days Ago (6:28 PM).
      clawort's Avatar
      clawort clawort is offline
         
        Join Date: Mar 2019
        Location: Australia
        Gender: Male
        Posts: 20
        Quote:
        Originally Posted by WolfPP View Post
        Read the message:
        "undefined local variable or method `battler' for #<PokeBattle_Battler:0xedaab00>
        PokeBattle_Battler:1099:in `pbAbilitiesOnSwitchIn"

        PokeBattle_Battler script do not recognize 'battler' to a code (line 1099). You need to check other abilities into the same script and see what they are write instead 'battler' and change your code to that.
        Thank you!!! :D
        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
        Ad Content
        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 6:45 AM.