• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Ever thought it'd be cool to have your art, writing, or challenge runs featured on PokéCommunity? Click here for info - we'd love to spotlight your work!
  • Our weekly protagonist poll is now up! Vote for your favorite Trading Card Game 2 protagonist in the poll by clicking here.
  • 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
    5
    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!
     
    Remove Punk Rock and test again. If the same error appears, remove the previous code than you added until that issue disappers.
     
    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
     
    Back
    Top