A few quick questions about scripting.
1. In XSE, from what I understand, the second I press compile I write it to my rom. That means, if I accidentally give it a wrong offset (and overwrite something else) I effectively mess up my rom. Is there a way to undo this or is the only solution reverting to a back-up? When you press compile, it writes the script to the offset you stated in your script. The only way to undo this is to use a backup of your ROM (Always remember to create backups!)
2. FSF automatically assumes that I need 256 bytes space when searching for a place to put my script. Is this a good number or would it be better to change it? (as in, is there any chance this won't be enough or might it be more space efficient to make it smaller?) 256 bytes is plenty bytes for your average script, unless you have an absolute all out enormous script. I would just keep it at around 500 bytes when scripting, Just to be absolutely safe.
3.If I at some point decide to make a script shorter and change it in XSE. Will XSE automatically free the bytes I'm no longer using in the script? If you shorten a script that you've already once compiled, you will need to rewrite the new version to a new location. The other solution is to open a hex editor and write "FF"s over the old script. From there you can compile your new shortened script to the same location.
Thanks for reading.