• 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!
  • Our weekly protagonist poll is now up! Vote for your favorite Conquest protagonist in the poll by clicking here.
  • 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 after deleting a non functional terrain tag

  • 60
    Posts
    14
    Years
    • Seen Jun 2, 2023
    so after I was done creating my new terrain tag (BeachGrass, which acts like regular grass but with a beach backdrop) I found out that it wasnt working as I wanted it to work. So I removed it from my game and every time I choose continue I get this error.
    ---------------------------
    Pokemon Essentials
    ---------------------------
    Exception: NameError

    Message: uninitialized constant Game_Map::PBTerrain

    Game_Map:363:in `terrain_tag'

    Game_Map:361:in `each'

    Game_Map:361:in `terrain_tag'

    Spriteset_Map:35:in `update'

    Spriteset_Map:11:in `initialize'

    Spriteset_Map:166:in `new'

    Spriteset_Map:166:in `_animationSprite_initialize'

    Spriteset_Map:162:in `each'

    Spriteset_Map:162:in `_animationSprite_initialize'

    AnimationSprite:45:in `shadow_initialize'



    This exception was logged in

    C:\Users\Bart\Saved Games/Pokemon Essentials/errorlog.txt.

    Press Ctrl+C to copy this message to the clipboard.
    ---------------------------
    OK
    ---------------------------

    and when I choose new game I see this:

    ---------------------------
    Pokemon Essentials
    ---------------------------
    Exception: NameError

    Message: uninitialized constant Game_Map::PBTerrain

    Game_Map:316:in `deepBush?'

    Game_Map:312:in `each'

    Game_Map:312:in `deepBush?'

    Game_Character:219:in `bush_depth'

    Sprite_Character:118:in `update_or'

    Tilemap_Perspective:429:in `shadow_update'

    DynamicShadows:178:in `update'

    Sprite_Character:39:in `perspectivetilemap_initialize'

    Tilemap_Perspective:423:in `shadow_initialize'

    DynamicShadows:151:in `initialize'



    This exception was logged in

    C:\Users\Bart\Saved Games/Pokemon Essentials/errorlog.txt.

    Press Ctrl+C to copy this message to the clipboard.
    ---------------------------
    OK
    ---------------------------

    I copied all of the original scripts from a fresh Pokemon Essentials 15 (the current version) but it keeps giving this message. How can I solve this?
     
    I dont think so, no... at least not deliberately. I'll try copying it from a fresh Essentials

    Well appearantly I did delete it... oops haha, thanks Maruno :)
     
    Last edited by a moderator:
    Back
    Top