Advertiser Content

Game error

Started by Venomous_Zero86 February 13th, 2017 8:28 AM
  • 5 replies


Pokemon Chosen Ones (Coming Soon)

Seen May 20th, 2019
Posted November 27th, 2018
114 posts
3.5 Years
hello am working on my game i havent put it up yet but every time i go to attck this messege comes up
now i can keep going with the battle but it still keeps coming up each time how do i fix this
Pokemon Chosen Ones
Exception: ArgumentError

Message: comparison of Fixnum with nil failed

PokeBattle_AI:4112:in `>='

PokeBattle_AI:4112:in `pbEnemyShouldWithdrawEx?'

PokeBattle_AI:4101:in `pbEnemyShouldWithdraw?'

PokeBattle_AI:4312:in `pbDefaultChooseEnemyCommand'

PokeBattle_Scene:2779:in `pbChooseEnemyCommand'

PokeBattle_Battle:2641:in `pbCommandPhase'

PokeBattle_Battle:2636:in `each'

PokeBattle_Battle:2636:in `pbCommandPhase'

PokeBattle_Battle:2583:in `pbStartBattleCore'

PokeBattle_Battle:2582:in `logonerr'

This exception was logged in

C:\Users\0646826\Saved Games/Pokemon Chosen Ones/errorlog.txt.

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


i'll lose my mind another thousand times

Age 20
Seen 2 Hours Ago
Posted 8 Hours Ago
6,629 posts
9.4 Years
uh, it looks like one of the variables you're trying to use in a comparison is undefined. try double checking that you spelled the variable name right, and if that's not the case, check the scope to make sure whatever function you're making can access it.
in general I'd recommend not playing with the Battle AI script unless you're pretty proficient in Ruby. It's easy to break stuff.
Pokémon Gnosis
Seen 4 Hours Ago
Posted 4 Hours Ago
57 posts
3.1 Years
Hi guys...

I have the same error, but just in the double battles... Just the firs Pokemon can attack, the error comes in over and over, and just the first Pokemon attack, not the second, not the enemies... Just the first :C

I'm using EBS

[Pokémon Essentials version 17.2]

Exception: ArgumentError

Message: comparison of Fixnum with nil failed

PokeBattle_AI:4182:in `>='

PokeBattle_AI:4182:in `pbEnemyShouldWithdrawEx?'

PokeBattle_AI:4147:in `pbEnemyShouldWithdraw?'

PokeBattle_AI:4358:in `pbDefaultChooseEnemyCommand'

PokeBattle_Scene:2786:in `pbChooseEnemyCommand'

PokeBattle_Battle:2660:in `pbCommandPhase_ebs'

PokeBattle_Battle:2655:in `each'

PokeBattle_Battle:2655:in `pbCommandPhase_ebs'

EliteBattle_0:294:in `pbCommandPhase'

EliteBattle_0:224:in `pbStartBattleCore'
Advertiser Content