• Our software update is now concluded. You will need to reset your password to log in. In order to do this, you will have to click "Log in" in the top right corner and then "Forgot your password?".
  • 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.

Opponent Pkmn not attacking, NoMethodError.

MrVokan

Developer of Pokémon FireRedux Overhaul
  • 13
    Posts
    10
    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'
     

    FL

    Pokémon Island Creator
  • 2,455
    Posts
    13
    Years
    • Seen Jun 3, 2024
    What pokémon, what level, what moves?
     

    MrVokan

    Developer of Pokémon FireRedux Overhaul
  • 13
    Posts
    10
    Years
    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
    #-------------------
     

    FL

    Pokémon Island Creator
  • 2,455
    Posts
    13
    Years
    • Seen Jun 3, 2024
    Just test, but make sure that PIDGEOTTO have the moves that he learn at level 19.
     
    Back
    Top