• Our software update is now concluded. You will need to reset your password to log in. In order to do this, you will have to click "Log in" in the top right corner and then "Forgot your password?".
  • 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.

undefined method pbProcessTurn for PokeBattle_Battler

11
Posts
4
Years
    • Seen Oct 24, 2021
    Hello,

    I was adding the attacks and abilities to my essentials project,and while i was testing it in a pokemon battle, this appears:

    Excepción: NoMethodError
    Mensaje: undefined method `pbProcessTurn' for #<PokeBattle_Battler:0xc5c1ba0>
    PokeBattle_Battle:3103:in `pbAttackPhase'
    PokeBattle_Battle:3100:in `each'
    PokeBattle_Battle:3100:in `pbAttackPhase'
    PokeBattle_Battle:3088:in `times'
    PokeBattle_Battle:3088:in `pbAttackPhase'
    PokeBattle_Battle:2769:in `pbStartBattleCore'
    PokeBattle_Battle:2768:in `logonerr'
    PokeBattle_Battle:2768:in `pbStartBattleCore'
    PokeBattle_Battle:2754:in `loop'
    PokeBattle_Battle:2777:in `pbStartBattleCore'

    please help!
     

    WolfPP

    Spriter/ Pixel Artist
    1,309
    Posts
    5
    Years
  • Remove Punk Rock and test again. If the same error appears, remove the previous code than you added until that issue disappers.
     
    11
    Posts
    4
    Years
    • Seen Oct 24, 2021
    I do some test and the error keeps, anyway, i put here the conten of the lines, if someone know wats wrong pls say it.
    PokeBattle_Battle:3103: advance=i.pbProcessTurn(@choices[i.index])
    PokeBattle_Battle:3100: for i in priority
    PokeBattle_Battle:3088: 10.times do
    PokeBattle_Battle:2769: pbAttackPhase
    PokeBattle_Battle:2768: PBDebug.logonerr{
    PokeBattle_Battle:2754: loop do #Now begin the battle loop
    PokeBattle_Battle:2777: end
     

    WolfPP

    Spriter/ Pixel Artist
    1,309
    Posts
    5
    Years
  • I recommend you to add all stuffs again from a vanilla version or dig the code to find what move/ability/item makes that error.

    Good luck, anyway.
     
    Back
    Top