• 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!
  • Our weekly protagonist poll is now up! Vote for your favorite Conquest protagonist in the poll by clicking here.
  • 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✓] Pokemon Emerald Free Space

  • 58
    Posts
    15
    Years
    • Seen Jan 11, 2017
    I haven't dipped into scripting in over 5 years and I was wondering at which address i should start adding scripts in.

    I used Free Space Finder to find empty offsets and then used that offset to add a simple signpost.

    It would compile perfectly but then when i opened up the script again in advance map, it would give me random code.

    I'm using Pokemon Emerald and XSE for scripting.

    What are the offsets that I should start at for adding scripts?

    (I'm working on my little own emerald hack which will be based in kanto, I've already edited the intro to include prof oak and the fire red trainer sprite and now I've hit a wall with scripting)
     
    I haven't dipped into scripting in over 5 years and I was wondering at which address i should start adding scripts in.

    I used Free Space Finder to find empty offsets and then used that offset to add a simple signpost.

    It would compile perfectly but then when i opened up the script again in advance map, it would give me random code.

    I'm using Pokemon Emerald and XSE for scripting.

    What are the offsets that I should start at for adding scripts?

    (I'm working on my little own emerald hack which will be based in kanto, I've already edited the intro to include prof oak and the fire red trainer sprite and now I've hit a wall with scripting)

    Expand your ROM to 32mb first via:

    How to expand your rom to 32MB:
    Open your ROM in XSE 1.1.1 and go to Tools -- > Rom Resizer
    [PokeCommunity.com] Pokemon Emerald Free Space

    Now you're going to click Expand. I recommend the space be filled with 00 bytes. If you fill with FF bytes and you try to do scripts in the expanded space, it'll say that there isn't enough space and you'll have to include #freespacebyte 0xFF after each #dynamic 0x####### and then also music files use 0x00 bytes so it's just easier to have them as 0x00 bytes.
    [PokeCommunity.com] Pokemon Emerald Free Space

    And you're done! Your ROM is officially a 32MB ROM and you can now use the space between 0x1000000 - 0x1FFFFFF.

    Typically in XSE, if the space is taken up, it'll auto search for you and place it at free space with no problems. Here's an example:
    [PokeCommunity.com] Pokemon Emerald Free Space


    So you can just keep it as 0x1000000 at all times if you wanted is what I'm saying but if you want to play it safe for whatever reason, in order to find free bytes using extended ROM and freespacefinder you need to do the following in the program:
    [PokeCommunity.com] Pokemon Emerald Free Space
     
    Back
    Top