• 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!
  • Dawn, Gloria, Juliana, or Summer - 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 script doesn't work.

  • 28
    Posts
    11
    Years
    • Seen Aug 15, 2016
    Hi all, first of all; I am dutch so my english isn't that good.

    Yesterday i installed AdvanceMap and XSE, so after a couple of hours i wanted to change the script (to edit the text of people).
    When i click at change event, it will open the code, when i edit it i can't click on save. (only on save as..) so, when its ready its just the old text and not the new edited one.

    I have tried the gears icon too, so i made my own code and clicked on the gears, copied the first one and pasted it at Script offset, but i can't click on the save event button?

    Any help? ty
     
    In XSE, "Save" only saves the script as an .rbc file on your PC, so use "Compile", the gears button. When you make your own script and paste the script offset on an event, just save normally on Advance Map, there's no "Save Event" button, there's only "Change Events" and that's for changing the amount of events in a map.

    Also, when you edit the text of existing scripts, make sure the text isn't longer than the one you're editing, I suggest simply making new scripts from scratch then.
     
    When first scripting, it's best to start from scratch.

    Copy this into XSE:

    #dynamic 0x740000

    #org @start
    msgbox @talk 0x2
    end

    #org @talk
    = NEW TEXT YAY


    I don't know if you've looked at tutorials before, but this is just a basic script.

    1. Copy into XSE
    2. Load your ROM into XSE
    3. Press the gear to compile
    4. Copy the 'start' offset
    5. Paste it into the person event offset box in A-Map
    6. Click Save in Advance Map (too left corner).

    Everything should then be done. From your post in unclear what 'save event' button you're looking for. Just use the normal save at the top.
     
    Ty guys, i will give it a shot.

    Edit: It still won't work, i will say what i am doing:

    - Open up XSE and open my rom (.gba file)
    - Paste the code into the file
    - Click on the gears button and copy the @start code
    - Paste it into a script offset of an event (but i don't see a save button, and when i click on open script another code opens; the old one)

    Any help?
     
    Last edited:
    But it still doesn't work :(

    When i click on the event to edit the offset, and i click on something else and then on the event again, the offset was just the old one...
    So the code what i am entering is going back, any help?
     
    But it still doesn't work :(

    When i click on the event to edit the offset, and i click on something else and then on the event again, the offset was just the old one...
    So the code what i am entering is going back, any help?
    That's weird...I can only think of one of two reasons for this.

    The first is that you're pasting over the entire offset, including the $ symbol. That needs to be in front of the offset or else A-Map will just revert back to the old offset.
     
    Back
    Top