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

[Tool] Strange XSE bug

  • 10
    Posts
    7
    Years
    When I try to edit a Trainer script, some of the text keeps being saved in a strange way. Script:

    Code:
    '---------------
    #org 0x160588
    trainerbattle 0x0 0x3 0x0 0x817234A 0x817237D
    msgbox 0x8172398 MSG_NORMAL '"I'll enjoy the view before turning..."
    end
    
    
    '---------
    ' Strings
    '---------
    #org 0x17234A
    = Let's battle!
    
    #org 0x17237D
    = Now I'll have to walk back!
    
    #org 0x172398
    = I'll enjoy the view before turning\nback to Ceria.

    However, whenever I compile / save / do the usual routine, it alters itself to

    Code:
    '---------------
    #org 0x160588
    trainerbattle 0x0 0x3 0x0 0x817234A 0x817237D
    msgbox 0x8172398 MSG_NORMAL '"I'll enjoy the view before turning..."
    end
    
    
    '---------
    ' Strings
    '---------
    #org 0x17234A
    = Let's battle!
    
    #org 0x17237D
    = Now I'll have to walk back!I'll enjoy the view before turning\nback to Ceria.
    
    #org 0x172398
    = I'll enjoy the view before turning\nback to Ceria.
    Note the change at #org 0x17237D. Also, every character after "back!" gets automatically replaced by the "I'll enjoy the view before turning\nback to Ceria." text. Does anyone know a fix to this issue?
     
    You need to make sure there 2 bytes between every message, try making the 17237D 1 or 2 characters shorter and it should work. You can also use #dynamic and repoint it
     
    Last edited:
    It's not a glitch. You're writing the script in a way that doesn't allow enough space. Always use #dynamic.
     
    Back
    Top