• 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] undefined method `passages' for nil:NilClass

Byliyth

A Giant Mess
  • 13
    Posts
    6
    Years
    • Seen Jul 4, 2020
    I was starting up Essentials again, and all of a sudden I got this error message.

    Code:
    ---------------------------
    Pokemon Essentials
    ---------------------------
    [Pokémon Essentials version 17.2]
    
    Exception: NoMethodError
    
    Message: undefined method `passages' for nil:NilClass
    
    Compiler:3284:in `isCounterTile?'
    
    Compiler:3492:in `isLikelyCounter?'
    
    Compiler:3535:in `pbCheckCounters'
    
    Compiler:3533:in `each'
    
    Compiler:3533:in `pbCheckCounters'
    
    Compiler:3521:in `each'
    
    Compiler:3521:in `pbCheckCounters'
    
    Compiler:3420:in `pbCompileTrainerEvents'
    
    Compiler:3393:in `each'
    
    Compiler:3393:in `pbCompileTrainerEvents'
    
    
    
    This exception was logged in 
    
    C:\Users\***\Saved Games\Pokemon Essentials\errorlog.txt.
    
    Press Ctrl+C to copy this message to the clipboard.
    ---------------------------
    OK   
    ---------------------------

    Only scripts I installed are LukaUtilities, Elite Battle System, and the Modular Menu, all from the EPI. Any help would be appreciated.

    UPDATE: I replaces the scripts file with a fresh Essentials one and it still doesn't work?
     
    Last edited:
    You've drawn a map and then changed its tileset to a shorter one. The problem here is caused by the map using one or more tiles that are now off the end of the shorter tileset. Have fun trying to find it!
     
    Back
    Top