Undertale Yellow script viewer

← back to main script listing

gml_GlobalScript_scr_determine_genocide_counter_total_snowdin_yellow

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

function scr_determine_genocide_counter_total_snowdin_yellow() //gml_Script_scr_determine_genocide_counter_total_snowdin_yellow { global.snowdin_genocide_counter_total = 0 var genocide_counter_array_max = array_length_1d(global.snowdin_genocide_counter) - 1 for (var i = 1; i <= genocide_counter_array_max; i += 1) global.snowdin_genocide_counter_total += global.snowdin_genocide_counter[i] }
() //gml_Script_scr_determine_genocide_counter_total_snowdin_yellow
2
{
3
    global.snowdin_genocide_counter_total = 0
4
    var genocide_counter_array_max = array_length_1d(global.snowdin_genocide_counter) - 1
5
    for (var i = 1; i <= genocide_counter_array_max; i += 1)
6
        global.snowdin_genocide_counter_total += global.snowdin_genocide_counter[i]
7
}