yeslahrt Posted August 3, 2021 Share Posted August 3, 2021 Hello, I am trying to figure out the bug I keep encountering is stemming from. Exception: NameError Message: undefined local variable or method `nonmegaform' for #<PokeBattle_Battle:0x0000021fd04ee0e8> PokeBattle_AI:31675:in `block in pbShouldSwitch?' PokeBattle_AI:31660:in `each' PokeBattle_AI:31660:in `pbShouldSwitch?' PokeBattle_AI:35167:in `pbDefaultChooseEnemyCommand' PokeBattle_ActualScene:4270:in `pbChooseEnemyCommand' PokeBattle_Battle:5191:in `block in pbCommandPhase' PokeBattle_Battle:5166:in `each' PokeBattle_Battle:5166:in `pbCommandPhase' PokeBattle_Battle:5094:in `block (2 levels) in pbStartBattleCore' PBDebug:4:in `logonerr' I am currently trying to battle Narcissa. At first, the battle is normal and what seems at some random point in time, the error starts popping up and itt keeps happening any time her pokemon are suppose to attack. It does not crash the game, but her pokemon are unable to attack. This also happened when I went to battle Ren right before this. I am unsure of the causre. Link to comment Share on other sites More sharing options...
Recommended Posts