• 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.
  • Our friends from the Johto Times are hosting a favorite Pokémon poll - and we'd love for you to participate! Click here for information on how to vote for your favorites!
  • Cyndy, May, Hero (Conquest), or Wes - 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.

[Other] Changing which Pokemon roams in Emerald

C me

Creator of Pokemon League Of Legends
  • 681
    Posts
    11
    Years
    • Seen Apr 9, 2021
    Latios/Latias start roaming after you beat the Elite Four and you choose which one when your mum asks you what colour the Pokemon on tv was.

    That's this part in the script:
    Spoiler:


    Before and after that is text.

    What do these actually do? How can you change them to make a different Pokemon roam.

    Thanks
     
    Latios/Latias start roaming after you beat the Elite Four and you choose which one when your mum asks you what colour the Pokemon on tv was.

    That's this part in the script:
    Spoiler:


    Before and after that is text.

    What do these actually do? How can you change them to make a different Pokemon roam.

    Thanks

    Special 0x12B is given the result in 0x8004 via the multichoice - 0 for Latias, 1 for Latios.
    Thus you can manually change what is in var 0x8004 and then call the special to activate roaming for that Pokemon. The special generates the Pokemon's attributes, ensuring you always encounter the SAME Pokemon (not with different IVs or anything).

    Changing the Pokemon you actually encounter is not a simple byte change, as the indices for the Pokemon are controller by a routine - only the index for Latias is easily changeable.

    I did a quick ASM hack that you can try (untested)

    Using a hex editor, change the bytes...
    at 0x161BA0: 03 48 01 68 03 4A 89 18 04 4A 12 88
    at 0x161BB8: E2 75 03 02

    Then from a script
    Code:
    setvar 0x8005 INDEX_OF_ROAMING
    special 0x12B
     
    Last edited:
    Latios/Latias start roaming after you beat the Elite Four and you choose which one when your mum asks you what colour the Pokemon on tv was.

    That's this part in the script:
    Spoiler:


    Before and after that is text.

    What do these actually do? How can you change them to make a different Pokemon roam.

    Thanks

    Extremely late reply, but do you still happen to know how you accessed the script? I'm looking to remove the roaming Pokémon altogether, but I can't for the life of me figure out how to access the script. It's nowhere to be found when looking in AdvanceMap, at least where I've been looking.
     
    Back
    Top