• 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!
  • It's time to vote for your favorite Pokémon Battle Revolution protagonist in our new weekly protagonist poll! Click here to cast your vote and let us know which PBR protagonist you like most.
  • 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] Expanding trainers in pokemon emerald

To preface this, I did expand the usable flags to 18FF before doing this, but, I'm just lost on how to assign trainer flags to the new flags I put in in place of what there currently is.

https://www.pokecommunity.com/threads/383237

While I've been looking at the thread linked above, I'm uncertain if the ASM is usable for Emerald, or even if it is, what I would need to change for the flags to be fully assigned to the new, expanded flags, as I have 1295 trainers instead of the 1000 trainers that the routine was built for.

If anyone is able to help, I'll be thankful. As things currently stand, most of the trainers past the base Emerald trainers simply reset.
 
Last edited:
An Update:

I finally understand that I misread what the purpose of that code SBird wrote was, however when attempting to apply it, it seems to not work. While the proper code DOES exist within Emerald, it simply ends up looping the battle rather than do it properly.

So, my question is, am I simply doing it wrong? I'm going to post the offsets that I found for it. Are they correct? Does this actually work with Emerald? Inside the parenthesis is the code that should be there normally, not edited.

B16C2 - 1st change (A0 21)
B127A - 2nd change (A0 22 D2 00)
B17A4 - 3rd change (A0 21)
B17BC - 4th change (A0 21)
B17D0 - 5th change (A0 21 C9 05)
 
Last edited:
Back
Top