Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_dialogue_dark_Draw_64

(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_black)
5
draw_set_halign(fa_left)
6
if (letter_array == -1)
7
    return;
8
draw_set_alpha(draw_alpha)
9
for (var i = 1; i <= letter_current; i++)
10
{
11
    text_x_mod = random_range(-0.5, 0.5)
12
    text_y_mod = random_range(-0.5, 0.5)
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)