Undertale Yellow script viewer

← back to main script listing

gml_GlobalScript_scr_savegame_meta

(view raw script w/o annotations or w/e)
1
function scr_savegame_meta
scr_savegame_meta

function scr_savegame_meta() //gml_Script_scr_savegame_meta { if file_exists("Save02.sav") file_delete("Save02.sav") ini_open("Save02.sav") ini_write_real("00", "00", global.meta_flowey_introduction_count) ini_write_real("00", "01", global.meta_flowey_fight_count) ini_write_real("00", "02", global.game_finished_pacifist) ini_write_real("00", "03", global.game_finished_pacifist_kill) ini_write_real("00", "04", global.game_finished_murder) ini_write_real("Deaths", "00", global.death_count_total) ini_write_real("Deaths", "01", global.death_count[1]) ini_write_real("Deaths", "02", global.death_count[2]) ini_close() }
() //gml_Script_scr_savegame_meta
2
{
3
    if file_exists("Save02.sav")
4
        file_delete("Save02.sav")
5
    ini_open("Save02.sav")
6
    ini_write_real("00", "00", global.meta_flowey_introduction_count)
7
    ini_write_real("00", "01", global.meta_flowey_fight_count)
8
    ini_write_real("00", "02", global.game_finished_pacifist)
9
    ini_write_real("00", "03", global.game_finished_pacifist_kill)
10
    ini_write_real("00", "04", global.game_finished_murder)
11
    ini_write_real("Deaths", "00", global.death_count_total)
12
    ini_write_real("Deaths", "01", global.death_count[1])
13
    ini_write_real("Deaths", "02", global.death_count[2])
14
    ini_close()
15
}