• 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.
  • There is an important update regarding account security and 2FA. Please click here for more information.
  • 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.
  • Imgur has blocked certain regions from viewing any images uploaded to their site. If you use Imgur, please consider replacing any image links/embeds you may have on PokéCommunity so everyone can see your images. Click here to learn more.

Opponent Pkmn not attacking, NoMethodError.

MrVokan

Developer of Pokémon FireRedux Overhaul
  • 13
    Posts
    11
    Years
    One of my testers recently reported an Trainer whoose Pokémon didn't attack.
    Tested it with Internal Flag enabled, got this.

    Anyone mind telling me what is wrong and where? I've got no idea what to make of it. :(

    Code:
    ---------------------------
    Pokemon Fire Redux
    ---------------------------
    Exception: NoMethodError
    
    Message: undefined method `>' for false:FalseClass
    
    PokeBattle_AI:1935:in `pbGetMoveScore'
    
    PokeBattle_AI:3625:in `pbChooseMoves'
    
    PokeBattle_AI:3623:in `each'
    
    PokeBattle_AI:3623:in `pbChooseMoves'
    
    PokeBattle_AI:4044:in `pbDefaultChooseEnemyCommand'
    
    PokeBattle_ActualScene:2686:in `pbChooseEnemyCommand'
    
    PokeBattle_Battle:2334:in `pbCommandPhase'
    
    PokeBattle_Battle:2329:in `each'
    
    PokeBattle_Battle:2329:in `pbCommandPhase'
    
    PokeBattle_Battle:2277:in `pbStartBattleCore'
    
    PokeBattle_Battle:2276:in `logonerr'
    
    PokeBattle_Battle:2276:in `pbStartBattleCore'
    
    PokeBattle_Battle:2266:in `loop'
    
    PokeBattle_Battle:2289:in `pbStartBattleCore'
    
    PokeBattle_Battle:2099:in `pbStartBattle'
    
    PokemonTrainers:428:in `pbTrainerBattle'
    
    PokemonTrainers:427:in `pbSceneStandby'
    
    PokemonTrainers:429:in `pbTrainerBattle'
    
    PokemonTrainers:426:in `pbBattleAnimation'
    
    PokemonTrainers:426:in `pbTrainerBattle'
    
    (eval):1:in `pbExecuteScript'
    
    Interpreter:788:in `eval'
    
    Interpreter:243:in `pbExecuteScript'
    
    Interpreter:788:in `command_111'
    
    Interpreter:320:in `execute_command'
     
    Could it be because of the PIDGEOTTO?

    Code:
    #-------------------
    RIVAL2
    RIVAL,4
    4
    PIDGEOTTO,19,,,,,,0,0
    TAUROS,20,,TACKLE,TAILWHIP,RAGE,HORNATTACK,0,0
    RATICATE,16,,FOCUSENERGY,BITE,PURSUIT,HYPERFANG,0,0
    KADABRA,18,,TELEPORT,KINESIS,CONFUSION,DISABLE,0,0
    #-------------------
     
    Back
    Top