• 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.

[Other✓] Emerald Bag MAJOR problem

Cataclyptic

Everything I say is a lie
  • 198
    Posts
    10
    Years
    I have just encountered an extremely bad glitch in my hack. When you access the Bag's items while in battle mode, the game for some reason RESETS.

    Above all else, this makes catching pokemon a problem. Please, how do I fix this!?

    EDIT: This only works with the female bag. The male bag is fine. I'm going to try some experimenting, but please, help if you can.
    EDIT2: The female bag sprite is corrupted. However, when I went to unlZGBA to fix this and tried to import the normal sprite, it told me said sprite was too large and thus it could not be imported for some stupid reason. Then, when I told it to import it anyway, it corrupted a couple of proceeding sprites. I can't fix those either, or even go to them.
     
    Last edited:
    I really hope you have a backup. You shouldn't have told it to import anyway, as since the original image was larger (larger in data, not in sprite size) than the sprite you replaced it with, it overwrote the data for some of the next sprites which corrupts them as well. Was this how the female bag got corrupted, by any chance? If so, there's a quick fix.

    Since you can access the Female bag sprite without searching for offsets in NSE 2.X, I'd recommend using that over unLZ, as unLZ can be pretty tricky to work with sometimes. Instead of replacing the corrupt sprite and risking corrupting later sprites, replace and repoint your new bag sprite to free space, which NSE can do for you.

    Hope this helps!
     
    I really hope you have a backup. You shouldn't have told it to import anyway, as since the original image was larger (larger in data, not in sprite size) than the sprite you replaced it with, it overwrote the data for some of the next sprites which corrupts them as well. Was this how the female bag got corrupted, by any chance? If so, there's a quick fix.

    Since you can access the Female bag sprite without searching for offsets in NSE 2.X, I'd recommend using that over unLZ, as unLZ can be pretty tricky to work with sometimes. Instead of replacing the corrupt sprite and risking corrupting later sprites, replace and repoint your new bag sprite to free space, which NSE can do for you.

    Hope this helps!

    I do have a couple backups. What you are suggesting is what I have been trying to do for a copy using UNLZ, but as you said it can't do it. Now, I am not familiar with NSE, how can you search sprites and repoint them in that program? So far, I have only access to overworld sprites for person events.

    EDIT: Scratch that, I was using the old version. Okay, I have used NSE to insert the normal female bag image into the game (it shows up on the hex editor). Now, where are bag pointers normally located, so that I can repoint them? I can't seem to find that...
     
    Last edited:
    You're probably using the other NSE with just overworlds, I'm referring to the newer version, 2.X: https://www.pokecommunity.com/threads/253701

    Simply open your rom, hit navigate, and you'll find the female bag spritesheet in the BPEE dropdown to the right. Open the sprite, import your bag sprite twice using "Import sprite data" and "import color table". Both times, it will let you repoint the data. Just hit OK, since NSE safely repoints data for you.

    Good luck!
     
    You're probably using the other NSE with just overworlds, I'm referring to the newer version, 2.X: https://www.pokecommunity.com/threads/253701

    Simply open your rom, hit navigate, and you'll find the female bag spritesheet in the BPEE dropdown to the right. Open the sprite, import your bag sprite twice using "Import sprite data" and "import color table". Both times, it will let you repoint the data. Just hit OK, since NSE safely repoints data for you.

    Good luck!

    Yeah, I saw that. Forgot that I had a newer version of NSE in the resesses of my files. I'll look into that tomorrow, thank you for your help!
     
    You're probably using the other NSE with just overworlds, I'm referring to the newer version, 2.X: https://www.pokecommunity.com/threads/253701

    Simply open your rom, hit navigate, and you'll find the female bag spritesheet in the BPEE dropdown to the right. Open the sprite, import your bag sprite twice using "Import sprite data" and "import color table". Both times, it will let you repoint the data. Just hit OK, since NSE safely repoints data for you.

    Good luck!

    Okay, what you said appears to have worked. I can't find any problems with the hack now. Thank you very much!
     
    No problem dude. Good luck on finishing your hack!

    I was wondering if you could help me again... it didn't work. The only reason I thought it worked was because I did it to the wrong backup.

    The real backup now shows black screens every time either player character tries to access the bag. Additionally, when I try to import sprite data (or palatte data), it asks me to load a sprite or palette. When I do, as I have backups of both bag sprites, and then select to to save the image + palette, nothing happens. Nor does anything happen when I try to put them in seperately.

    Additionally, the palette of both bag sprites has been corrupted, if that helps anything. Clicking on Navigate for this backup results in the correct sprite but inverted colors. I have tried to fix this with test backups by inserting the correct palette at D9A560, where it should be. However it says that "32 bytes are too big for this offset, aborting" and then it stops. When I force it to do it anyway, it appears to change the palette to its right colors again. Still doesn't make the bag work, though.

    Please help if you can... or anyone for that matter, this debilitating glitch has officially ruined the entire hack.
     
    Last edited:
    Back
    Top