Advertiser Content

Error Z-Move Error

Started by DonutDoctor10 4 Weeks Ago 1:44 PM
  • 1 replies
Seen 10 Hours Ago
Posted 3 Days Ago
19 posts
90 Days
For some reason, whenever my opponent uses Breakneck Blitz, this error occurs.
Pokemon Essentials
[Pokémon Essentials version 17.2]

Exception: ArgumentError

Message: wrong number of arguments(1 for 0)

PokeBattle_Battler:2009:in `isContactMove?'

PokeBattle_Battler:2009:in `pbEffectsOnDealingDamage'

PokeBattle_Battler:3726:in `pbProcessMoveAgainstTarget'

PokeBattle_Battler:3637:in `each'

PokeBattle_Battler:3637:in `pbProcessMoveAgainstTarget'

PokeBattle_ZMoves:80:in `initialize'

PokeBattle_Battle:1838:in `new'

PokeBattle_Battle:1838:in `pbUseZMove'

PokeBattle_Battler:4427:in `pbProcessTurn'

PokeBattle_Battle:2963:in `pbAttackPhase'

This exception was logged in

C:\Users\Kids\Saved Games\Pokemon Essentials\errorlog.txt.

Press Ctrl+C to copy this message to the clipboard.

Does anyone know how to fix this? I really need help with this one.


Online now
Posted 2 Hours Ago
701 posts
5.5 Years
Message: wrong number of arguments(1 for 0)
PokeBattle_Battler:2009:in `isContactMove?'
On line 2009 of PokeBattle_Battler is a call to isContactMove? but it passes the wrong number of arguments—I can't remember if it's saying there should be 1 but are 0 or vice-versa, but it should be pretty obvious if you look at that line.

The bug is probably that isContactMove? is defined with a different number of parameters for Breakneck Blitz and all other moves, so I'd recommend Ctrl+Shift-F to search for "def isContactMove?" and compare the definitions.
Advertiser Content