1 |
function scr_sme_yellow_rhythm_create_notescr_sme_yellow_rhythm_create_notefunction scr_sme_yellow_rhythm_create_note() //gml_Script_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
} () //gml_Script_scr_sme_yellow_rhythm_create_note |
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 |
} |