Writing scripts to run your own galgame