• 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!
  • 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] Uninitialized Constant

  • 65
    Posts
    12
    Years
    • Seen Jan 4, 2022
    I have been attempting to make an item that will transport the player to one specific map and a specific point on that map using a key item. GT Baka has been guiding me in this development. He created a script for me that I have seen work in a recorded example in his own game. So I know it should work. But when I add the script to the game I get this error:

    Script 'Item_Effects' Line 24: NameError occured. Uninitialized constant UMBRARING.

    Now the item has been properly defined in PBS. The item shows up with its proper description and image.

    So by all means it should work just fine, and again it worked for GT Baka. I sent him over my game and it works for him. However, it won't for me. How do I fix this issue?
     
    Last edited:
    Back
    Top