Undertale Yellow script viewer

← back to main script listing

gml_GlobalScript_scr_sme_yellow_rhythm_create_note

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

function scr_sme_yellow_rhythm_create_note() { note_sound = note_sarray[note_current]; note_pos = note_parray[note_current]; if (note_pos == 0) instance_create(dj_note_left_x, dj_note_y, obj_sme_yellow_rhythm_note); else if (note_pos == 1) instance_create(dj_note_center_x, dj_note_y, obj_sme_yellow_rhythm_note); else if (note_pos == 2) instance_create(dj_note_right_x, dj_note_y, obj_sme_yellow_rhythm_note); note_current += 1; if (note_current >= note_total) note_final = true; }
()
2
{
3
    note_sound = note_sarray[note_current];
4
    note_pos = note_parray[note_current];
5
    if (note_pos == 0)
6
        instance_create(dj_note_left_x, dj_note_y, obj_sme_yellow_rhythm_note);
7
    else if (note_pos == 1)
8
        instance_create(dj_note_center_x, dj_note_y, obj_sme_yellow_rhythm_note);
9
    else if (note_pos == 2)
10
        instance_create(dj_note_right_x, dj_note_y, obj_sme_yellow_rhythm_note);
11
    note_current += 1;
12
    if (note_current >= note_total)
13
        note_final = true;
14
}