• 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!
  • Which Pokémon Masters protagonist do you like most? Let us know by casting a vote in our Masters favorite protagonist poll here!
  • Red, Hilda, Paxton, or Kellyn - which Pokémon protagonist is your favorite? Let us know by voting in our poll!
  • 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.

[ASM & Hex] [Emerald] Consumable items return after ingame battles?

Well, you can "save" your current team lineup using the special 0x28 script command. This saves everything about it, including their held items.
You can then load this saved team using the special 0x29 script command.

So if you use special 0x28 before the battle and special 0x29 right after the battle, everything in the team will be restored.

Note that it also restores everything else, like pokemon that were fainted/alive and their health values.

I've never actually tested this in Emerald, only in Fire Red (using it's other specials that do the same thing), so keep that in mind.

EDIT: Fixed the error, that was actually the solution for fire red.
 
Last edited:
Thanks a lot for your answer!

Everything restored means that the Pokémon won't earn experience?

Actually, now that I think about it, yeah, it probably also means that the levels get restored as well. That could be problematic in more general situations.
However, if not gaining experience is actually something you want to accomplish, then this is the reccomended method, at least in my opinion:
https://www.pokecommunity.com/showpost.php?p=8547363&postcount=399
 
I have to find another way.

Maybe creating a new special. I don't know how to do this but since special 0x29 saves all the team, maybe I could take this command, isolate just the part that saves the item and make a new special with it.
That sounds Jesus tier though.

The laaaaaast resort would just be to make berries easily available and buyable so that you never lack them and you can attach them to your mons at any moment.
 
Back
Top