• 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!
  • It's time to vote for your favorite Pokémon Battle Revolution protagonist in our new weekly protagonist poll! Click here to cast your vote and let us know which PBR protagonist you like most.
  • 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!
     
    If you go to where that error is occurring, you might be able to add a print statement to help you work out which tile (number, I guess?) is missing, and causing the error.
     
    Back
    Top