No wait, 0 means register! #$%^ dammit. :mad:
Also, DarkDragon is much more knowledgeable about the ZScript compiler than I am.
Honestly, I usually half forget some of this stuff, so I just go in order of: 1) Declare constants and opcodes; update script tables; implement compiler procedure as needed; update bytecode in ffscript.cpp; and finally, implement function that gets called.
[edit]
Also, what compiler are you using that doesn't have a debugger?