Something went wrong. Try again.
A game I created in a few days based off a suggestion from Orteil's game generator using GameMaker Studio
Something went wrong. Try again.
1234567891011121314151617181920212223242526///save(file)var file = file_text_open_write(working_directory + "/save" + string(argument[0]));//Save file datavar savestr = "";savestr += dialog_var("PLAYERNAME") + "~" + string(StoryController.state[0]) + " " + string(StoryController.progress[0]) + " " + string(StoryController.state[1]) + " " + string(StoryController.state[2]) + " " + string(StoryController.state[3]) + " " + string(StoryController.state[4]) + " " + string(StoryController.state[5]) + " " + string(StoryController.state[6]);file_text_write_string(file, encrypt(savestr));file_text_writeln(file);file_text_write_string(file, ds_grid_write(InventoryController.inv));file_text_close(file);
ini_open(working_directory + "/game");//Update header dataini_write_real(string(argument[0]), 't', Controller.playTime);ini_write_real('game', 'sound', Controller.sound);ini_write_real('game', 'music', Controller.music);ini_write_real('game', 'speed', Controller.DIASPDmult);ini_write_string('game', 'controls', Controller.controls);ini_close();