• 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!
  • 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.

[Error] '>' undefined method

mybusiness

Guest
  • 0
    Posts
    Hi. What's this?

    Code:
    ---------------------------
    Pokémon: Mission Impossible
    ---------------------------
    [Pokémon: Mission Impossible (pre-Alpha)]
    
    Exception: NoMethodError
    
    Message: undefined method `>' for nil:NilClass
    
    PokeBattle_Battle:887:in `pbCanChooseMove?'
    
    PokeBattle_Battle:812:in `pbCanShowFightMenu?'
    
    PokeBattle_Battle:2635:in `pbCommandPhase'
    
    PokeBattle_Battle:2632:in `loop'
    
    PokeBattle_Battle:2722:in `pbCommandPhase'
    
    PokeBattle_Battle:2621:in `each'
    
    PokeBattle_Battle:2621:in `pbCommandPhase'
    
    PokeBattle_Battle:2568:in `pbStartBattleCore'
    
    PokeBattle_Battle:2567:in `logonerr'
    
    PokeBattle_Battle:2567:in `pbStartBattleCore'
     ----------------------------------------------------------------------
    Code:
    ---------------------------
    Pokémon: Mission Impossible
    ---------------------------
    [Pokémon: Mission Impossible (pre-Alpha)]
    
    Exception: NoMethodError
    
    Message: undefined method `>' for nil:NilClass
    
    PokeBattle_Battle:3194:in `__clauses__pbEndOfRoundPhase'
    
    PokeBattle_Battle:3192:in `each'
    
    PokeBattle_Battle:3192:in `__clauses__pbEndOfRoundPhase'
    
    PokeBattle_Clauses:42:in `pbEndOfRoundPhase'
    
    PokeBattle_Battle:2576:in `pbStartBattleCore'
    
    PokeBattle_Battle:2575:in `logonerr'
    
    PokeBattle_Battle:2575:in `pbStartBattleCore'
    
    PokeBattle_Battle:2557:in `loop'
    
    PokeBattle_Battle:2580:in `pbStartBattleCore'
    
    PokeBattle_Battle:2380:in `pbStartBattle'
    ---------------------------

    I had done a lot of scripting (almost all gen 7), so, please don't suggest me to start again upon a clean base.
     
    Those are probably two separate errors. Look on lines 887 and 3194 of PokeBattle_Battle. There the code says "something > something-else". The "something" value is nil, but it should be a number.
     
    Back
    Top