• Our software update is now concluded. You will need to reset your password to log in. In order to do this, you will have to click "Log in" in the top right corner and then "Forgot your password?".
  • 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
13
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?
     

    Maruno

    Lead Dev of Pokémon Essentials
    5,286
    Posts
    16
    Years
    • Seen May 3, 2024
    Did you delete the script section that contains module PBTerrain?
     
    60
    Posts
    13
    Years
    • Seen Jun 2, 2023
    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