Undertale Yellow script viewer

← back to main script listing

gml_GlobalScript_scr_sme_yellow_rhythm_song_data_danza_test

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

function scr_sme_yellow_rhythm_song_data_danza_test() //gml_Script_scr_sme_yellow_rhythm_song_data_danza_test { can_end_script = true scr_audio_stop_sound(1) audio_play = mus_danza_attack_10_yellow audio_sound_gain(audio_play, 1, 0) audio_sound_pitch(audio_play, 1) audio_play_sound(audio_play, 20, false) note_1second = 30 note_speed_denominator = 30 note_speed = note_speed_numerator / note_speed_denominator note_current = 0 note_time = 0 note_add = 0 note_total = 18 note_final = false if (song_play_ct == 0) timeline = timeline_add() else if (!timeline_exists(timeline)) timeline = timeline_add() else timeline_clear(timeline) note_time = 1.3 * note_1second - note_speed_denominator note_sarray[0] = 0 note_parray[0] = 2 timeline_moment_add_script(timeline, note_time, gml_Script_scr_sme_yellow_rhythm_create_note) note_add = 0.4 * note_1second note_time += note_add note_sarray[1] = 0 note_parray[1] = 1 timeline_moment_add_script(timeline, note_time, gml_Script_scr_sme_yellow_rhythm_create_note) note_add = 0.4 * note_1second note_time += note_add note_sarray[2] = 0 note_parray[2] = 0 timeline_moment_add_script(timeline, note_time, gml_Script_scr_sme_yellow_rhythm_create_note) note_add = 0.4 * note_1second note_time += note_add note_sarray[3] = 0 note_parray[3] = 2 timeline_moment_add_script(timeline, note_time, gml_Script_scr_sme_yellow_rhythm_create_note) note_add = 0.4 * note_1second note_time += note_add note_sarray[4] = 0 note_parray[4] = 0 timeline_moment_add_script(timeline, note_time, gml_Script_scr_sme_yellow_rhythm_create_note) note_add = 0.4 * note_1second note_time += note_add note_sarray[5] = 0 note_parray[5] = 1 timeline_moment_add_script(timeline, note_time, gml_Script_scr_sme_yellow_rhythm_create_note) note_add = 1.3 * note_1second note_time += note_add note_sarray[6] = 0 note_parray[6] = 2 timeline_moment_add_script(timeline, note_time, gml_Script_scr_sme_yellow_rhythm_create_note) note_add = 0.3 * note_1second note_time += note_add note_sarray[7] = 0 note_parray[7] = 1 timeline_moment_add_script(timeline, note_time, gml_Script_scr_sme_yellow_rhythm_create_note) note_add = 0.3 * note_1second note_time += note_add note_sarray[8] = 0 note_parray[8] = 0 timeline_moment_add_script(timeline, note_time, gml_Script_scr_sme_yellow_rhythm_create_note) note_add = 0.3 * note_1second note_time += note_add note_sarray[9] = 0 note_parray[9] = 2 timeline_moment_add_script(timeline, note_time, gml_Script_scr_sme_yellow_rhythm_create_note) note_add = 0.3 * note_1second note_time += note_add note_sarray[10] = 0 note_parray[10] = 0 timeline_moment_add_script(timeline, note_time, gml_Script_scr_sme_yellow_rhythm_create_note) note_add = 0.3 * note_1second note_time += note_add note_sarray[11] = 0 note_parray[11] = 1 timeline_moment_add_script(timeline, note_time, gml_Script_scr_sme_yellow_rhythm_create_note) note_add = 1.3 * note_1second note_time += note_add note_sarray[12] = 0 note_parray[12] = 2 timeline_moment_add_script(timeline, note_time, gml_Script_scr_sme_yellow_rhythm_create_note) note_add = 0.2 * note_1second note_time += note_add note_sarray[13] = 0 note_parray[13] = 1 timeline_moment_add_script(timeline, note_time, gml_Script_scr_sme_yellow_rhythm_create_note) note_add = 0.2 * note_1second note_time += note_add note_sarray[14] = 0 note_parray[14] = 0 timeline_moment_add_script(timeline, note_time, gml_Script_scr_sme_yellow_rhythm_create_note) note_add = 0.2 * note_1second note_time += note_add note_sarray[15] = 0 note_parray[15] = 2 timeline_moment_add_script(timeline, note_time, gml_Script_scr_sme_yellow_rhythm_create_note) ...
() //gml_Script_scr_sme_yellow_rhythm_song_data_danza_test
2
{
3
    can_end_script = true
4
    scr_audio_stop_sound
scr_audio_stop_sound

function scr_audio_stop_sound(argument0) //gml_Script_scr_audio_stop_sound { audio_array_val = 0 sound_y[audio_array_val] = mus_apprehension_yellow audio_array_val += 1 sound_y[audio_array_val] = mus_dalvbattle_yellow audio_array_val += 1 sound_y[audio_array_val] = mus_dalvopening_yellow audio_array_val += 1 sound_y[audio_array_val] = mus_dalvbattle_yellow audio_array_val += 1 sound_y[audio_array_val] = mus_decibat_yellow audio_array_val += 1 sound_y[audio_array_val] = mus_dalvopening_yellow audio_array_val += 1 sound_y[audio_array_val] = mus_danza_attack_01_yellow audio_array_val += 1 sound_y[audio_array_val] = mus_danza_attack_02_yellow audio_array_val += 1 sound_y[audio_array_val] = mus_danza_attack_03_yellow audio_array_val += 1 sound_y[audio_array_val] = mus_danza_attack_04_yellow audio_array_val += 1 sound_y[audio_array_val] = mus_danza_attack_05_yellow audio_array_val += 1 sound_y[audio_array_val] = mus_danza_attack_06_yellow audio_array_val += 1 sound_y[audio_array_val] = mus_danza_attack_07_yellow audio_array_val += 1 sound_y[audio_array_val] = mus_danza_attack_08_yellow audio_array_val += 1 sound_y[audio_array_val] = mus_danza_attack_09_yellow audio_array_val += 1 sound_y[audio_array_val] = mus_danza_attack_10_yellow audio_array_val += 1 sound_y[audio_array_val] = mus_danza_attack_finale_yellow audio_array_val += 1 sound_y[audio_array_val] = mus_danza_battle_yellow audio_array_val += 1 sound_y[audio_array_val] = mus_floweynew_yellow audio_array_val += 1 sound_y[audio_array_val] = mus_funsized_yellow audio_array_val += 1 sound_y[audio_array_val] = mus_genobattle_yellow audio_array_val += 1 sound_y[audio_array_val] = mus_mart_geno_wind_yellow audio_array_val += 1 sound_y[audio_array_val] = mus_martletbattle_yellow audio_array_val += 1 sound_y[audio_array_val] = mus_nobodycame_yellow audio_array_val += 1 sound_y[audio_array_val] = mus_occupied_turf_yellow audio_array_val += 1 sound_y[audio_array_val] = mus_prebattle1_yellow audio_array_val += 1 sound_y[audio_array_val] = mus_prebattle2_yellow audio_array_val += 1 sound_y[audio_array_val] = mus_battle_snowdin audio_array_val += 1 sound_y[audio_array_val] = mus_trial_by_fury audio_array_val += 1 sound_y[audio_array_val] = mus_prebattle3_yellow audio_array_val += 1 sound_y[audio_array_val] = mus_heatwave_approaching for (i = 0; i < array_length_1d(sound_y); i += 1) { var audio_gain = audio_sound_get_gain(sound_y[i]) if (audio_gain <= argument0) audio_stop_sound(sound_y[i]) } }
(1)
5
    audio_play = mus_danza_attack_10_yellow
6
    audio_sound_gain(audio_play, 1, 0)
7
    audio_sound_pitch(audio_play, 1)
8
    audio_play_sound(audio_play, 20, false)
9
    note_1second = 30
10
    note_speed_denominator = 30
11
    note_speed = note_speed_numerator / note_speed_denominator
12
    note_current = 0
13
    note_time = 0
14
    note_add = 0
15
    note_total = 18
16
    note_final = false
17
    if (song_play_ct == 0)
18
        timeline = timeline_add()
19
    else if (!timeline_exists(timeline))
20
        timeline = timeline_add()
21
    else
22
        timeline_clear(timeline)
23
    note_time = 1.3 * note_1second - note_speed_denominator
24
    note_sarray[0] = 0
25
    note_parray[0] = 2
26
    timeline_moment_add_script(timeline, note_time, gml_Script_scr_sme_yellow_rhythm_create_note)
27
    note_add = 0.4 * note_1second
28
    note_time += note_add
29
    note_sarray[1] = 0
30
    note_parray[1] = 1
31
    timeline_moment_add_script(timeline, note_time, gml_Script_scr_sme_yellow_rhythm_create_note)
32
    note_add = 0.4 * note_1second
33
    note_time += note_add
34
    note_sarray[2] = 0
35
    note_parray[2] = 0
36
    timeline_moment_add_script(timeline, note_time, gml_Script_scr_sme_yellow_rhythm_create_note)
37
    note_add = 0.4 * note_1second
38
    note_time += note_add
39
    note_sarray[3] = 0
40
    note_parray[3] = 2
41
    timeline_moment_add_script(timeline, note_time, gml_Script_scr_sme_yellow_rhythm_create_note)
42
    note_add = 0.4 * note_1second
43
    note_time += note_add
44
    note_sarray[4] = 0
45
    note_parray[4] = 0
46
    timeline_moment_add_script(timeline, note_time, gml_Script_scr_sme_yellow_rhythm_create_note)
47
    note_add = 0.4 * note_1second
48
    note_time += note_add
49
    note_sarray[5] = 0
50
    note_parray[5] = 1
51
    timeline_moment_add_script(timeline, note_time, gml_Script_scr_sme_yellow_rhythm_create_note)
52
    note_add = 1.3 * note_1second
53
    note_time += note_add
54
    note_sarray[6] = 0
55
    note_parray[6] = 2
56
    timeline_moment_add_script(timeline, note_time, gml_Script_scr_sme_yellow_rhythm_create_note)
57
    note_add = 0.3 * note_1second
58
    note_time += note_add
59
    note_sarray[7] = 0
60
    note_parray[7] = 1
61
    timeline_moment_add_script(timeline, note_time, gml_Script_scr_sme_yellow_rhythm_create_note)
62
    note_add = 0.3 * note_1second
63
    note_time += note_add
64
    note_sarray[8] = 0
65
    note_parray[8] = 0
66
    timeline_moment_add_script(timeline, note_time, gml_Script_scr_sme_yellow_rhythm_create_note)
67
    note_add = 0.3 * note_1second
68
    note_time += note_add
69
    note_sarray[9] = 0
70
    note_parray[9] = 2
71
    timeline_moment_add_script(timeline, note_time, gml_Script_scr_sme_yellow_rhythm_create_note)
72
    note_add = 0.3 * note_1second
73
    note_time += note_add
74
    note_sarray[10] = 0
75
    note_parray[10] = 0
76
    timeline_moment_add_script(timeline, note_time, gml_Script_scr_sme_yellow_rhythm_create_note)
77
    note_add = 0.3 * note_1second
78
    note_time += note_add
79
    note_sarray[11] = 0
80
    note_parray[11] = 1
81
    timeline_moment_add_script(timeline, note_time, gml_Script_scr_sme_yellow_rhythm_create_note)
82
    note_add = 1.3 * note_1second
83
    note_time += note_add
84
    note_sarray[12] = 0
85
    note_parray[12] = 2
86
    timeline_moment_add_script(timeline, note_time, gml_Script_scr_sme_yellow_rhythm_create_note)
87
    note_add = 0.2 * note_1second
88
    note_time += note_add
89
    note_sarray[13] = 0
90
    note_parray[13] = 1
91
    timeline_moment_add_script(timeline, note_time, gml_Script_scr_sme_yellow_rhythm_create_note)
92
    note_add = 0.2 * note_1second
93
    note_time += note_add
94
    note_sarray[14] = 0
95
    note_parray[14] = 0
96
    timeline_moment_add_script(timeline, note_time, gml_Script_scr_sme_yellow_rhythm_create_note)
97
    note_add = 0.2 * note_1second
98
    note_time += note_add
99
    note_sarray[15] = 0
100
    note_parray[15] = 2
101
    timeline_moment_add_script(timeline, note_time, gml_Script_scr_sme_yellow_rhythm_create_note)
102
    note_add = 0.2 * note_1second
103
    note_time += note_add
104
    note_sarray[16] = 0
105
    note_parray[16] = 0
106
    timeline_moment_add_script(timeline, note_time, gml_Script_scr_sme_yellow_rhythm_create_note)
107
    note_add = 0.2 * note_1second
108
    note_time += note_add
109
    note_sarray[17] = 0
110
    note_parray[17] = 1
111
    timeline_moment_add_script(timeline, note_time, gml_Script_scr_sme_yellow_rhythm_create_note)
112
    timeline_index = timeline
113
    timeline_loop = false
114
    timeline_speed = 1
115
    timeline_position = 0
116
    timeline_running = true
117
    song_play_ct += 1
118
}