gmc-jam-7/rooms/rm_start/RoomCreationCode.gml

15 lines
362 B
Plaintext
Executable File

if !file_exists("SB-saves.ini")
{
file = file_text_open_write("SB-saves.ini")
file_text_close(file)
ini_open("SB-saves.ini")
ini_write_real("data","scores",10000)
ini_close()
}
ini_open("SB-saves.ini")
global.hiscore = ini_read_real("data","scores",10000)
global.stage = 1
lives = 3
score = 0
global.boss = 0
global.talking = 0