Sword of Jade was made using the OHRRPGCE engine. The engine is released under the GPL version 2 license, so you can download the source code to the binaries here. You can use the the latest version of the engine to edit Sword of Jade, or use the included editjade program.
The engine supports a fully featured scripting language. The scripts for Sword of Jade are available in zip file format here.