• 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.
  • Our friends from the Johto Times are hosting a favorite Pokémon poll - and we'd love for you to participate! Click here for information on how to vote for your favorites!
  • Serena, Kris, Dawn, Red - which Pokémon protagonist is your favorite? Let us know by voting in our grand final favorite protagonist poll!
  • PokéCommunity supports the Stop Killing Games movement. If you're a resident of the UK or EU, consider signing one of the petitions to stop publishers from destroying games. 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.

[Error] Anyone know what this error means and how to fix it?

  • 83
    Posts
    6
    Years
    • She/It/Mew
    • Seen Feb 22, 2023
    I'm currently transferring my game from V18.1 to V20.1 and I came across this error. I'm unsure how to fix it.

    [Pokémon Essentials version 20.1]

    Exception: NoMethodError
    Message: undefined method `<=' for nil:NilClass

    Backtrace:
    381:Compiler_CompilePBS:1486:in `block (2 levels) in compile_trainers'
    381:Compiler_CompilePBS:1485:in `each'
    381:Compiler_CompilePBS:1485:in `block in compile_trainers'
    380:Compiler:242:in `block (2 levels) in pbCompilerEachPreppedLine'
    380:Compiler:234:in `each_line'
    380:Compiler:234:in `block in pbCompilerEachPreppedLine'
    380:Compiler:231:in `open'
    380:Compiler:231:in `pbCompilerEachPreppedLine'
    381:Compiler_CompilePBS:1439:in `compile_trainers'
    380:Compiler:774:in `compile_pbs_files'

    Help is very much appreciated!
     
    Did you ever figure it out? I'm having the same issue at this very moment.
     
    Back
    Top