View Single Post
  #21210    
Old May 7th, 2012 (3:08 PM).
redriders180's Avatar
redriders180 redriders180 is offline
Mastermind of Pokemon Glazed
     
    Join Date: Jun 2010
    Location: Path of Victory, Tunod
    Gender: Male
    Nature: Quirky
    Posts: 540
    Quote:
    Originally Posted by FrenziedChaos View Post
    Does anybody know how to delete scripts, as in turn them into free space?

    Or, does anyone know where the default scripts are located in Emerald so I can overwrite them with free space?
    Open up XSE, and compile a "script" (it isn't really a script, it's basically telling XSE to do something) and write either of the following:

    #erase [Starting Offset] [Range] or #eraserange [Starting Offset] [Ending Offset]. Use the first if you want to erase X number of bytes, starting at an offset. Use the second if you want to erase all bytes from one offset to another.

    Edit: #dynamic 0x800000 and #org aren't required. Just write #erase or #eraserange, the two parameters, and hit compile.
    __________________


    I think I'm done with ROM hacking. I'll still pop in and visit, though.