Hey man, it's fine ^__^
So I'm assuming you mean in a script tile, correct?
As an example, let's make a script to make the player walk up (I will be using the EM codes, you're gonna have to change that to FR). I'm pretty sure you don't have to set the unknown to three. Okay so anyways, you should make a script like this:
#dynamic 0x800000
#org @start
lock
applymovement 0xFF @moveup
waitmovement 0x0
setvar 0x(your var) (a value that is NOT the same one as the one in the script tile)
release
end
#org @moveup
#raw 0x09
#raw 0xFE //That NEEDS to be there
Now, for example, I'll use var 0x4090 (you use whatever var is safe XD)
In a map, in the script tile, set the value to 0 and the var to 4090.
Now my script will be like this:
#dynamic 0x800000
#org @start
lock
applymovement 0xFF @moveup
waitmovement 0x0
setvar 0x4090 0x1
release
end
#org @moveup
#raw 0x09
#raw 0xFE