• 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!
  • Dawn, Gloria, Juliana, or Summer - which Pokémon protagonist is your favorite? Let us know by voting in our poll!
  • 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.

Game error

Venomous_Zero86

Pokemon Chosen Ones (Coming Soon)
  • 120
    Posts
    9
    Years
    • Seen Feb 11, 2022
    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.
    ---------------------------
    OK
    ---------------------------
     
    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.
     
    wait what sorry am kinda new to this so i dont understand i mostly know how to add scripts change or inport txt into scripts but confused over all
     
    idk if have maybe for the sun and moon pack i got am adding in forms and moves but idk am not home right now so i can check later
     
    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'
     
    Back
    Top