• 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.
  • Dawn, Gloria, Juliana, or Summer - which Pokémon protagonist is your favorite? Let us know by voting in our poll!
  • 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!
  • 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.

[Script✓] [Emerald] Back wih more problems

McPaul

On my way to become a controversial and hated memb
  • 289
    Posts
    7
    Years
    Hey yo!
    I created a script the same way I usually do, but when I compile it doen't get the way I want. Just watch:

    What I wrote and compiled:

    Spoiler:


    And what I get when I reopen my script:

    Spoiler:


    And I get this:

    [PokeCommunity.com] [Emerald] Back wih more problems


    Why's that happening? All those difficulties every time I want to do a single little thing is getting on my nerves.

    Thanks for your answer.
     
    Last edited:
    You mean the text?

    Well, you as far as I can see that is the exact text you wanted to import at #org 0x2909D6?
    Otherwise, you'll have to change the text at the string.

    Off topic: Binary romhacking is not going to be very easy, you'll encounter lots of stuff that will work on your nerves...
     
    From what I can see it's pretty much doing what you told it to, it just looks like you've either accidentally overwritten or deleted part of the text of that string. Don't worry, just make a new pointer to correct text and you'll be fine x
     
    Whenever you're editing a compiled script (one that's already in the ROM), its best to repoint everything that makes it up. You've used a dynamic pointer for the @main segment of your script, but all of the branches and text are still using static pointers. Static pointers don't care what's already there in the ROM, they just overwrite it, causing errors if your script isn't spaced out properly.

    Here's a version of your script with fully dynamic pointers. You will need to do this in the future as well.

    Spoiler:


    Just keep using dynamic pointers rather than static ones and you should be fine. For some reason, the script kept losing the contents of [buffer1] whenever I tried testing this so I moved the bufferitem command around and added a new one towards the end. I also repaired what I thought the @CantPushText string would be, because it was broken in both of your scripts.

    And yes, there is a lot of frustration in hacking, but that also goes for making a game in any medium :P
     
    Possibly, it depends on whether the scripts you edited became longer/ stayed the size or smaller. Hopefully there isn't too much that is overwritten, but I wouldn't be surprised if there are some errors. Any errors would probably only be confined to scripts rather than more complicated things like battles so at least they will be easy to fix.
     
    Back
    Top