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

[Script] Pokemon emerald, tried changing dialogue in the pokemon catching tutorial and now the game soflocks

  • 4
    Posts
    3
    Years
    • Seen Nov 16, 2021
    i opened the script through the gym leader person event in the petalburg gym in advanced map
    and then i changed some of the text in the msg boxes and i hit compile
    and then when i booted up the game, wally just doesnt show up and the game wont let you out of petalburg.

    i did a backup save of the rom first so i can fix, but whats like the correct way to edit the text so that doesnt happen?
     
    @fat pepol

    Check a scripting tutorial like Avara's XSE Scripting Tutorials or Anthroyd's Gen III ROM Hacking Video Tutorials on Youtube. The part about dynamic offsets is what you should particularly look for.

    If you work like the way you described, chances are you will overwrite other data. You need to implement your changes in free space.
     
    ok, so i tried copying the entire script and then doing #dyn 0x800000 at the top, changing the name of the main script to @start, then changing the text in the msg boxes at the bottom and replacing the offset in advanced map with what i got when i compiled the new script, and i still got the same result.

    so i dont THINK overwriting other data is the issue?
     
    i went through the entire script and replaced every part of the script that was declared like this "#org 0xXXXXXXX" with something like "#org @1" or "#org @2" and so on, making sure i used a new @name every time i replaced another part of the script that was like that.

    and i still get the same issue unfortunately.
     
    the scripts are pretty long so im gonna upload them to a file sharing site, and not just post them here directly. https://ufile.io/f/g141k
    the only changes i did that wherent just switching a 0xXXXXX name for a @name, are some changes to a msg box i did at line 911 and 374

    thanks for being patient with me btw.
     
    Last edited:
    Back
    Top