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

[ASM & Hex] Where is the asm for exp share battle logic located in pokemon emerald?

  • 35
    Posts
    9
    Years
    I'm want to change the logic related to the exp share, but I don't know where it is located as in the hex address. I'm asking cause I want to fix the exp share logic in pokemon theta emerald renev, to basically reset the exp share to gen 3 behavior, and then also add a key item to do gen 6 behavior. Speaking of the key item exp share, what do these circled parts mean?
    [PokeCommunity.com] Where is the asm for exp share battle logic located in pokemon emerald?

    Also might this https://www.pokecommunity.com/posts/10099957/ have something? I'm only asking cause it's for ruby, not emerald.

    P.s. this exp share thing for theta emerald renev is only going to be done on my personal copy of theta emerald unless I can get permission to upload a patch with the changes.
     
    I can actually help you with this! Someone pointed me in the direction of a Gen VI EXP Share that is flag toggle-able, here's the routine:
    Spoiler:

    And the instructions for customizing the flag number:
    Spoiler:

    Also an assembled routine with flag 200 and variable 0x8002 used:
    Spoiler:

    With this, if your chosen flag is set, the Exp Share will give exp to the whole party and if it is cleared, it will behave normally. Using a Key Item to set a flag is doable I think, though I am not well versed with item creation tbh. Hope this helps!!
     
    dearman I just used the assembled hex you provided and followed your instructions. When exp is gained the game reboots. when clearing flag 0x200, exp is gained as usual, so idk what i did wrong but i pasted the asm hex into offset E6E664, and put the pointer as , C0 46 00 4A 10 47 65 E6 E6 08 04 BC. Any help would be appreciated !
     
    Back
    Top