• 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!
  • 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.

[Error] NoMethod Error: Undefined Method 'zmove'

I implemented Marcello's 'ZMoveAddOn', and when entering a battle, I get this error:
Code:
---------------------------
Pokémon Universal
---------------------------
[Pokémon Essentials version 17.2]

Exception: NoMethodError

Message: undefined method `zmove' for nil:NilClass

PokeBattle_Battle:1067:in `pbPriority'

PokeBattle_Battle:1048:in `each'

PokeBattle_Battle:1048:in `pbPriority'

PokeBattle_Battle:2144:in `pbOnActiveAll'

PokeBattle_Battle:2648:in `pbStartBattleCore'

PokeBattle_Battle:2473:in `pbStartBattle'

PField_Battles:98:in `pbWildBattle'

PField_Battles:97:in `pbSceneStandby'

PField_Battles:99:in `pbWildBattle'

PField_Battles:96:in `pbBattleAnimation'
I didn't think I changed anything Z-Move related, though I added just the Gen 7 abilities.
I tested out a fresh project with just the Z-Move scripts in, and it worked fine.
Someone please help me? Thanks in advance.
 
I implemented Marcello's 'ZMoveAddOn', and when entering a battle, I get this error:

<ERROR>

I didn't think I changed anything Z-Move related, though I added just the Gen 7 abilities.
I tested out a fresh project with just the Z-Move scripts in, and it worked fine.
Someone please help me? Thanks in advance.

Hey. I also had a similar error to yours while adding Z-Moves. Make sure you have followed these steps:

1) Use Tea-Rex's Version of the Script if you are on Essentials 17.2 (It's lower in the thread)
2) Add the Z-Crystals (Both 1 and 2) to your items.txt
3) Don't use EBS along with the Z-Moves Script
4) Make sure not to edit anything in the Pokebattle_ZMoves Class in the script while adding Gen 7/8 unless you are 100% sure you know what exactly you are doing.
 
Hey. I also had a similar error to yours while adding Z-Moves. Make sure you have followed these steps:

1) Use Tea-Rex's Version of the Script if you are on Essentials 17.2 (It's lower in the thread)
2) Add the Z-Crystals (Both 1 and 2) to your items.txt
3) Don't use EBS along with the Z-Moves Script
4) Make sure not to edit anything in the Pokebattle_ZMoves Class in the script while adding Gen 7/8 unless you are 100% sure you know what exactly you are doing.

I used the updated version, but I now get this error when entering battle:
Code:
---------------------------
Pokémon Universal
---------------------------
[Pokémon Essentials version 17.2]

Exception: NameError

Message: undefined local variable or method `i' for #<PokeBattle_Battler:0xc8dcb70>

PokeBattle_Battler:3284:in `pbSuccessCheck'

PokeBattle_Battler:3680:in `pbProcessMoveAgainstTarget'

PokeBattle_Battler:3676:in `each'

PokeBattle_Battler:3676:in `pbProcessMoveAgainstTarget'

PokeBattle_Battler:4279:in `pbUseMove'

PokeBattle_Battler:4259:in `loop'

PokeBattle_Battler:4282:in `pbUseMove'

PokeBattle_Battler:4489:in `pbProcessTurn'

PokeBattle_Battler:4488:in `logonerr'

PokeBattle_Battler:4488:in `pbProcessTurn'
 
Back
Top