Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_dialogue_withered_floweys_Draw_0

(view raw script w/o annotations or w/e)
1
if live_call()
2
    return global.live_result;
3
draw_set_font(fnt_main)
4
draw_set_color(c_dkgray)
5
draw_set_halign(fa_left)
6
if (letter_array == -1)
7
    return;
8
for (var i = 1; i <= letter_current; i++)
9
{
10
    text_x_mod = random_range(-0.5, 0.5)
11
    text_y_mod = random_range(-0.5, 0.5)
12
    draw_set_alpha(draw_alpha * text_alpha[i])
13
    draw_text_ext((text_x[i] + text_x_mod), (text_y[i] + text_y_mod), string_hash_to_newline(letter_array[i]), 20, -1)
14
}
15
draw_set_alpha(1)