• 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] Whenever I catch a Geodude in my game, this happens

  • 6
    Posts
    4
    Years
    • Seen Apr 21, 2023
    In my Pokemon game that I'm developing, I have new and old Pokemon. For the older Pokemon, like Geodude, they have different dex numbers and I changed things in the Pokemon.txt file. As far as I've seen, Geodude is the only Pokemon effected by this glitch. I'm not sure what's causing it.
    This is the error:
    ---------------------------
    Pokemon Shock v2
    ---------------------------
    [Pokémon Essentials version 17.2]

    Exception: RuntimeError

    Message: filename is nil

    SpriteWindow_sprites:30:in `initialize'

    Pokemon_Sprites:223:in `new'

    Pokemon_Sprites:223:in `pokemon='

    Pokemon_Sprites:209:in `initialize'

    TextEntry:942:in `new'

    TextEntry:942:in `pbStartScene'

    TextEntry:1546:in `pbStartScreen'

    TextEntry:1614:in `pbEnterText'

    TextEntry:1611:in `pbFadeOutIn'

    TextEntry:1611:in `pbEnterText'



    This exception was logged in

    C:\Users\skull\Saved Games\Pokemon Shock v2\errorlog.txt.

    Press Ctrl+C to copy this message to the clipboard.
    ---------------------------
    OK
    ---------------------------
    If someone could help me that I would be great. I adjusted their sprites and icons and it all seems right but maybe I'm missing something. Thanks!
     
    When does this happen, In battle or when you test start the game?
     
    Last edited:
    The error was that Geodude's icon was "icon31" instead of "icon031". Thank you guys for the help! It works now
     
    Back
    Top