Two problems with your theory...the first is that the scripts execute fine for me with those variables. The second is that variable 5000 DOES have a value of 1, since a level script sets it to that value.
...Or maybe you're assigning a variable that doesn't has the value you put. I think having var 5000 with value 1 is not gonna work, try finding one script in the game that is always executed and copy paste the var there to your script.
The problem everyone keeps having is that whatever emulator they use is completely ignoring the expanded scripts. I don't know why this is, though...I know for a fact NO$GBA can't handle the expanded file, but some people use VBA and still have the problem.
Hey man, sorry for not appearing much, but this week i can't, i've got an exam on algebra and evaluation at programming, so i'm to tell you that i didn't forget what you sent me, just wait till next monday, ok?