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

    Lazy Catalyst

    What you do, the way you think, makes you differen
  • 91
    Posts
    6
    Years
    When does this happen, In battle or when you test start the game?
     
    Last edited:
  • 1,682
    Posts
    8
    Years
    • Seen May 29, 2024
    This error is in the name entry screen. You do have an icon for Geodude in your project with the corrected id, yeah?
     
  • 6
    Posts
    4
    Years
    • Seen Apr 21, 2023
    The error was that Geodude's icon was "icon31" instead of "icon031". Thank you guys for the help! It works now
     
    Back
    Top