One thing that would be very wise to do in this branch, if @Gleeok did not already do it, is to make the ArrayH class (and the SH class in general) available globally. At present, they are all very much tied to ffscript.cpp, and there is no way of handling them externally. The way they are set up in the 2.50.x tree, is somewhat idiotic, and you can't call these functions from outside of ffscript.cpp. I will set this up if it isn't already done, but many values will need rearranging.
I would say that all the ffcscript vars and classes belong in ffscript.h, and that the ffscript functions should be moved into classes, or rather, into a new 'class ffscript'.