Quote:
Originally Posted by Trev
If you want to add more commands to a script, you can use the #dynamic function for that. Simple replace the pointer of the script section you want to edit with @[whatevernameyouwant] and replace all reference pointers to that script with the same, and you can add as many commands as you want. When you compile, those scripts will be compiled into free space and nothing will overwrite. The original script will contain these new pointers and they'll operate in game as if they were a part of the original script.
|
I was worried about using free space because I think I read that you have to keep track of what you use for some reason. I'm not sure I understand your instructions though. Where do I put #dynamic
the original script looks like this in XSE
Quote:
'---------------
#org 0x165E26
applymovement 0x5 0x8165F71
waitmovement 0x0
applymovement MOVE_PLAYER 0x8165EB9
applymovement 0x5 0x8165FBF
waitmovement 0x0
return
|
would the edited one be this?
Quote:
'---------------
#dynamic 0x800000
#org @new
applymovement 0x5 0x8165F71
waitmovement 0x0
applymovement MOVE_PLAYER 0x8165EB9
applymovement 0x5 0x8165FBF
waitmovement 0x0
return
|